Giter Club home page Giter Club logo

rss-to-lametric's Introduction

Your favorite news (RSS feed) directly from your LaMetric 🎩

Travis codecov Cargo version Crates.io Crates.io Slack

📱 LaMetric apps

French news

World news

Tech/Startup

⏲ Setup

cargo install rss-to-lametric

🤓 Self-documentation

rss-to-lametric
curl --silent http://localhost:8080/
{
  "description": "🛫 Fastest way to expose a RSS feed to your LaMetric - https://store.lametric.com/?rfsn=853404.8b38b6 🎩",
  "homepage": "https://github.com/FGRibreau/rss-to-lametric",
  "name": "rss-to-lametric",
  "usage": [
    {
      "path": "/convert?<query>",
      "query": {
        "icon": "icon number, e.g. i14532",
        "limit": 10,
        "title": "title of your feed",
        "url": "http://my-domain.com/my-rss.xml"
      }
    }
  ],
  "version": "0.1.0"
}

🎩 Convert any RSS to LaMetric TextFrame

curl --silent "http://localhost:8080/convert?title=Ouest-France&icon=i14532&limit=3&url=https://www.ouest-france.fr/rss-en-continu.xml"
{
  "frames": [
    {
      "text": "Ouest-France",
      "icon": "i14532"
    },
    {
      "text": "France. Des personnalités signent contre les agressions sexuelles",
      "icon": null
    },
    {
      "text": "NRJ Music Awards. Qui sont les gagnants de la soirée ?",
      "icon": null
    },
    {
      "text": "Des dizaines de morts dans un attentat de Daech en Syrie",
      "icon": null
    }
  ]
}

⚙️ Deployment

❤️ Shameless plug

🦄 You love it? Donate :)

Patreon donate button Gratipay donate button Flattr donate button PayPal donate button Bitcoin donate button

rss-to-lametric's People

Contributors

dependabot-preview[bot] avatar fgribreau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rss-to-lametric's Issues

RUSTSEC-2020-0036: failure is officially deprecated/unmaintained

failure is officially deprecated/unmaintained

Details
Status unmaintained
Package failure
Version 0.1.8
URL rust-lang-deprecated/failure#347
Date 2020-05-02

The failure crate is officially end-of-life: it has been marked as deprecated
by the former maintainer, who has announced that there will be no updates or
maintenance work on it going forward.

The following are some suggested actively developed alternatives to switch to:

See advisory page for additional details.

RUSTSEC-2021-0020: Multiple Transfer-Encoding headers misinterprets request payload

Multiple Transfer-Encoding headers misinterprets request payload

Details
Package hyper
Version 0.12.36
URL GHSA-6hfq-h8hq-87mf
Date 2021-02-05
Patched versions >=0.14.3,>=0.13.10, <0.14.0
Unaffected versions <0.12.0

hyper's HTTP server code had a flaw that incorrectly understands some requests
with multiple transfer-encoding headers to have a chunked payload, when it
should have been rejected as illegal. This combined with an upstream HTTP proxy
that understands the request payload boundary differently can result in
"request smuggling" or "desync attacks".

See advisory page for additional details.

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.