~fredg/twtfeed

Convert a twtxt.txt file to an ATOM feed.
e974339f — Fred. Galusik 1 year, 2 months ago
v0.2 tarball
1516508f — Fred. Galusik 1 year, 2 months ago
rm 0.1
ca4ee888 — Fred. Galusik 1 year, 2 months ago
bump to v1.2

clone

read-only
https://git.sr.ht/~fredg/twtfeed
read/write
git@git.sr.ht:~fredg/twtfeed

You can also use your local clone with git send-email.

#TWTFEED

#What?

Perl script to convert your twtxt.txt file to a valid ATOM feed.

Note: No extra perl packages or any deps required (gnu awk, sha256, ...).

#Why?

Twtxt is a decentralised, minimalist microblogging service for hackers.

This script is to let people follow you without having to use a twtxt client. A simple RSS/ATOM newsreader is ok.

#How?

First, you need a configuration file $HOME/.config/twtfeed/twtfeed.cfg

#
# 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";

Then, you need to copy this script to your $PATH.

#Install

Clone or download this repo then:

To install the script to /usr/bin/, run as root:

make install

This will also install the man page.

Optionnaly, you can set DESTDIR and PREFIX (default to /usr) to suit your need, for example:

make install PREFIX=/usr/local

#Contact