mirror of
https://github.com/tildeclub/site.git
synced 2026-08-25 11:59:23 +00:00
Software words and website words are capitalized (or, as another option, all caps), articles in the "tilde.club" category must have most words capitalized (may capitalize word in case of doubt), and the rest of the titles must have first word, of the title, capitalized, with the rest of the (non-software) words, of the title, all lowercase. Signed-off-by: keyboardan <keyboardan@tilde.club>
61 lines
1.5 KiB
Markdown
61 lines
1.5 KiB
Markdown
---
|
|
title: Gopher
|
|
author: benharri
|
|
category: tutorials
|
|
---
|
|
|
|
Tilde.club now serves gopher! we're using
|
|
[gophernicus](https://github.com/gophernicus/gophernicus) as our
|
|
gopherd.
|
|
|
|
user pages are served from your `~/public_gopher` dirs and can be
|
|
accessed at `gopher://tilde.club/1/~username`. note that the itemtype
|
|
`1` is required.
|
|
|
|
## basic gophermap syntax
|
|
|
|
files named `gophermap` are the gopher equivalent to index.html. each
|
|
line in a gophermap consists of the following parts separated by literal
|
|
tab characters:
|
|
|
|
- item type
|
|
- display name
|
|
- selector
|
|
- host
|
|
- port
|
|
|
|
for example:
|
|
|
|
`1tildeclub<tab>/<tab>tilde.club<tab>70`
|
|
|
|
basic item types include:
|
|
|
|
- `0` - text file
|
|
- `1` - directory
|
|
- `7` - search query
|
|
- `9` - binary file
|
|
- `g` - gif image
|
|
- `h` - html file
|
|
- `i` - info text
|
|
- `I` - generic image file (not a gif)
|
|
|
|
gophernicus also supports the following special types:
|
|
|
|
- `#` - comment
|
|
- `!title` - only valid on the first line
|
|
- `-file` - hide file from listings
|
|
- `:ext=type` - change filetype
|
|
- `~` - include a list of users with a valid `~/public_gopher`
|
|
- `=mapfile` - include or execute a script or gophermap
|
|
- `-` - stop processing gophermap and include file listing
|
|
|
|
- `.` - stop processing gophermap (default)
|
|
|
|
## additional resources
|
|
|
|
see [gophernicus' gophermap
|
|
documentation](https://github.com/gophernicus/gophernicus/blob/master/README.gophermap)
|
|
for more info on available item types and other special selectors.
|
|
|
|
if you're completely new to gopher, check out the [gopher zone](https://gopher.zone)!
|