Commit Graph

47 Commits

Author SHA1 Message Date
Tanner b476741b96 Don't locate css file on server 2025-12-04 19:49:19 +00:00
Tanner 30fde32b28 feat: Render homepage feed server-side
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:42:14 +00:00
Tanner 099d777faa feat: Add relative timestamps and permalinks to comments
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:35:43 +00:00
Tanner e463a6da53 feat: Link compiled CSS bundle for non-JS client
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:16:50 +00:00
Tanner fe0a4dedb4 feat: Add static rendering for article pages
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-12-04 18:01:00 +00:00
Tanner 00f4ee5565 Move static build directory to apiserver/ 2025-12-02 22:38:49 +00:00
Tanner d499cdedb0 Misc fixes 2025-12-01 21:07:01 +00:00
Tanner 9fa2699e26 fix: Improve submit error handling on API and refactor client with async/await
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 23:02:29 +00:00
Tanner ca6b5ce677 feat: Display detailed submission errors to user
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
2025-11-21 22:56:48 +00:00
Tanner 2c5147a64d Begin stats API route 2025-11-20 22:25:26 +00:00
Tanner c724838523 Add debug logging, debug add manual submissions to feed 2025-11-20 21:55:45 +00:00
Tanner 3db01c01f0 Move FEED_LENGTH to settings.py, use for search results 2022-07-04 19:08:24 +00:00
Tanner 26f03f883b Return search results directly from the server 2022-07-04 04:33:01 +00:00
Tanner c1aede8f1f Adjust title 2022-06-30 00:05:15 +00:00
Tanner d6cf56677b Add noindex meta tag to stories 2022-06-29 23:20:53 +00:00
Tanner e93230d518 Improve logging, sends tweets to nitter.net 2022-03-05 23:48:46 +00:00
Tanner e48846f4c3 Fix search to work with low-RAM server 2022-03-05 21:33:07 +00:00
Tanner bac043d298 Improve logging 2021-09-06 00:21:05 +00:00
Tanner cf5c1a3d44 Add optional skip and limit to API route 2021-01-18 03:59:33 +00:00
Tanner ce3b986e47 Add Lobsters to feed 2020-12-12 05:26:33 +00:00
Tanner 917e6c412f Improve logging 2020-11-02 00:13:43 +00:00
Tanner 864e6192db Monkeypatch earlier 2020-10-24 22:30:00 +00:00
Tanner 33ac9e63dd Adjust port 2020-08-14 03:57:18 +00:00
Tanner 5634cc812c Add more logging 2020-07-08 02:36:40 +00:00
Tanner 437b1e313b Add requests timeouts and temporary logging 2020-07-08 02:36:40 +00:00
Tanner 64ef3a2a18 Integrate with external MeiliSearch server 2020-07-08 02:36:40 +00:00
Tanner d69e054311 Integrate sqlite database with server 2020-07-08 02:36:40 +00:00
Tanner 8c1ddd4a43 Check if cache is broken 2020-07-08 02:36:40 +00:00
Tanner ee3df25c63 Remove keys of uncached stories 2020-01-28 04:20:05 +00:00
Tanner 957beea2a7 Stop using archive.is on articles (hits CAPTCHAs) 2019-12-15 22:47:33 +00:00
Tanner ad5da72578 Grab comments on manually submitted links 2019-12-02 23:15:51 +00:00
Tanner a9dbfa0a6f Decrease feed cache length to 150 2019-12-01 22:18:14 +00:00
Tanner f11d4ff20c Drop articles more than two days old 2019-11-08 21:50:33 +00:00
Tanner 6ca4a32030 Allow manual submission of articles 2019-11-08 05:55:30 +00:00
Tanner 5482af40e5 Move to gevent production http server 2019-11-08 02:37:57 +00:00
Tanner d6619f188c Handle hostnames better 2019-11-07 22:10:08 +00:00
Tanner 8f8a11954a Archive WSJ articles first, catch KeyboardInterrupt 2019-10-15 21:03:47 +00:00
Tanner c4281ca215 Stop using python keyword id for id 2019-10-15 20:36:20 +00:00
Tanner 6bd3bf1090 Cache all articles in IndexedDB 2019-10-12 23:41:31 +00:00
Tanner f798c06a9b Move archive to Whoosh and add search 2019-10-12 05:32:17 +00:00
Tanner 055439c6db Serve client through apiserver, adding meta info 2019-10-10 21:54:29 +00:00
Tanner 8a01d533da Ignore certain files and domains, remove refs 2019-09-24 08:22:06 +00:00
Tanner f1c89fcf8b Render reddit markdown, poll tildes better, add utils 2019-08-28 04:13:02 +00:00
Tanner 5ff27591a7 Add tildes to feeds 2019-08-25 00:36:26 +00:00
Tanner 8e73f746c3 Abstract api server feeds 2019-08-24 08:49:11 +00:00
Tanner 351b8a00ee Write news stories to disk 2019-08-24 05:07:16 +00:00
Tanner d039191232 Finish prototype api server 2019-08-23 08:23:48 +00:00