Commit graph

76 commits

Author SHA1 Message Date
2da0b90b1b
feat: Limit Trump mentions based on previous titles
Some checks are pending
Create and publish a Docker image / build-and-push-image (push) Waiting to run
2025-07-22 05:50:42 +02:00
a8958c76fb
feat: Limit repository get_all to maximum entries
Can simply pass an int and will limit the sql to that amount.
2025-07-22 05:50:41 +02:00
434773025b
feat: Remove old articles from database
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
2025-06-19 18:41:54 +02:00
90a419eebe
fix: Correct datetime import library 2025-06-19 18:41:53 +02:00
b3542d2e1b
feat: Add github ci to publish docker container
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
2025-06-13 09:41:00 +02:00
9ec2f1d89a
feat: Add Dockerfile 2025-06-12 22:35:56 +02:00
836e7b565b
fix: Expose app by default 2025-06-12 22:35:56 +02:00
2514ad1296
fix: Make prompts try to adhere to original length, more lefty 2025-06-12 22:35:55 +02:00
63131b7f11
feat: Add single rewrite method to LLM models 2025-06-12 22:35:54 +02:00
333d825cb7
ref: Allow passing custom prompts to Groq methods
Rudimentary implementation currently. Would probably ultimately help to
have a 'prompt' domain model which can be used something like this:

Prompt(type=Prompt.SUGGESTIONS).leaning("left").current(2025).area("politics").view("American")

That way it would be easy to build your own prompt.
2025-06-12 22:35:54 +02:00
84ea46f142
feat: Order supa repo results reverse chronologically 2025-06-09 22:40:48 +02:00
3948b9060c
feat: Remove html tags from original summary 2025-06-09 22:40:47 +02:00
c490f99e96
ref: Move groq llm into infrastructure package 2025-06-09 22:40:47 +02:00
4ae093f367
ref: Turn LLM into domain model to be implemented by Groq 2025-06-09 22:40:46 +02:00
80bb27fd47
ref: Rename LLMClient to GroqClient 2025-06-09 22:40:46 +02:00
3762f0d265
ref: Split LLM suggestion finding and title rewriting 2025-06-09 22:40:45 +02:00
b487f01aae
ref: Substitute SupaRepo for PickleRepo
Implements database-based persistence
2025-06-09 22:40:45 +02:00
29748178ec
feat: Implement Supabase Improvement Repo 2025-06-09 22:40:44 +02:00
d8be52e2cf
feat: Allow user to pass supabase table as envvar 2025-06-09 22:40:44 +02:00
601b42acdc
fix: Catch correct exceptions to extract original image link 2025-06-09 22:40:43 +02:00
ac024989a6
fix: Each improvement receives a uuid from a factory 2025-06-09 22:40:42 +02:00
b80efc6d06
feat: Add supabase client skeleton 2025-06-09 22:40:42 +02:00
203aa79470
Switch to minified htmx 2025-06-09 22:40:41 +02:00
e5ab5dfc48
Enable toggling button to switch between originals/improvements 2025-06-09 22:40:41 +02:00
ba578b3c22
Add alpinejs dependency 2025-06-09 22:40:40 +02:00
881f77caff
Wire floating button to show article list versions 2025-06-09 22:40:40 +02:00
e17137260c
Extract floating button from main template 2025-06-09 22:40:39 +02:00
66311c36ae
Implement simple floating button 2025-06-09 22:40:39 +02:00
48c345c53a
Reset global css 2025-06-09 22:40:38 +02:00
17b602a1a5
Switch list endpoints to jinja templates 2025-06-09 22:40:37 +02:00
39cfa19ebf
Put future ideas in README 2025-06-09 22:40:37 +02:00
a447633d63
Switch html endpoint responses to Jinja templates 2025-06-09 22:40:36 +02:00
9666f104a2
Move HTML response to view package 2025-06-08 14:33:51 +02:00
c3b88979a8
Switch function of update and refresh functions 2025-06-08 14:33:51 +02:00
5edb413394
Add static files path 2025-06-08 14:33:50 +02:00
db3aaafac0
Extract html paths to view package 2025-06-06 14:53:22 +02:00
121e678c7d
Move pickle functions to PickleRepo 2025-06-06 14:53:22 +02:00
c216c2d0d7
Add Improvement Repository model 2025-06-06 14:53:21 +02:00
029a6ddb71
Move data classes into domain package 2025-06-06 14:53:21 +02:00
003eebfebf
Rename llm methods 2025-06-06 14:53:20 +02:00
c537b1e750
Extract data classes and llm class 2025-06-06 14:53:20 +02:00
f96b6413e2
Create Config dataclass for LLM options 2025-06-06 14:53:19 +02:00
3668cc3cbd
Migrate to newer Original version 2025-06-06 14:53:18 +02:00
7a1f9691b1
Add original images to all articles 2025-06-06 14:53:18 +02:00
742845a329
Extract images from summary in Original dataclasses 2025-06-06 14:53:17 +02:00
7a11e45d67
Add more involved LLM title generation prompts 2025-06-06 14:53:17 +02:00
a0f266529d
Extract article refresh period hardcoded value 2025-06-06 14:53:16 +02:00
8885e2d259
Rename article refreshing function
a) Is more of what is being done repeatedly, every hour.
b) Also implies more can be done (such as removing old articles) and not
_just_ an update.
2025-06-06 14:53:16 +02:00
98b00a3236
Switch to real hosted feed 2025-06-06 14:53:15 +02:00
8f53100d43
Add simple style 2025-06-06 14:53:14 +02:00