$ cat CHANGELOG.md
Changelog
All notable changes to bashscripts.sh.
[0.1.0] - 2026-06-13
First release. A fast, mobile-first site for sharing bash scripts.
Added
- Public site (statically generated, dark terminal-inspired theme, mobile-first):
- Home page with latest scripts and tutorials
- Scripts index with category filtering, and per-script detail pages with server-side syntax highlighting (Shiki)
- Copy-to-clipboard and protected
.shdownloads - Tutorials/articles section (markdown), About page, and a published changelog
- "Request a script" form
- Protected downloads — download links are minted on click as short-lived (5-minute) HMAC-signed tokens, so links shared off-site expire and redirect back to the script page; downloads are counted.
- Helpful votes — positive-only, deduplicated per visitor (salted IP hash); the vote is remembered locally.
- Moderated comments — visitors comment on scripts and posts; comments are held for admin approval before appearing. Honeypot + rate limiting guard the form.
- Admin dashboard (
/admin) — invisible (404) to non-allowlisted IPs and behind a session login:- Create/edit/delete scripts (with live category management) and posts
- Comment moderation queue and script-request inbox
- Download statistics with a 30-day chart
- SEO — sitemap and robots.txt.
- Operations — one-command
deploy.sh(local verification gate → SSH build → atomic swap → health check → release tag), pm2 config, and a server setup guide covering the nginx reverse proxy (including the requiredX-Forwarded-Forhandling), backups, and the admin IP allowlist. - Full unit/integration test suite (Vitest) and end-to-end smoke tests (Playwright).