https://github.com/gogank/papillon
A distributed blog publish system based on IPFS
https://github.com/gogank/papillon
distributed ipfs ipfs-protocol static-blog
Last synced: 9 months ago
JSON representation
A distributed blog publish system based on IPFS
- Host: GitHub
- URL: https://github.com/gogank/papillon
- Owner: gogank
- License: apache-2.0
- Created: 2017-10-21T01:36:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T07:02:48.000Z (over 8 years ago)
- Last Synced: 2025-01-14T12:00:28.916Z (over 1 year ago)
- Topics: distributed, ipfs, ipfs-protocol, static-blog
- Language: HTML
- Homepage:
- Size: 5.56 MB
- Stars: 24
- Watchers: 6
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Papillon
[](https://goreportcard.com/report/github.com/gogank/papillon)
[](https://godoc.org/github.com/gogank/papillon)
[]()
A distributed static blog publish tool on IPFS
## Prepare
[install ipfs](https://ipfs.io/docs/install/)
### start up ipfs node
**Note: alpha version need a local IPFS node**
```bash
# first run ipfs
ipfs init
# start ipfs daemon
ipfs daemon
```
## Alpha Test
**Note: Alpha version please use those command**
```bash
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
```bash
go get -u github.com/gogank/papillon
cd $GOPATH/src/github.com/gogank/papillon && go build -o $GOPATH/bin/papi
```
## init (todo)
```bash
cd blog_dir
papi init
```
## new post
```bash
papi new my_post_name
```
## genreate blog files
```bash
papi gen
```
## publish your blog onto IPFS
```bash
papi pub
```
> This is a project for [Go Hack 2017](http://gohack2017.golangfoundation.org/)