site/wiki/pages/tildepages.md

3.0 KiB

author published title description category
~ben true tildepages user pages on tilde.team
publishing

because ~ben hoards domain names, you can use the following domains with your tildepage:

see also the master list of domains.

  • fuckup.club
  • nand.sh
  • ttm.sh
  • tild3.org
  • tilde.ninja
  • tilde.site
  • tilde.team
  • tildeteam.net
  • tildeteam.org

this means you can access your user page from any of the following url formats, substituting domain and username:

  • https://domain.tld/~username/
  • https://domain.tld/u/username/
  • https://username.domain.tld/

your public_html

~/public_html is the webroot for your tildepage. files you place in there are served at the addresses described above.

static files are served normally, along with the following dynamic options:

  • php - name the file with a .php extension or use index.php
  • perl - name the file with a .pl extension
  • sh/cgi - name the file with a .sh or .cgi extension
  • python - name the file with a .py extension
  • lua - name the file with a .lua extension
  • cgi-bin - name it whatever you want and place it in ~/public_html/cgi-bin/ don't forget to make the cgi-bin script executable

if you're having trouble with any of these cgi scripts, make sure that the script has a correct shebang, is executable, and that you're sending the content-type header as the first thing.

webring

check out ~webring for instructions of how to add your tilde.team html pages to the team webring.

static page generators

there are several static site generators available, including some cool blog engines.

blog engines

  • bashblog - a single shell script that helps you build a blog with plain html or markdown. also supports mirroring your posts into your ~/public_gopher gopherhole.

  • ttbp - tilde.team blogging platform. originally built for tilde.town by ~endorphant. forked with a handful of patches for our setup.

ssgs

  • mkdocs - markdown project documentation tool. additional themes are available from the mkdocs-bootstrap and mkdocs-bootswatch projects. just set your theme name to one those listed and rebuild. generally recommended to not build the mkdocs source directly in your webroot. set the destination to somewhere in ~/public_html, symlink, or move/copy the generated files manually. for example, if you wanted to make a mkdocs site called mywiki available on the web, you could do: ln -s ~/mywiki ~/public_html/wiki

  • hugo - static site generator built in go

  • jekyll - static site generator used by github for github pages built in ruby

  • zola - single-binary static site generator written in rust