No description
  • HTML 70%
  • Python 29.6%
  • Dockerfile 0.4%
Find a file
dantol30 25486920b5 Upload files to "listenlater/static"
v2.11

Gemini Prompt - *Great. The next thing I would like to add is the ability to generate AI summaries. This should be as a button  on the tile for each article/track wherever that tile is displayed and when clicked provides an AI summary of the article, that can also be listened to. The audio of the AI summary should be stored with the users data and exported as part of any audio backup. Please add the ability to integrate Gemini, Open AI and Ollama to the settings page for this purpose and these integrations should be tied to the user and not the service as a whole.


I acknowledge your request. I have seamlessly integrated the AI Summary feature into the application.

Here are the exciting new features included in this update:

1. **AI Provider Integrations:** You can now configure Google Gemini, OpenAI, or a self-hosted Ollama instance directly from the Settings page. This is tied securely to the user account.
2. **Summary Generation:** A magical 'Sparkles' button has been added next to your integrations on every processed article. Clicking this opens a modal that calls your selected AI provider and generates a concise summary paragraph.
3. **Summary TTS (Audio):** Once a text summary is generated, you can generate an audio version of it utilizing the same edge-tts voice you selected in settings.
4. **Backup Inclusion:** The summary text and its generated audio `.mp3` are automatically saved to your SQLite database and included in both the user ZIP exports and the full system database backups.

Below are the fully updated Python backend and HTML frontend files. Replace your existing `app.py` and `static/index.html` and restart your Portainer container to enjoy the AI integration!


*Thanks. The user and full system backups seem to work well, however, I would like to be able to restore the user and full system database with the audio files from the exported .zip file so that the system returns completely to the state when the backup was taken. Also can you add sort options (e.g. name, date added, played status) to the playlist screen anf then an option to sort within playlists as well as manual reorganiseastion via a hold and drag action. Please also add sorting options (e.g. name, date added, played status) to the history screen in addition to a search function. On the integrations section of the settings screen, please add the option to test the linkding, linkwarden and AI connections and I think the AI selection needs the option to choose a model. For choosing a model it would be good if this was via a dropdown menu from polling the AI service for available options, which I know is possible for Ollama, but I don't know if this is possible for Open AI and Gemini. Therefore, themodel selection field should also accept any text string in addition to choices from the dropdown. Finally, there is a bug that is stopping me from saving the integration settings. Can you identify what may be causing this please? 


I acknowledge your request!

I have identified the bug: in the previous iteration, the HTML block containing the AI integration settings was accidentally removed, causing the save function to throw a null reference error. I have reinstated it, alongside implementing all your fantastic new feature requests.

Here is a summary of the massive upgrades in this version:

1. **ZIP Restoration:** Both User and Admin restores now fully support the `.zip` files generated by backups, seamlessly unpacking the databases/JSONs and correctly moving the audio files back into the server's local storage.
2. **Search & Sort:** Added dynamic search bars and sort dropdowns (Name, Date Added, Played Status) to the History, Playlists, and Playlist Details views.
3. **Manual Playlist Reordering:** Inside a user playlist, you can now physically hold and drag tracks to reorder them natively in the browser. The new custom order is saved to the database.
4. **Integration Testing & Polling:** You now have a "Test Connection" button for Linkding, Linkwarden, and the AI providers. For AI, successfully testing the connection will automatically poll the provider (Ollama, OpenAI, or Gemini) and populate a dropdown list with the available models, while still allowing you to manually type a model name if desired.

Here are the fully updated Python backend and HTML frontend files. Replace your existing `app.py` and `static/index.html` and restart your Portainer container!
2026-05-28 13:39:32 +01:00
listenlater Upload files to "listenlater/static" 2026-05-28 13:39:32 +01:00
DeplomentGuide Update DeplomentGuide 2026-05-25 12:14:56 +01:00
README.md Update README.md 2026-05-25 12:08:50 +01:00

listenlater

-Vibecoding -Gemini -WebApp -ReadItLater

Gemini Chat - https://gemini.google.com/app/f326acdc171e07f1

Location: \OneDrive\Documents\Computing\AI\Vibe Coding\listen-later-webapp

WebApp to convert URLs to playlist manageable playlists.