# Twtfeed, make your twtxt file an ATOM feed 2023-03-27 ## twtxt Twtxt is a decentralised, minimalist microblogging service for hackers. => https://github.com/buckket/twtxt Twtxt.txt This script is to let people follow you without having to use a twtxt client. A simple RSS/ATOM newsreader is ok. ## twtxt2atom First, I was using an AWK script written by prx: => https://si3t.ch/code/twtxt2atom.tgz twtxt2atom This shell script depends on GNU AWK and on sha256 (bsd) or sha256sum (linux). I wanted to make it depends on only one thing: perl without any modules ;) ## twtfeed Moreover, I wanted to use a configuration file to make it easier for everyone. So, the script is hosted on a GIT repository: => https://git.sr.ht/~fredg/twtfeed twtfeed at SourceHut You can clone it: ``` git clone https://git.sr.ht/~fredg/twtfeed ``` Or download the tarball: ``` wget -c https://git.sr.ht/~fredg/twtfeed/blob/master/twtfeed-0.2.tar.gz ``` Then the installation is simple. In the twtfeed folder, run: ``` sudo make install ``` This will install the script and the man page. To use it, you will have to copy the `twtfeed.cfg` config file in $HOME/.config/twtfeed/twtfeed.cfg. Fil the variables to fit your need: ``` # # twtfeed configuration file # # Author's name $nick = "Tom Marvolo Riddle"; # Link to your online twtxt file $url = "https://the.chamber.of.secret/twtxt.atom"; # The ATOM feed title $title = "Avada Kedavra"; # where is your local twtxt.txt file $twtfile = "$PATH/to/twtxt.txt"; # where is your local twtxt.atom file $feedfile = "$PATH/to/twtxt.atom"; ``` Run 'twtfeed' and voilà! ### Some links => https://galusik.fr/twtxt.txt My twtxt file => https://galusik.fr/twtxt.atom The ATOM feed => ./ <-- ## Commentaires / Comments ? => https://lists.sr.ht/~fredg/public-inbox Envoyer un email à la liste de discussion publique / Send a mail to the public Inbox --- => https://creativecommons.org/licenses/by-sa/4.0/ -- Copyright © 2008–2023 Frédéric Galusik - CC BY-SA 4.0 --