Files
pictest/README.md
T
2026-05-03 10:17:59 +01:00

27 lines
803 B
Markdown

# Pictest
Pictest is a Go + SQLite photo sharing site that uses server-rendered HTML, htmx, and plain JavaScript. It supports registration, login, authenticated uploads, a recent-first photo feed, photo detail modals, EXIF metadata capture, and comments.
## Stack
- Go 1.23+
- SQLite via `modernc.org/sqlite`
- Server-rendered HTML templates
- htmx for partial page updates
- Plain JavaScript for modal behavior
## Run
1. Install Go 1.23 or newer.
2. Run `go mod download`.
3. Start the app with `go run .`.
4. Open `http://localhost:8080`.
The app stores data in `./data/pictest.db` and uploaded photos in `./data/uploads`.
## Notes
- The first registered user can immediately start uploading photos.
- Photo comments are editable by their author.
- Photos can be deleted only by the uploader.