Gist simplicity can turn blogging into a liberating experience.
| Pros | Cons |
|---|---|
| ✅ Free, simple, fast, hassle-free | ❌ Image upload in comments only |
| ✅ Tagging | ❌ No post pinning |
| ✅ Search | ❌ Doesn't look like a blog |
| ✅ Revisions | ❌ Unfriendly URLs |
| /* | |
| NOTE: This code assumes a bare git repo in ./bare-git/, | |
| which should have at least one text file in its root, | |
| named "greetings.txt". | |
| This code updates the contents of a "greetings.txt" | |
| file, and creates a new file called "greetings-XXX.txt" | |
| (with XXX being a random number). It then creates a new | |
| commit for these changes. Finally, it reads and dumps | |
| the new current contents of the repo, file by file. |