davemo88 / mynews

show AI can easily tailor news articles to suit a target audience

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proof of concept

show AI can easily tailor news articles to suit a target audience by modifying headlines with chat gpt via a browser extension

howto

  1. get an openai api key
  2. load the extension into chrome
  3. run the server from within server/:
    OPENAI_API_KEY=$OPENAI_API_KEY cargo run
  4. go to a supported news site and read some articles. watch the headlines get swapped out
  5. set a new audience in the extension popup UI
  6. goto 4

next features

  • entire articles instead of just headlines
    • foxnews
    • cnn ✅
    • politico ✅
  • modify target audience in the browser ✅
  • more websites besides politico ✅
  • set target audience from user behavior / 3rd party data
  • see if chatgpt can handle all the HTML parsing / text replacement

About

show AI can easily tailor news articles to suit a target audience


Languages

Language:Rust 56.8%Language:JavaScript 38.2%Language:HTML 5.0%