Skip to content

News website that uses sentiment analysis to filter out negative articles. Built with Go and htmx.

Notifications You must be signed in to change notification settings

mikkelsvartveit/gladnytt

Repository files navigation

Gladnytt.net

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.

Screenshot

Running locally

  1. Install Go
  2. Install Air (live reloading for Go)
  3. Install pnpm (used for Tailwind CSS and Prettier)
  4. Clone the repository
  5. Copy .env.example to .env and add your OpenAI API key
  6. 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.

About

News website that uses sentiment analysis to filter out negative articles. Built with Go and htmx.

Resources

Stars

Watchers

Forks