GithubHelp home page GithubHelp logo

tentrss's Introduction

TentRSS

Script to show public Tent status posts as an RSS feed.

Based on Flask. See Flask's install instructions to get this running. TentRSS also uses Requests to fetch URLs and BeautifulSoup to parse HTML (for finding HTML <link> tags).

Finally, to run this in production you should install memcached and pylibmc which is used to cache the latest posts for a few minutes. Without pylibmc, Flask's SimpleCache will be used, which is intended only for development.

Follow the author on Tent: https://scott.mn

Example nginx proxy configuration

location /tentrss/ {
    proxy_pass http://127.0.0.1:8001/;
    proxy_redirect default;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header Host $http_host;
    proxy_set_header X-Original-Request-URI $request_uri;
}

The X-Original-Request-URI header allows TentRSS to generate a correct URL to the resulting feed.

tentrss's People

Contributors

graue avatar

Stargazers

Arturo Vergara avatar Jeff Garretson avatar Patrick Kontschak avatar longears avatar Alex avatar Howard Grigg avatar Tanner Smith avatar Steve Phillips avatar Ian Young avatar Viðar Svansson avatar

Watchers

Ian Young avatar James Cloos avatar  avatar  avatar

Forkers

iangreenleaf

tentrss's Issues

Use correct HTTP error code

Currently the HTTP error code returned if anything goes wrong fetching the feed is 404, when it should probably be something else in some cases.

Cache the feed

Generated RSS should be cached for a little while (1-5 minutes) to reduce requests to the Tent server when someone has a popular feed.

Follow link tag in HTML

The <link> tag (as opposed to the HTTP Link: header) is not supported yet as a method of profile discovery, but should be.

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.