aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaiyed Shizain <saiyedshizain@gmail.com>2026-07-13 20:32:47 +0530
committerGitHub <noreply@github.com>2026-07-13 20:32:47 +0530
commitbcfb199ac8e5399e1a92cfbbc28af3674f80959d (patch)
treeec666d0f176955380816e7b38aabd9756b1e0b63
parentccd5a186594d9e9d174cca862953ab8355c1312f (diff)
parent771b0424e5eef22ebbbb9945e96166c516ed54fb (diff)
downloadgalleryd-e08b4773b40a5406dd5422d59eca3ca75f554d3a.tar.xz
galleryd-e08b4773b40a5406dd5422d59eca3ca75f554d3a.zip
Merge pull request #10 from RanXom/chore/documentationv0.1.0
Chore/documentation: Add documentation in the project's repo
-rw-r--r--CHANGELOG.md12
-rw-r--r--README.md85
-rw-r--r--ROADMAP.md9
3 files changed, 106 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..6823af2
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,12 @@
+# Changelog
+
+## v0.1.0
+
+### Added
+
+- Directory scanning
+- EXIF metadata extraction
+- Thumbnail generation and caching
+- HTTP API
+- CLI configuration
+- API tests
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..3f14ab6
--- /dev/null
+++ b/README.md
@@ -0,0 +1,85 @@
+<div align="center">
+
+# galleryd
+
+![Status](https://img.shields.io/badge/status-active-success)
+![Go](https://img.shields.io/badge/Go-1.24+-00ADD8?logo=go)
+![License](https://img.shields.io/badge/license-MIT-blue)
+
+A fast, lightweight photo gallery backend written in Go.
+
+galleryd scans one or more image directories, extracts EXIF metadata, generates cached WebP thumbnails, and exposes a simple HTTP API for powering web, desktop, or mobile gallery applications.
+
+</div>
+
+## Features
+
+- Scan multiple gallery directories
+- Extract EXIF metadata
+- Stable photo IDs
+- WebP thumbnail generation
+- Disk-backed thumbnail cache
+- In-memory gallery index
+- HTTP API
+- Configurable via command-line flags
+
+## Installation
+
+```bash
+git clone ...
+cd galleryd
+
+go build ./cmd/galleryd
+```
+
+## Usage
+
+```bash
+galleryd \
+ --dir ~/Pictures \
+ --dir ~/Phone \
+ --cache-dir ~/.cache/galleryd \
+ --addr :8082
+```
+
+## API
+
+| Method | Endpoint | Description |
+| ------ | ----------- | --------------- |
+| GET | /health | Health check |
+| GET | /api/photos | List all photos |
+| GET | /photo/{id} | Original image |
+| GET | /thumb/{id} | Thumbnail |
+
+## Architecture
+
+```
+Scanner
+
+↓
+
+Metadata Reader
+
+↓
+
+Gallery Builder
+
+↓
+
+Gallery Service
+
+↓
+
+HTTP API
+```
+
+## Roadmap
+
+- Gallery reload
+- Filesystem watching
+- Search
+- Frontend
+
+## License
+
+MIT
diff --git a/ROADMAP.md b/ROADMAP.md
new file mode 100644
index 0000000..13c6079
--- /dev/null
+++ b/ROADMAP.md
@@ -0,0 +1,9 @@
+# Roadmap
+
+## v0.2.0
+
+- Gallery reload
+- Filesystem watching
+- HTTP cache headers
+- Search and filtering
+- Web frontend