Skip to content

gogank/papillon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Papillon

Go Report Card GoDoc GitHub stars

A distributed static blog publish tool on IPFS

Prepare

install ipfs

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