Skip to content

FGRibreau/rss-to-lametric

Repository files navigation

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

About

Your favorite RSS feed directly from your LaMetric 🎩

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Languages