├── .env.example ├── .gitignore ├── README.md ├── api ├── Dockerfile ├── app.js ├── package-lock.json └── package.json ├── bot ├── .vscode │ ├── launch.json │ └── settings.json ├── BotFather.txt ├── Dockerfile ├── package-lock.json ├── package.json ├── src │ ├── ctx.ts │ ├── db.ts │ ├── handlers │ │ ├── app.ts │ │ ├── export.ts │ │ ├── health.ts │ │ ├── help.ts │ │ ├── import.ts │ │ ├── index.ts │ │ ├── list.ts │ │ ├── resubscribe.ts │ │ ├── start.ts │ │ ├── subscribe.ts │ │ └── unsubscribe.ts │ ├── index.ts │ ├── middleware │ │ ├── logger.ts │ │ ├── owner_only.ts │ │ └── user_info.ts │ ├── sanitize.ts │ └── updater.ts └── tsconfig.json ├── cover.png ├── crawler ├── .vscode │ ├── launch.json │ └── settings.json ├── Dockerfile ├── dateparser.go ├── db.go ├── feed.go ├── fetchFeed.go ├── go.mod ├── go.sum └── main.go ├── delete_old_feed_items.sql ├── docker-compose.yml ├── schema.sql ├── scripts ├── create-tables.sh ├── export-schema.sh ├── load-backup.sh ├── make-backup.sh └── pg-shell.sh └── web ├── app.js ├── index.html ├── main.css └── robots.txt /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/README.md -------------------------------------------------------------------------------- /api/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/api/Dockerfile -------------------------------------------------------------------------------- /api/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/api/app.js -------------------------------------------------------------------------------- /api/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/api/package-lock.json -------------------------------------------------------------------------------- /api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/api/package.json -------------------------------------------------------------------------------- /bot/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/.vscode/launch.json -------------------------------------------------------------------------------- /bot/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "cSpell.enabled": false, 3 | "editor.tabSize": 2, 4 | } -------------------------------------------------------------------------------- /bot/BotFather.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/BotFather.txt -------------------------------------------------------------------------------- /bot/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/Dockerfile -------------------------------------------------------------------------------- /bot/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/package-lock.json -------------------------------------------------------------------------------- /bot/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/package.json -------------------------------------------------------------------------------- /bot/src/ctx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/ctx.ts -------------------------------------------------------------------------------- /bot/src/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/db.ts -------------------------------------------------------------------------------- /bot/src/handlers/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/app.ts -------------------------------------------------------------------------------- /bot/src/handlers/export.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/export.ts -------------------------------------------------------------------------------- /bot/src/handlers/health.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/health.ts -------------------------------------------------------------------------------- /bot/src/handlers/help.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/help.ts -------------------------------------------------------------------------------- /bot/src/handlers/import.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/import.ts -------------------------------------------------------------------------------- /bot/src/handlers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/index.ts -------------------------------------------------------------------------------- /bot/src/handlers/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/list.ts -------------------------------------------------------------------------------- /bot/src/handlers/resubscribe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/resubscribe.ts -------------------------------------------------------------------------------- /bot/src/handlers/start.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/start.ts -------------------------------------------------------------------------------- /bot/src/handlers/subscribe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/subscribe.ts -------------------------------------------------------------------------------- /bot/src/handlers/unsubscribe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/handlers/unsubscribe.ts -------------------------------------------------------------------------------- /bot/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/index.ts -------------------------------------------------------------------------------- /bot/src/middleware/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/middleware/logger.ts -------------------------------------------------------------------------------- /bot/src/middleware/owner_only.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/middleware/owner_only.ts -------------------------------------------------------------------------------- /bot/src/middleware/user_info.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/middleware/user_info.ts -------------------------------------------------------------------------------- /bot/src/sanitize.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/sanitize.ts -------------------------------------------------------------------------------- /bot/src/updater.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/src/updater.ts -------------------------------------------------------------------------------- /bot/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/bot/tsconfig.json -------------------------------------------------------------------------------- /cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/cover.png -------------------------------------------------------------------------------- /crawler/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/crawler/.vscode/launch.json -------------------------------------------------------------------------------- /crawler/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/crawler/.vscode/settings.json -------------------------------------------------------------------------------- /crawler/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/crawler/Dockerfile -------------------------------------------------------------------------------- /crawler/dateparser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/crawler/dateparser.go -------------------------------------------------------------------------------- /crawler/db.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/crawler/db.go -------------------------------------------------------------------------------- /crawler/feed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/crawler/feed.go -------------------------------------------------------------------------------- /crawler/fetchFeed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/crawler/fetchFeed.go -------------------------------------------------------------------------------- /crawler/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/crawler/go.mod -------------------------------------------------------------------------------- /crawler/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/crawler/go.sum -------------------------------------------------------------------------------- /crawler/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/crawler/main.go -------------------------------------------------------------------------------- /delete_old_feed_items.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/delete_old_feed_items.sql -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/schema.sql -------------------------------------------------------------------------------- /scripts/create-tables.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/scripts/create-tables.sh -------------------------------------------------------------------------------- /scripts/export-schema.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/scripts/export-schema.sh -------------------------------------------------------------------------------- /scripts/load-backup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/scripts/load-backup.sh -------------------------------------------------------------------------------- /scripts/make-backup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/scripts/make-backup.sh -------------------------------------------------------------------------------- /scripts/pg-shell.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/scripts/pg-shell.sh -------------------------------------------------------------------------------- /web/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/web/app.js -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/web/index.html -------------------------------------------------------------------------------- /web/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nikstar/greader/HEAD/web/main.css -------------------------------------------------------------------------------- /web/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: / 3 | --------------------------------------------------------------------------------