<< tilde.towntilde.town overviewindependent online communitiesprojects404 Not Found

tilde.train

tilde.train is a little command line novelty script I wrote based on the concept of the classic Unix prank, 'sl' (or steam locomotive).

The unique thing about tilde.train is that all users can add to the train! It's like a combination of 'sl' and troido's cadastre.

You can add your own train car to the train by creating a .choochoo file containing an ascii drawing of a train car, and saving it in your home directory with file permissions so that others can read it. Your car needs to conform to certain height and width dimensions which you can find by running the help command (see below). Another restriction, for now, is that your train can only contain standard ascii characters.

Want a generic .choochoo file to get yourself started? cd into your home directory, and then wget http://tilde.town/~cmccabe/.choochoo
Then give that file permissions so that it is readable by others. E.g. chmod 644 .choochoo

Run /home/cmccabe/code/tilde-train.py to see the train go. Type 'q' at any time to stop it.

For help, just add -h after that command, like this: /home/cmccabe/code/tilde-train.py -h

          ____                                                                              ||        
         |____|         ------------  ____________________________           =============  ||        
          |  |  ===     |  ------  | |                            | =========|           |==========  
       ___|  |__| |_____| |   O  | | |                            |  |    ----          ----     |   
      |  |              | |__/V\_| | |    YOUR TRAIN CAR HERE!    |  |   |    |        |    |    |   
     [[  |                         | |       Just create a        |  |    ----          ----     |   
      |  | ------------ |    t.t   | |      ~/.choochoo file!     |  |    tilde.town railways    |   
      |__|______________|__________|+|                            |+=|                           |== 
   //// / _\__/__\__/__\      /  \    - /  \-/  \------/  \-/  \ -  = - /  \-/  \-----/  \-/  \ - == 
  ////  \__/  \__/  \__/      \__/      \__/ \__/      \__/ \__/        \__/ \__/     \__/ \__/     
==========================================================================================================

You can see a recent text file of the tilde.train here (regenerated every few minutes).

CONTRIBUTE TO THE CODE! via TerminalTrain on tildegit