Coder Social home page Coder Social logo

elitan / nyheter.sh-old Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 2.0 1.2 MB

Sweden's first online AI newspaper. Banned by Sveriges Radio.

Home Page: https://nyheter.sh

Dockerfile 1.31% Shell 0.36% TypeScript 94.20% JavaScript 1.07% CSS 0.04% MDX 0.55% PLpgSQL 2.46%

nyheter.sh-old's Introduction

Nyheter.sh

Nyheter.sh is a fully automated online newspaper powered by AI.

I built Nyheter.sh because I wanted a project to try out all the new tools that have been available lately. Specifically, I wanted to have a project where I could try to do :

  • Audio to text
  • Text to text
  • Text to image
  • Text to audio

How it works

  1. Download new news audio clips from Sveriges Radio using svtplay-dl.
  2. Transcribe the audio (audio to text) using Whisper.cpp.
  3. Evaluate if the news is related to Sweden or not (text-to-text) using OpenAI ChatGPT 3.5
  4. Evaluate if the news article has a news value above 7 on a scale from 0-10. (text-to-text) using OpenAI ChatGPT 3.5
  5. Write a new unique news in English article based on the transcript (text-to-text) using OpenAI ChatGPT 4. The following is generated: Headline, body, category, image prompt, and social media hook.
  6. Translate the English article to 10 other languages using Google Translation API.
  7. Generate an image based on the image prompt (text-to-image) using OpenAI DALL·E 3.
  8. Generate audio based on the news article so it's possible to listen to the news article using OpenAI TTS.

Why is Nyheter.sh down?

I've received legal threats from Sveriges Radio. The website is down, but the code is available for anyone to understand how the website works.

nyheter.sh-old's People

Contributors

elitan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nyheter.sh-old's Issues

always on.

bash script that runs all three scripts. Probably wait 10 min or so inbetween rounds.

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.