tsukinoinaba / MochiFeed

A local YouTube subscription feed on the CLI!
GNU General Public License v3.0
0 stars 0 forks source link

Store data in SQLite (or other database) #20

Open tsukinoinaba opened 1 month ago

tsukinoinaba commented 1 month ago

At the cost of adding a dependency for SQLite, this helps to tidy up the files used by MochiFeed, as it will have only one database file to manage instead of multiple text files. Data will be more organised, as a row in the database can store a channel's tag, RSS feed URL, the latest video seen etc., which reduces the dependency on a channel's position in multiple text files (which could be easily broken by user modification).