summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-02 15:29:34 -0500
committerChristian Cleberg <[email protected]>2026-08-02 15:29:34 -0500
commitcc8f57034cc7985e07422415d8d0bea4d6fc485c (patch)
treed029d187c96bcd8aad5ec628573b38e3fdcdd8d3 /README.md
parenta98c2a4542e19ce4fb632bc32fc47c18273161cc (diff)
downloadmichelangelo-cc8f57034cc7985e07422415d8d0bea4d6fc485c.tar.gz
michelangelo-cc8f57034cc7985e07422415d8d0bea4d6fc485c.tar.bz2
michelangelo-cc8f57034cc7985e07422415d8d0bea4d6fc485c.zip
convert readme to nfo; relicense to 0bsdHEADmain
Diffstat (limited to 'README.md')
-rw-r--r--README.md57
1 files changed, 0 insertions, 57 deletions
diff --git a/README.md b/README.md
deleted file mode 100644
index fe87f37..0000000
--- a/README.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# Michelangelo
-
-A self-hosted Tumblr media client written in Go. Shows photos and videos from your dashboard in a true masonry grid. No ads, no tracking, no npm.
-
-## Features
-
-- True CSS masonry grid (variable-height, packed tight)
-- Infinite scroll via IntersectionObserver
-- Browse individual blogs in grid view (`/blog/<name>`)
-- Tag search (`/search?q=<tag>`)
-- Like and reblog from the lightbox
-- Dark/light mode via `@media (prefers-color-scheme)`
-- Zero external runtime dependencies (Go stdlib only)
-
-## Setup
-
-### 1. Create a Tumblr app
-
-Go to https://www.tumblr.com/oauth/apps and create an app.
-Set the callback URL to `http://localhost:8080/auth/callback` (or your domain).
-
-### 2. Configure environment
-
-```sh
-export CONSUMER_KEY="your-consumer-key"
-export CONSUMER_SECRET="your-consumer-secret"
-export PORT=8080 # optional, defaults to 8080
-```
-
-Or use a `.env` file with a tool like `direnv`.
-
-### 3. Build and run
-
-```sh
-go build -o michelangelo .
-./michelangelo
-```
-
-Then open http://localhost:8080 — you'll be redirected to Tumblr to authorize.
-
-## Structure
-
-```
-main.go — HTTP router, OAuth flow, API proxy handlers
-tumblr.go — Tumblr API client (OAuth 1.0a, no external deps)
-templates/
- layout.html — Single HTML shell
-static/
- app.css — Masonry grid, dark/light modes
- app.js — Infinite scroll, lightbox, like/reblog
-```
-
-## Notes
-
-- OAuth tokens are stored in cookies. Clear them or hit `/logout` to re-authenticate.
-- The like/reblog endpoints use the Tumblr v1 API; reblogging posts to your own blog requires your blog name to be detected correctly on first auth.
-- Tag search uses the `/tagged` endpoint which returns one batch (no pagination).