papillon
papillon copied to clipboard
A distributed blog publish system based on IPFS
Papillon
A distributed static blog publish tool on IPFS
Prepare
start up ipfs node
Note: alpha version need a local IPFS node
# first run ipfs
ipfs init
# start ipfs daemon
ipfs daemon
Alpha Test
Note: Alpha version please use those command
go get -u github.com/gogank/papillon
cd $GOPATH/src/github.com/gogank/papillon
make
cd $GOPATH/src/github.com/gogank/papillon/build/blog
# generate new post
./papi new mypost
# edit it
vim $GOPATH/src/github.com/gogank/papillon/build/blog/source/posts/mypost.md
# generate whole website
./papi gen
# publish IPFS, and get your blog URL
./papi pub
install Papillon
Note: beta version command
go get -u github.com/gogank/papillon
cd $GOPATH/src/github.com/gogank/papillon && go build -o $GOPATH/bin/papi
init (todo)
cd blog_dir
papi init
new post
papi new my_post_name
genreate blog files
papi gen
publish your blog onto IPFS
papi pub
This is a project for Go Hack 2017