~dustin hello now writing thoughts feeds mastodon
..

Tilde tools

A list of projects related to tilde.town.

  1. @towniebot
  2. Tildebrowser
  3. Twtxt scraper
  4. Social scraper
  5. Namelen
  6. Linkbot

@towniebot

A mastodon bot that features a random ~town user each morning. You can follow it at @towniebot@tiny.tilde.website.

If you are a ~town user and would like to opt out as an option for this bot, simply create an empty file in your home directory called .towniebot. If the bot selects you and finds this file, it will skip you and move on to someone else.

If you were featured before you were able to opt out, please reach out to me and I can manually delete the toot.

Tildebrowser

This project was an idea by ~equa.

Every night at 12AM server time, a list of users will be scraped from the /home directory.

If a user has not changed their index.html from the default, they are not included in the list.

The page defaults the first user in the list, and provides links to the next and previous users, alphabetically. The page loads the currently selected user's page in an iframe.

If you are a member of ~town and would like to be excluded from the list, you can create a .tildebrowser file in your home directory. When the data is refreshed at 12AM, it will not include you. If you need it refreshed sooner, reach out to me and will manually run the script as soon as I can.

The tildebrowser can be viewed here.

Twtxt scraper

A script that gathers a list of twtxt feeds of ~town users. It searches for an actual twtxt.txt file, and also parses the user's index.html file for a link if a file wasn't found. It is run nightly, and the output can be viewed here.

Social scraper

A script that gathers a list of social accounts from ~town user's index.html file. It finds mastodon, github, instagram, and twitter. It is run nightly, and the output can be viewed here.

Namelen

A script that gathers statistics on the username length of ~town users. It is run nightly, and the output can be viewed here.

Linkbot

An IRC bot that finds URLs, images, and youtube videos, and compiles a list of them.

You are automatically opted out of your links being shared. If you want to opt in so all links you post are shared, you can add an empty .linkbot file to your home directory. If the bot finds a link you posted and you have this dotfile, your link will be added. You can still opt a specific link out by starting your message with !nolinkbot, !nolink, or !nolb. If you are not opted in, you can still add a link explicitly by starting your message with !linkbot, !link, or !lb.

The output can be viewed here.