Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 19 days 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T07:02:48.000Z (about 7 years ago)
- Last Synced: 2024-12-17T11:43:22.937Z (23 days 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
[![Go Report Card](https://goreportcard.com/badge/github.com/gogank/papillon?ver=0.1)](https://goreportcard.com/report/github.com/gogank/papillon)
[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg)](https://godoc.org/github.com/gogank/papillon)
[![GitHub stars](https://img.shields.io/github/stars/gogank/papillon.svg?style=social&label=Stars)]()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/papilloncd $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/)