π A simple terminal-based tool to generate blog post markdown files and placeholder image assets.
- TUI (Text-based UI) input form
- Generates Jekyll-compatible markdown files with front matter
- Automatically creates associated image paths and placeholder image
- Fast and easy to use
newpostYou will be prompted to enter a title. A new markdown file will be created in the _posts directory, and a placeholder image will be generated based on the current date.
_posts/2025-07-05-my-title.md2025/07/05/ChatGPT_Image.webp
go install github.com/nzwsch/newpost@latestOr manually:
go build -o newpost
sudo install -m 755 newpost /usr/local/bin/sudo dpkg -i newpost_1.0.0.deb.
βββ newpost # Compiled binary
βββ _posts/ # Markdown output
βββ YYYY/MM/DD/ # Image output structure
To build a .deb package:
make package
sudo dpkg -i newpost_1.0.0_amd64.debThis project is licensed under the MIT License - see the LICENCE.md file for details.