Tilde Town Cadastre

View the town map here: town.html
You can also use the JSON data to make your own viewer.

The source code can be found on github: github.com/jmdejong/cadastre

The idea of Cadastre is to make a visualizaton of tilde.town by letting all users make their own ascii art home and stitch this together.

All tilde.town users can claim a parcel of 24 by 12 characters. This is then placed in the town map at the place the users claimed (if this place is free).
In addition to users own parcels, it is possible to make public parcels. Parcels belonging to users can override public parcels.

The town map is updated every minute.

How to claim a parcel

To claim your own piece of land, create a folder in your home directory called '.cadastre'. In this folder, create a file called 'home.txt'.
The first line of home.txt should contain two space-separated positive integers. This will be the coordinates of your parcel (first horizontal then vertical; coordinates start at 0)
Your x coodinates must be larger than or equal to 0 and smaller than 25 to show up in the normal viewer.
The next 12 lines should contain your ascii art.
The lines should be 24 characters long. Longer lines will be cropped, shorter lines will be padded with spaces.
Only printable ascii characters may be used. Other characters (including tabs and newlines) will be replaced with spaces.

If your home.txt is not correct, or if the place you are trying to claim is claimed already, your home will be ignored.
You could look in cadastre.log to get an idea what happened

An example for ~/.cadastre/home.txt:

0 1
+==()=================+.
| (%&8)  /\       _,__|.
|(&(%)%)/  \    . __,_|.
| (%8%)/_##_\   .     |.
|  ||/ |    |   . @   |.
|  ||  | /\ | * . @   |.
|  ||  |_||_|   .     |.
|        ..  *  .     |.
| (%) O  ........     |.
|        ..    ~troido|.
+=======#  #==========+.
........................

How to link to some page

You can link to any page, letting the user enter your house/cave/whatever.
To do this, leave one line empty after your ascii art image. Then, create another 24 by 12 image. Each of the characters in the image corresponds to a link. After that, create a line per link. These lines should consist of 1 character from your second drawing, followed by a space, followed by a url.

It is probably easier to understand if I give an example:

0 1
+==()=================+.
| (%&8)  /\       _,__|.
|(&(%)%)/  \    . __,_|.
| (%8%)/_##_\   .     |.
|  ||/ |    |   . @   |.
|  ||  | /\ | * . @   |.
|  ||  |_||_|   .     |.
|        ..  *  .     |.
| (%) O  ........     |.
|        ..    ~troido|.
+=======#  #==========+.
........................

111()111111111111111111.
1 (%&8)  33       _,__1.
1(&(%)%)3333    . __,_1.
1 (%8%)333333   .     1.
1  ||/ 333333   . @   1.
1  ||  333333 * . @   1.
1  ||  333333   .     1.
1        ..  *  . "'` 1.
1 (%) O  ........     1.
1        ..    22222221.
11111111111111111111111.
........................
1 https://tilde.town/~troido/index.html
2 https://tilde.town/~troido/cadastre/town.html
Each place where there is a 2 in the second drawing will now link to https://tilde.town/~troido/cadastre/town.html
Each place where there is an 1 will link to https://tilde.town/~troido/index.html
The other places aren't links

It is also possible to leave out the second drawing, and have all characters from the first drawing directly correspond to the link.
To do so, put a minus sign in the line after the first drawing (that should otherwise be empty.
For example:

5 1
####################
#  ____            #
# / \__\           #
# |_|__|    ,,,,,  #
#           ,,,,,  #
#    -----  ,,,,,  #
#    -----     _   #
#    -----    (*)  #
# ~johndoe     |   #
##########(%)#######
...........|........
....................
-
# https://example.com
Now only the fence will link to https://example.com

Public parcels

It is possible create public parcels by making text files in the ~troido/cadastre/public folder. Any file in this folder ending in '.prcl' will be seen as a parcel. This used to be '.txt', but that has changed.
Public parcels can be edited by anyone.
A public parcel can use some land, but does not really 'claim' it. The data can be overwritten, and other users can still claim the place.

Please use public parcels for something of the whole community, not an extension of your home.

It is ok to have public parcels generated by scripts, with two conditions:

Other tips

You can set up a cron job to automatically let your parcel change throughout the day

Development and Support

I'm not really sure how to continue with this project, so I would love to hear other people's ideas.

I have made a BBJ thread about cadastre. You can leave any questions/suggestions/feedback there.

Alternatively you can also email me (internal mail), tell me in irc or put a comment/issue on github.

Made by ~troido