Skip to content

ktibr0/nyan_Ollama

 
 

Repository files navigation

НЯН

Tests Status https://t.me/nyannews License

изображение

НЯН (Nyan) is a news aggregator that scrapes news from different Telegram channels, clusters similar posts, and forms a united feed. All sources are split into several groups, so anyone can understand whether they can trust them.

Channel itself: NyanNews

Extensive description (in Russian): Whitepaper

Detailed instruction (in Russian): Как поднять свой НЯН

Install

Install git and pip

sudo apt-get install git python3-pip

Clone repo

git clone https://github.com/NyanNyanovich/nyan

Install Python requirements

pip3 install -r requirements.txt

Download models

bash download_models.sh

Install Docker and Docker Compose.

Provide Telegram API credentials to configs/client_config.json.

Run

Run Mongo container

docker-compose up

Run crawler

bash crawl.sh

Run server

bash send.sh

You can provide OPENAI_API_KEY environment variable to use LLM-related features.

About

Automatic news aggregator in Telegram / Автоматический агрегатор новостей в Телеграме для работы с ollama

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 96.5%
  • Shell 2.1%
  • Other 1.4%