mirror of
https://github.com/rwinkhart/backtone.git
synced 2026-08-28 04:46:54 -04:00
7a4ef87470bc787cb99b4ca5658174a7f6463898
Backtone
Backtone is a program that converts websites to Atom RSS feeds and prints the results to stdout. It should be called via a server-side script that then writes the resulting XML to the webpage.
The name is a playful nod toward converting contents back to the web of yesteryear. Why suffer in Web 2/3 when you could go "back to one"?
Dependencies
To ensure Backtone always supports current ECMAScript standards, it needs a headless browser instance to execute client-side scripts. To avoid Cloudflare/similar challenge interference, we use FlareSolverr. Its Docker image also contains the browser we use.
Usage
All files needed for usage, including an the input XML, server-side script, and reverse proxy config, have examples in the examples folder in this repo.
- Create a server-side script that calls
backtonewith the only argument being a base64-encoded XML in the format specified when runningbackbonewith no arguments - Serve that script via a reverse proxy
- Now when a feed reader fetches the feed, the feed will be created in real time
Languages
Go
100%