larryhudson / astro-sqlite-tts-feed

astro-sqlite-tts-feed
5 stars 0 forks source link

Idea: allow bulk import of URLs #10

Open larryhudson opened 11 months ago

larryhudson commented 11 months ago

Because we've now added the ability to automatically infer the title and task type (eg. yt-dlp or text-to-speech) from the URL, it's now possible to add an option to 'bulk import' URLs.

We could add a textarea where you dump a bunch of URLs, separated by new lines, and then when you hit 'submit', it would split up the input and then import them. This would happen in another background task, rather than within the HTTP request, response cycle.

Doing this would help me clean up the code inside src/pages/articles/index.astro - it's getting pretty messy.