See https://github.com/AgregoreWeb/markdown-blog for the authoratative version of this project
A minimal blogging platform using IPFS Protocol Handlers and Markdown
IN PROGRESS
- Use Custom Elements
- Save posts to IPNS domain using Agregore
- Use markdown renderer extension for viewing rendered content
- Markdown based
index.md
file for listing your "front page", auto-generated- Post stored in folders ordered by date, e.g.
/posts/YEAR/MONTH/YEAR-MONTH-DAY-HH-MM.md
- Take path for filename in the url
searchParams
- Use existing text editor?
- Alternately use
contenteditable: true
or a TextArea - Syntax highlighting?
- Buttons for formatting?
- Alternately use
- Save button
- Preview?
- File upload
- File input (limit file types?)
- Progress indicator for upload
- Uploads to
/media
folder - Injects a link to the file at the end of the document
- List of links to posts, with
🗑
icons for deleting them - Can click a post to open it in the editor (also have a view button?)
- "new post" (compose?) to open editor with a new filename
- List of posts sorted by most recently published
- Post shows:
- title (taken from first heading)
- date (taken from file name)
- first paragraph (cropped with a max-length)
- start agregore browser locally
- run
./push.sh
- go to ipns URL
- Edit files
- run
./push.sh
See site at IPNS address printed by push