a minimal cli app for static blog
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
farah.sh
ss.png
symlink.sh

README.md

farah

فَرَح , "happiness, joy, gladness, gleefulness, joyful, joyfulness, merriment, rejoice."

Installation

  • Clone/fork this repository.
  • Add 'execute' permission to farah.sh and symlink.sh file. (chmod +x <file_name>)
  • Execute ./symlink.sh
  • Enjoy (if no issue)

Features

  • Create new draft (unfortunately with zero template, just blank for now)
  • Open existing post
  • List available posts
  • Unopinionated

Disclaimer

  • It works on my machine
  • It helps my workflow
  • Currently only solve my problem
  • Use it carefully in case you need this

Why Using shell-script-only not X?

  • Simple
  • Zero dependency
  • Just to simplify my current workflow

Notes

Currently I'm using it for my Gatsby-based blog. And I don't know how to create new post from cli via gatsby (like what hugo do). So, I create it.

Contributing

Contributions are always welcome. Add some features or fix some bug.

I only know few shell script, if you think my code are bad, pls help me make it better by sending a PR :)

Todos

  • Create src/pages/post-title/index.md option (currently only src/pages/post-title.md)
  • Add publish feature (git add <new post> && git commit -m 'whatever' && git push)
  • Add delete feature (git rm <existing_post>. Commit & push carefully and manually)

Screenshots

Screenshots