0.2.1 • Published 10 years ago

ipfs-blog v0.2.1

Weekly downloads
13
License
-
Repository
github
Last release
10 years ago

ipfs-blog

opinionated ipfs-powered blog

Background

Wouldn't it be nice to have a simple static HTML blog that you didn't need to worry about hosting?

Prerequisites

You'll need IPFS installed, at least 0.4.0.

Usage

$ npm install -g ipfs-blog

$ cd /tmp

$ cat > article.md
# Hello world!

This is my very first blog entry to the permanent web! Huzzah!
^D

$ ipfs-blog --title "My Permanent Blarg"
wrote article.md
https://ipfs.io/ipfs/QmR8kn6CQzBADU6BvHPnvnkpXKykkJVwjJVujPqZz3nWDj

npm.io

Note that you'll need a local IPFS daemon running in order to publish.

CLI

All markdown files (*.markdown, *.md) in the current directory will be published.

Each article will use its mtime (last modified time) as its publish date. You can use e.g. touch to fudge this to a custom time if you'd like: touch -d "Fri Sep 23 17:44:32 PDT 2016" article.md.

You can pass -t | --title with a string to specify the name of the blog.

Customization

All flavour text is hard-coded for now. PRs that better facilitate user customization (color scheme, etc) are very welcome!

License

ISC

0.2.1

10 years ago

0.2.0

10 years ago

0.1.0

10 years ago

0.0.2

10 years ago