Commit Graph

2 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 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