Gladnytt.net is a news website that uses sentiment analysis to filter out negative news articles. The articles are fetched from NRK's RSS feed every minute, and sentiment is determined by GPT-4o. The app is built with Go and htmx.
- Install Go
- Install Air (live reloading for Go)
- Install pnpm (used for Tailwind CSS and Prettier)
- Clone the repository
- Copy
.env.example
to.env
and add your OpenAI API key - Run
air
from the project root to start the app
The app will be available at http://localhost:3000 and will automatically reload when changes are made.