site/wiki/pages/tildepages.md

90 lines
3.0 KiB
Markdown
Raw Permalink Normal View History

---
author: ~ben
published: true
title: tildepages
description: user pages on tilde.team
2022-09-29 18:53:09 +00:00
category:
- publishing
---
2022-09-29 18:53:09 +00:00
because [~ben](https://tilde.team/~ben/) hoards domain names, you can
use the following domains with your tildepage:
2019-07-18 01:20:31 +00:00
see also the [master list of domains](domains).
2018-12-09 20:55:53 +00:00
* fuckup.club
2018-09-27 06:23:40 +00:00
* nand.sh
2018-09-26 18:10:35 +00:00
* ttm.sh
* tild3.org
2018-12-09 20:55:53 +00:00
* tilde.ninja
* tilde.site
* tilde.team
2019-11-26 16:59:21 +00:00
* tildeteam.net
* tildeteam.org
2022-09-29 18:53:09 +00:00
this means you can access your user page from any of the following
url formats, substituting domain and username:
2018-10-25 16:32:54 +00:00
* `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:
2022-09-29 18:53:09 +00:00
2019-08-26 01:09:03 +00:00
* 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/`
2022-09-29 18:53:09 +00:00
don't forget to make the cgi-bin script executable
2019-08-26 01:09:03 +00:00
if you're having trouble with any of these cgi scripts, make sure that the script
2022-09-29 18:53:09 +00:00
has a correct shebang, is executable, and that you're sending the content-type
2019-08-26 01:09:03 +00:00
header as the first thing.
## webring
2022-09-29 18:53:09 +00:00
check out [~webring](https://tilde.team/ring/) 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](tildeblogs) - a single shell script that helps you build a blog
2022-09-29 18:53:09 +00:00
with plain html or markdown. also supports mirroring your posts into your
[`~/public_gopher` gopherhole](gopher).
* [ttbp](ttbp) - tilde.team blogging platform. originally built for [tilde.town](
2022-09-29 18:53:09 +00:00
https://tilde.town/) by [~endorphant](https://tilde.town/~endorphant/). forked
with a handful of patches for our setup.
### ssgs
2022-09-29 18:53:09 +00:00
* [mkdocs](https://www.mkdocs.org) - markdown project documentation tool.
additional themes are available from the [mkdocs-bootstrap](
http://mkdocs.github.io/mkdocs-bootstrap/) and [mkdocs-bootswatch](
http://mkdocs.github.io/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](https://gohugo.io/) - static site generator built in go
2022-09-29 18:53:09 +00:00
* [jekyll](https://jekyllrb.com/) - static site generator used by github for
[github pages](https://pages.github.com) built in ruby
2019-08-06 15:06:42 +00:00
* [zola](https://getzola.org/) - single-binary static site generator written in rust