I built a simple app for adding images to my blog
Quick Deets
I built a simple fastAPI app called "shotput" that I run locally inside a git repo where I save images for my blog. The app is simple:
- upload image from clipboard
- app commits image to repo (path is configurable)
- app pushes the commit (auto-push configurable)
- app returns a markdown link I can paste in my blog that uses statically.io (see statically-io-to-help-me-out) to serve the image from the repo to my blog
See the image repo with app details at images.pype.dev
Usage
Anyone could copy the script and config to their own git repo to put images in
and run this at home - instructions are in the readme but it's just uv run
Example
pasting an image let's you copy the markdown link for easy pasting
