gogank / papillon

A distributed blog publish system based on IPFS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A distributed blog publish system based on IPFS

License:Apache License 2.0


Languages

Language:HTML 39.3%Language:Go 23.7%Language:CSS 20.3%Language:JavaScript 16.4%Language:Makefile 0.2%Language:Shell 0.2%