[Back to the Floodgap main page] Return to Floodgap Software

Texapp for Perl (Somewhat Early Alpha)

Texapp is a port of the highly arcane and inexplicably beloved TTYtter text mode client for Twitter to App.net. If you knew/loved/hated/wanted to smash @doctorlinguist in the face because of/felt strange rumblings of passion towards/used TTYtter, now you can use the same interface, most of the same commands, and pretty much all of the same awesome power for ADN.

During the Super Early Alpha-Alpha, As of 0.5.0, Texapp has progressed from Super Early Alpha-Alpha to Somewhat Early Alpha. During this time, Texapp will be offered mostly for those already familiar with TTYtter along with the freaks of nature and the typically incautious and those who love them. This document will not be a lot of help to you if you find the command line totally alien. Get used to TTYtter on that "other service" and then come back here. Most of the same stuff applies; these docs are just for the differences right now.

If you are an existing Texapp user, go to the changelog and download for What's New. If you're interested in writing Texapp extensions and ADN bots, go to our Texapp API documentation.

Setup

Running Texapp

What works in Texapp

Texapp is based on TTYtter 2.1. Using the same TTYtter commands you used before, you can (see /help also):

In general, TTYtter commands still work as synonyms (so /faves is a synonym for /stars; /block is a synonym for /mute; etc.).

Channels and private messages

Texapp also supports channels with private messages, including multi-way channels. These are mixed into your timeline as if they were part of your stream. Texapp will monitor up to 200 subscribed channels. (Technical note: the only supported channel type is net.app.core.pm -- other kinds of channels are not supported by Texapp.) When you start Texapp, the last two messages received in any channel are displayed automatically. PMs appear in green with the sender and all recipients.

PMs have their own menu codes starting with p which are either pxx for the background or pzxx for the foreground. You reference a channel simply by referring to any post in it; Texapp will figure out "what you mean." The following commands accept PM menu codes too, and work analogously to how they work for posts:

The count (+xx) argument and new in 0.5.0 >>before (<menucode) argument both work for most PM commands (e.g., /th <pa0 +40 displays up to 40 posts in the PM thread specified by pa0 prior to pa0). When done with a channel, /pmclose will "put it away" -- it will not appear in /pmscan, but it will immediately be reactivated if there is any activity on it or you create a "new" channel to the same people. In general, I recommend doing this after using a channel you expect to use only infrequently, as you will still get messages when they occur, but it will be a lot faster for Texapp to keep up.

To thump the background process for new PMs, /pm by itself will ask for new ones (and give you a polite message if there are no new ones to read).

Running commands from your shell (using Texapp as a command line tool)

Texapp can also be used as a CLI tool. The -runcommand option lets you pass a command to it, which is dumped to standard output. Almost any command is supported. Examples:

To make a post, you can either pass it as an argument, or pipe a line of text:

For commands that would ordinarily need a menu code, you can just use an ID (you need to know what it is, of course):

You can refer to PMs by ID if you have permission to the channel they existed in; simply use P plus the PMID. (This is supported by all PM capable commands except /pmclose for technical reasons.)

Texapp-specific command line options

Most of TTYtter's old command line options still apply. Texapp supports ANSI colour, readline, notification, and integrated URL and avatar viewing in the same way TTYtter did, as well as version checking (check your version with /vcheck; versions will come out fast during the Super Early Alpha-Alpha Somewhat Early Alpha, so keep up to date).

Texapp also introduces new specific options:

Texapp also changes behaviour a bit from TTYtter:

Configuration notes

What's under construction in Texapp

The following features are still in Texapp (as code holdovers), but do not work yet and you should not use these commands or command line options related to them until they are rewritten for ADN:

Writing your own bots and extensions in Texapp

See our amazing Texapp API documentation! << new in 0.5.0

What's coming to Texapp

Known bugs

Changelog and download

Download 0.5.2 here. Comments to @doctorlinguist on ADN. Read our brand spanking new privacy policy and terms of service. Old versions here.

What's new in 0.5.2:

What's new in 0.5.1:

What's new in 0.5.0:

What's new in 0.4.4:

What's new in 0.4.3:

What's new in 0.4.2:

What's new in 0.4.1:

What's new in 0.4.0:

What's new in 0.3.2:

What's new in 0.3.1:

What's new in 0.3.0:

What's new in 0.2.4:

What's new in 0.2.3:

What's new in 0.2.2:

What's new in 0.2.1:

What's new in 0.2.0:


Cameron Kaiser