Giter Club home page Giter Club logo

headlinewise's Introduction

๐Ÿฆ‰ HeadlineWise

HeadlineWise is a media literacy training tool built with Next.js and Supabase. It retrieves headlines from the News API, and uses Anthropic's Claude AI and OpenAI for headline analysis.

Local Development

To start the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Note: You will need a .env.local in the root of the project to connect to Supabase, the News API, and AI tools, or to send requests to app API endpoints.

Deployment

Code merged to the main branch is automatically deployed to Vercal.

headlinewise's People

Contributors

chrissyhunt avatar

Stargazers

HeisenBerg? avatar

Watchers

 avatar

headlinewise's Issues

admin feature: iterate on system prompt through ui

  • system prompts are retrieved from supabase
  • system prompts can be reviewed, added, and activated via admin ui
  • temperature and other settings can be managed through admin ui
  • save actual model variant used (from response)

manage models through UI

  • update supabase to store returned model version, settings
  • build admin ui to manage active models, settings

Limit article storage

Strategy to keep article storage on free tier: delete every x days and/or limit request size?

feature: users can answer survey to compare to AI result

  • When users view article details, they answer brief questions before viewing AI analysis
  • How does this make you feel? (Angry, sad, hopeful, curious)
  • After responding/skipping, they can see AI analysis compared to survey response percentages

add About page content

  • Draft project history, goals, methodology, roadmap, links to more resources
  • Integrate via Notion or MDX
  • Add reporting on approved vs. rejected analyses by models (reach: maybe by news source, by topic?)

feature: admin auth + article approval

  • Admin can log in via Supabase auth
  • Admin can view all articles โ€” WON'T DO
  • Admin can "approve" AI-generated analysis of new articles
  • Public users can view only approved articles โ€” WON'T DO

Prevent duplicate articles

  • Use url as unique id for articles
  • Upsert articles when added
  • Add unique slug field for topics, use for app routing
  • Take top article per news source from get-news endpoint
  • Add logging to get-news

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.