| Crates.io | supamarker |
| lib.rs | supamarker |
| version | 1.1.2 |
| created_at | 2025-12-10 16:39:49.503689+00 |
| updated_at | 2025-12-10 16:39:49.503689+00 |
| description | A simple CLI tool to upload and delete files to and from your Supabase project |
| homepage | https://github.com/rivethorn/supamarker |
| repository | https://github.com/rivethorn/supamarker |
| max_upload_size | |
| id | 1978389 |
| size | 80,441 |
A CLI tool for adding and removing Markdown files to and from a Supabase bucket. I use it for my blog site, you can use it for whatever.
Never publish your Service Role Key — it WILL grant unlimited power over your Supabase project to anyone who has it.
supamarker publish <path> # upload file + metadata
supamarker list # show slugs and where they are (bucket/table/both)
supamarker delete <slug> # delete file + row after confirmation
supamarker delete <slug> --soft # delete only DB row (keeps bucket file)
supamarker gen-config # write sample config to ~/.config/supamarker/config.toml
Place config.toml in the current directory, or ~/.config/supamarker/config.toml. Override the path with --config /path/to/config.toml.
Example config.toml:
supabase_url = "https://xxxxx.supabase.co"
supabase_service_key = "service_role_key"
bucket = "blog"
table = "posts"
Environment variables (SUPABASE_URL, SUPABASE_SERVICE_KEY, SUPABASE_BUCKET, SUPABASE_TABLE) are honored as a fallback if no config file is found.