#rss #feed #news #expose #favorite #lametric #la-metric

app rss-to-lametric

πŸ›« Fastest way to expose a RSS feed to your LaMetric - https://store.lametric.com/?rfsn=853404.8b38b6 🎩

5 releases (stable)

2.0.0 Dec 17, 2022
1.0.2 Dec 15, 2017
1.0.1 Nov 4, 2017
0.1.0 Nov 4, 2017

#1132 in Web programming

MIT license

71KB
332 lines

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

Dependencies

~29–41MB
~718K SLoC