Commit Graph

9 Commits

Author SHA1 Message Date
Christopher Williams 35a2cd0606 Refactor the sqlite database to only ever have one connection
- Only allow one sqlite connection by using a static sqlite connection
- Remove the Database() constructor from lua. Access the database from
  the global db object
2024-10-07 17:44:48 -04:00
Christopher Williams b81a3310e8 Add godot lua script 2024-09-26 19:46:31 -04:00
Christopher Williams 05ce7537b2 Add working implementation of multiple RSS feeds
- Add phoronix, 9to5mac and techcrunch scripts
- Add clap for basic argument parsing for disabling the scheduler
- Add clap argument for entering a cron string (the default value is
  wrong right now)
- Add `check_if_articles_in_feed_exist` that will return articles from
  the database that already exist
- Print out lua errors rather than just printing a generic error
2024-09-26 19:33:01 -04:00
Christopher Williams f22c2e443c Document techcrunch lua script 2024-09-22 12:42:41 -04:00
Christopher Williams c8686df817 Add initial feed parser for techcrunch
- Able to replace rss content with entire article
2024-09-22 12:34:14 -04:00
Christopher Williams a0190a6056 Support executing routes when the scheduled time arrives 2024-09-22 11:09:34 -04:00
Christopher Williams 94bb76c294 Replace http server with warp
- Add initial task scheduler to execute the lua scripts in the
  background
2024-09-22 00:06:42 -04:00
Christopher Williams 49c47ebfd7 Allow lua to be able to get and modify any field 2024-09-16 21:35:11 -04:00
Christopher Williams fc8dd690c1 Able to modify rss and html trees 2024-09-16 19:12:27 -04:00