3 Commits

Author SHA1 Message Date
primal
08edf0e493 Add Status field to Item model
Items now have a status field ('pass' or 'fail') to control whether they
can be published. Items marked 'fail' will be skipped during publishing
and have their existing posts deleted.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 15:46:18 -05:00
primal
705dc7a40f Rename package from shared to commons
All files now use `package commons` instead of `package shared` to match
the module name and directory.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 15:40:27 -05:00
primal
1ff14ee957 Initial commit: shared Go module for 1440.news services
Contains:
- db.go: Database connection wrapper with helper methods
- models.go: Domain, Feed, Item, ShortURL, Click structs
- util.go: URL normalization, TLD functions, search helpers
- handle.go: AT Protocol handle derivation from feed URLs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 11:19:04 -05:00