Giter Site home page Giter Site logo

zhangqib / rss-gpt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yinan-c/rss-gpt

0.0 0.0 0.0 685.51 MB

Using ChatGPT to summarize your personalized RSS feeds

Home Page: https://yinan.me/rss-gpt-manual-en.html

License: MIT License

Python 82.39% HTML 17.61%

rss-gpt's Introduction

RSS-GPT

What is this?

Configuration Guide | 中文简介 | 中文教程

Using GitHub Actions to run a simple Python script repeatedly: Calling OpenAI API to generate summaries for RSS feeds, and push the generated feeds to GitHub Pages. Easy to configure, no server needed.

Features

  • Use ChatGPT to summarize RSS feeds, and attach summaries to the original articles, support custom summary length and target language.
  • Aggregate multiple RSS feeds into one, remove duplicate articles, subscribe with a single address.
  • Add filters to your own personalized RSS feeds.
  • Host your own RSS feeds on GitHub repo and GitHub Pages.

Quick configuration guide

  • Fork this repo
  • Add Repository Secrets
    • U_NAME: your GitHub username
    • U_EMAIL: your GitHub email
    • WORK_TOKEN: your GitHub personal accesstoken with repo and workflow scope, get it from GitHub settings
    • OPENAI_API_KEY(OPTIONAL, only needed when using AI summarization feature): Get it from OpenAI website
  • Enable GitHub Pages in repo settings, choose deploy from branch, and set the directory to /docs.
  • Configure your RSS feeds in config.ini

You can check out here for a more detailed configuration guide.

ChangeLog and updates

  • As OpenAI released a new version of openai package on Nov 06, 2023. More powerful models are coming, the way to call API also changed. As a result, the old script will no longer work with the latest version installed, and needs to be updated. Otherwise, you will have to set openai==0.27.8 in requirements.txt to use the old version.
  • In the latest updates, contexts longer than 16k tokens are no longer truncated, instead, will use the gpt-4-1106-preview model. If you don't like this, let me know and I'll think about adding customizability to choose whether truncate or use gpt-4-1106-preview model.
  • Check out the CHANGELOG.md.

Contributions are welcome!

  • Feel free to submit issues and pull requests.

Support this project

  • If you find it helpful, please star this repo. Please also consider buying me a coffee to help maintain this project and cover the expenses of OpenAI API while hosting the feeds. I appreciate your support.

Buy Me A Coffee

Example feeds being processed

These feeds on hosted in the docs/ subdirectory in this repo as well as on my GitHub Pages. Feel free to subscribe in your favorite RSS reader.

I will consider hosting more feeds in the future. Email me or submit an issue if there are any questions using the script or any suggestions.

rss-gpt's People

Contributors

yinan-c avatar github-actions[bot] avatar

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.