- Introduction
ShortNews is created for busy people. Add your rss of choice and you can read/listen to the summary of news article.
- Dependencies:
- Ollama installed required.
- PiperTTS and gemma:2b llm model will be installed using installation script.
- Features:
- Crawl news from RSS source.
- Use Ollama to create a summary.
- Create audio using PiperTTS with summarized text.
- Store summary and audio in sqlite database.
- Add/Delete news source of choice.
- View full article, listen to audio
- Short news with autoplay.
- Language support:
- Currently English, Vietnamese.
- Installation:
-
Install Ollama then:
-
Linux: run install.sh script. When finished, just run short_news.bin
-
Windows: run install.bat script. When finished, just run short_news.exe
-
A browser will be open with http://localhost:8000 for the app
-
-
Warning: short_news currently will reserve port 8000 (may fix in the future). Please check for system requirements of gemma:2b model before install, we are using q4_0 version.
- Tech-stack:
- Backend Api is build using net/http std lib in golang, using gofeed library for crawling rss feeds, goquery for crawling article data and go-sqlite3 to for sqlite database.
- Front-end in Svelte and built as a single page app.
- Langchain + Ollama for calling gemma:2b model
- Using PiperTTS binary and cli execution to get audio.