rss-to-lametric

Crates.iorss-to-lametric
lib.rsrss-to-lametric
version2.0.0
sourcesrc
created_at2017-11-04 12:48:35.223095
updated_at2022-12-17 14:25:42.037876
descriptionπŸ›« Fastest way to expose a RSS feed to your LaMetric - https://store.lametric.com/?rfsn=853404.8b38b6 🎩
homepagehttps://github.com/FGRibreau/rss-to-lametric
repositoryhttps://github.com/FGRibreau/rss-to-lametric
max_upload_size
id38112
size176,278
Francois-Guillaume Ribreau (FGRibreau)

documentation

https://docs.rs/rss-to-lametric

README

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

Commit count: 132

cargo fmt