add about file to ipfs on init
Jeromy committed
Feb 20, 2015 at 03:31 UTC
080c0de9afc72c81be6d88f8d8dcbf50194430d3
2 files changed
+58
assets/about.go
new
+56
@@ -0,0 +1,56 @@
1
+package assets
2
+
3
+var Init_doc_about = `
4
+ IPFS -- Inter-Planetary File system
5
+
6
+IPFS is a global, versioned, peer-to-peer filesystem. It combines good ideas
7
+from Git, BitTorrent, Kademlia, SFS, and the Web. It is like a single bit-
8
+torrent swarm, exchanging git objects. IPFS provides an interface as simple
9
+as the HTTP web, but with permanence built in. You can also mount the world
10
+at /ipfs.
11
+
12
+IPFS is a protocol:
13
+- defines a content-addressed file system
14
+- coordinates content delivery
15
+- combines Kademlia + BitTorrent + Git
16
+
17
+IPFS is a filesystem:
18
+- has directories and files
19
+- mountable filesystem (via FUSE)
20
+
21
+IPFS is a web:
22
+- can be used to view documents like the web
23
+- files accessible via HTTP at 'http://ipfs.io/<path>'
24
+- browsers or extensions can learn to use 'ipfs://' directly
25
+- hash-addressed content guarantees authenticity
26
+
27
+IPFS is modular:
28
+- connection layer over any network protocol
29
+- routing layer
30
+- uses a routing layer DHT (kademlia/coral)
31
+- uses a path-based naming service
32
+- uses bittorrent-inspired block exchange
33
+
34
+IPFS uses crypto:
35
+- cryptographic-hash content addressing
36
+- block-level deduplication
37
+- file integrity + versioning
38
+- filesystem-level encryption + signing support
39
+
40
+IPFS is p2p:
41
+- worldwide peer-to-peer file transfers
42
+- completely decentralized architecture
43
+- **no** central point of failure
44
+
45
+IPFS is a cdn:
46
+- add a file to the filesystem locally, and it's now available to the world
47
+- caching-friendly (content-hash naming)
48
+- bittorrent-based bandwidth distribution
49
+
50
+IPFS has a name service:
51
+- IPNS, an SFS inspired name system
52
+- global namespace based on PKI
53
+- serves to build trust chains
54
+- compatible with other NSes
55
+- can map DNS, .onion, .bit, etc to IPNS
56
+`
assets/assets.go
+2
@@ -1,3 +1,4 @@
1
+//go:generate doc2go -in=init-doc/about -out=about.go -package=assets
2
//go:generate doc2go -in=init-doc/readme -out=readme.go -package=assets
3
//go:generate doc2go -in=init-doc/help -out=help.go -package=assets
4
//go:generate doc2go -in=init-doc/contact -out=contact.go -package=assets
@@ -6,6 +7,7 @@
7
package assets
8
9
var Init_dir = map[string]string{
10
+ "about": Init_doc_about,
11
"readme": Init_doc_readme,
12
"help": Init_doc_help,
13
"contact": Init_doc_contact,