Compare commits

...

53 Commits

Author SHA1 Message Date
deepend cbad506fc0 Update wiki/pages/other-tildes.md
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
removed down from thunix.net
2023-12-27 06:49:53 +00:00
aboutdavid d46f9f50cc Add tilde.amcforum.wiki to other-tildes.md page
continuous-integration/drone/push Build is passing Details
2023-09-16 19:22:43 +00:00
ZinRicky 4d38668842
Updates ZinRicky’s certificate
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
2023-09-11 12:42:24 +02:00
Satya Benson f47b0adc27 fix list numbering error
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
added indentation to pre blocks so that it doesn't mess up the list numbering
2023-08-15 20:56:19 +00:00
Ben Harris 7b00c77f89 fix dovecot/sieve links
continuous-integration/drone/push Build is passing Details
2023-07-28 21:17:19 +00:00
Kevin Nobel f85c660bab
tilde.fun seems to be still around
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
2023-05-30 22:20:37 +02:00
Kevin Nobel 1a1f8ef389
Update list of other tildes
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
2023-05-26 15:13:10 +02:00
Ben Harris b7dddfe7b7 fix urlencoding on webfinger readme
continuous-integration/drone/push Build is passing Details
2023-04-25 15:12:44 +00:00
Ben Harris 722a3b693d Add '.well-known/webfinger/README.md'
continuous-integration/drone/push Build is passing Details
2023-04-25 15:12:05 +00:00
Ben Harris 2ec98a452f add webfinger tool
continuous-integration/drone/push Build is passing Details
2023-03-27 17:06:27 -04:00
Ben Harris f75e6b5977 add readonly token to gitea endpoint
continuous-integration/drone/push Build is passing Details
2023-03-27 16:53:30 -04:00
Ian Remsen 22f7876659 moved status to front row, moved down tildes to bottom of list
continuous-integration/drone/push Build is passing Details
2023-03-16 19:20:20 +00:00
Ben Harris cd41ecbc75 delete built css artifacts from repo
continuous-integration/drone/push Build is passing Details
2023-03-15 13:57:36 -04:00
SmokeyDope a61cbf86c3 fix layout
continuous-integration/drone/push Build is passing Details
2023-03-15 17:47:08 +00:00
SmokeyDope efafdde99c Add section 'how to set a CGI script as executable' 2023-03-15 17:47:08 +00:00
Ben Harris e39ba1c8ac update idea php config
continuous-integration/drone/push Build is passing Details
2023-03-15 13:45:54 -04:00
Ben Harris af828810cc tidy up build of dracula.css 2023-03-15 13:45:54 -04:00
Ian Remsen df0a23ac65 svg revisions of logos
continuous-integration/drone/push Build is passing Details
they ended up being a tad different than the rasters, but it was fun practice. will commit any changes actually replacing live assets with them if you wish.
2023-02-28 14:24:53 +00:00
Ian Remsen b2da4f3c6b Update 'wiki/pages/bsd.md' 2023-02-28 14:24:53 +00:00
Arya K b6314d8dfa Add projectsegfau.lt pubnix to other tildes
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
2023-02-25 05:17:27 +00:00
Ben Harris 0165c59956 closes #122 - add rss feed for news
continuous-integration/drone/push Build is passing Details
2023-02-24 13:37:17 -05:00
zinricky e2e0003fc2 Corrects a marking typo
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
2023-02-10 12:16:29 +01:00
Ben Harris c2e344cea9 Update 'wiki/pages/email.md'
continuous-integration/drone/push Build is passing Details
2023-02-09 18:00:47 +00:00
NotConspicuous b172abab5b Recorrected the current IPs
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
I originally tried the IPs there and it wouldn't connect. Turns out the IP addresses for this document were incorrect, I have tested and verified (even the pop3 server) are actually working and those are correct.

Added outlook setup.
2023-02-09 11:40:04 +00:00
Ben Harris 63af8f0029 oops
continuous-integration/drone/push Build is passing Details
2022-09-29 14:56:30 -04:00
Ben Harris 54e2389a81 categorize and format all wiki .mds
continuous-integration/drone/push Build is passing Details
2022-09-29 14:53:09 -04:00
Ben Harris f4b35a2f16 add logarion wikipage 2022-09-29 14:52:50 -04:00
Ben Harris c661dd3700 clear form fields on successful signup
continuous-integration/drone/push Build is passing Details
2022-09-29 12:32:49 -04:00
Ben Harris 913827fb51 getting closer
continuous-integration/drone/push Build is passing Details
2022-09-29 12:29:42 -04:00
Ben Harris 23ef6533b4 disable spl_autoload so i can figure this out faster
continuous-integration/drone/push Build is passing Details
move Net_DNS2_RR_DLV after Net_DNS2_RR_DS
2022-09-29 12:27:45 -04:00
Ben Harris 3b2e9e1167 move Net_DNS2_RR_CDS after Net_DNS2_RR_DS
continuous-integration/drone/push Build is passing Details
2022-09-29 12:24:58 -04:00
Ben Harris de7460d17d reorder DNS2.php
continuous-integration/drone/push Build is passing Details
2022-09-29 12:21:07 -04:00
Ben Harris f17be390f1 format ipaddr.php with phpstorm
continuous-integration/drone/push Build is passing Details
2022-09-29 12:04:30 -04:00
Ben Harris 021bc3041c use str_starts_with() now that we are on php8 2022-09-29 12:04:12 -04:00
Ben Harris 52c178e460 reformat smtp.php with phpstorm 2022-09-29 12:03:53 -04:00
Ben Harris 45f672dcf0 reformat DNS2.php with phpstorm 2022-09-29 12:02:38 -04:00
Ben Harris f736eb01b6 reformat table and mark summit as down 2022-09-29 11:24:23 -04:00
Ben Harris 070a1aa030 bump phpstorm php version to 8.1 2022-09-29 11:15:25 -04:00
Ben Harris c7a0edd91c tidy some regex 2022-09-29 11:15:07 -04:00
Ben Harris 1847394cfb fix numbering on markdown files 2022-09-29 11:14:01 -04:00
konomo 474571ac0c add section "Mount tilde folders on your machine using sshfs"
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
2022-09-26 17:53:43 +00:00
Ben Harris 979a33fbd0 add 22.04 post
continuous-integration/drone/push Build is passing Details
2022-09-25 17:35:22 -04:00
Arya K 1094d07b44 Add ~vern (vern.cc)
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
2022-09-11 13:32:17 +00:00
jdtron 42484b1a23 Add GPG key
continuous-integration/drone/push Build is passing Details
2022-09-10 14:41:41 -04:00
Ben Harris 8daf8271b7 remove tilde.life
continuous-integration/drone/push Build is passing Details
2022-08-29 18:12:39 -04:00
Olav Schettler e362aac391 Added bonn.cafe
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
2022-08-14 23:02:08 +02:00
Robert Miles 7d1f309df7 Add link to CGI page from gemini page
continuous-integration/drone/push Build is passing Details
Just in case.
2022-08-09 20:42:25 +00:00
Robert Miles 6dde906e15 Add gemini CGI page
continuous-integration/drone/push Build is passing Details
Nobody told me it was awful, so I'm going to put it up. If any changes need to
be made, they can be made.
2022-08-09 20:40:01 +00:00
Ben Harris 23805c9224 fix indentation
continuous-integration/drone/push Build is passing Details
2022-07-18 15:36:32 -04:00
gtlsgamr 9c7f1db8ba Add a new stuff section on the homepage to show what users are doing (#116)
continuous-integration/drone/push Build is passing Details
I have added a static section at this point (which is open for debate). Making it dynamic will only make it sound robotic. The current way of announcing what the users are doing makes it look authentic? Not sure. Let me know  what you think.

Reviewed-on: team/site#116
Co-authored-by: gtlsgamr <gtlsgamr@thunix.net>
Co-committed-by: gtlsgamr <gtlsgamr@thunix.net>
2022-07-18 19:07:26 +00:00
Ben Harris 369726159f sort wikipages by title
continuous-integration/drone/push Build is passing Details
2022-07-12 12:45:42 -04:00
jmjl f805f70680 Vanish `tilde.my.to`
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
Make ~my.to  disappear as it's no longer run. (I just noticed now)
2022-07-12 04:24:53 +00:00
g1n ff0d683a86 add hextilde.xyz to known tildes
continuous-integration/drone/pr Build encountered an error Details
continuous-integration/drone/push Build is passing Details
2022-06-22 07:41:28 +00:00
69 changed files with 7297 additions and 9110 deletions

View File

@ -25,4 +25,4 @@ steps:
- sudo -Hu www-data git fetch
- sudo -Hu www-data git reset --hard origin/master
- sudo -Hu www-data composer install
- sudo -Hu www-data make -C css

View File

@ -1,5 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MessDetectorOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCSFixerOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCodeSnifferOptionsConfiguration">
<option name="highlightLevel" value="WARNING" />
<option name="transferred" value="true" />
</component>
<component name="PhpIncludePathManager">
<include_path>
<path value="$PROJECT_DIR$/vendor/tildeteam/wiki" />
@ -17,12 +27,18 @@
<path value="$PROJECT_DIR$/vendor/psr/event-dispatcher" />
</include_path>
</component>
<component name="PhpProjectSharedConfiguration" php_language_level="7.4">
<component name="PhpProjectSharedConfiguration" php_language_level="8.1">
<option name="suggestChangeDefaultLanguageLevel" value="false" />
</component>
<component name="PhpStanOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PhpUnit">
<phpunit_settings>
<PhpUnitSettings custom_loader_path="$PROJECT_DIR$/vendor/autoload.php" />
</phpunit_settings>
</component>
<component name="PsalmOptionsConfiguration">
<option name="transferred" value="true" />
</component>
</project>

View File

@ -0,0 +1,13 @@
# webfinger
to add your own, run the `webfinger` tool at your shell.
it will prompt you for your fedi handle and save the correct json to `~/.webfinger.json`.
you can do this manually by grabbing the webfinger from your fedi host.
as an example, to get the webfinger response for `@ben@tilde.zone`
curl 'https://tilde.zone/.well-known/webfinger?resource=acct:ben@tilde.zone' > ~/.webfinger.json
see [webfinger.net](https://webfinger.net) for more info and a simple tester for your setup.

View File

@ -0,0 +1,30 @@
<?php
$trims = [
"acct:",
"@tilde.team",
"@fuckup.club",
"@nand.sh",
"@ttm.sh",
"@tild3.org",
"@tilde.chat",
"@tilde.news",
"@tilde.site",
"@tildeteam.net",
"@tildeteam.org",
"@tildeverse.net",
"@tildeverse.org",
];
$user = str_replace($trims, "", $_GET["resource"]);
$webfinger_file = "/home/$user/.webfinger.json";
if (file_exists($webfinger_file))
{
header("Content-type: application/jrd+json");
echo file_get_contents($webfinger_file);
}
else
header("Status: 404");
die();

View File

@ -1,11 +1,13 @@
{
"require": {
"tildeteam/wiki": "^2.0",
"mibe/feedwriter": "^1.1",
"ext-openssl": "*",
"ext-json": "*",
"ext-shmop": "*",
"ext-sockets": "*",
"ext-posix": "*",
"ext-mbstring": "*"
"ext-mbstring": "*",
"ext-ctype": "*"
}
}

271
composer.lock generated
View File

@ -4,20 +4,20 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "a938f0c9200db6bf821ba64b8fd9b39f",
"content-hash": "932fa6699aef88e3be5f372d748d856d",
"packages": [
{
"name": "dflydev/dot-access-data",
"version": "v3.0.1",
"version": "v3.0.2",
"source": {
"type": "git",
"url": "https://github.com/dflydev/dflydev-dot-access-data.git",
"reference": "0992cc19268b259a39e86f296da5f0677841f42c"
"reference": "f41715465d65213d644d3141a6a93081be5d3549"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/0992cc19268b259a39e86f296da5f0677841f42c",
"reference": "0992cc19268b259a39e86f296da5f0677841f42c",
"url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549",
"reference": "f41715465d65213d644d3141a6a93081be5d3549",
"shasum": ""
},
"require": {
@ -28,7 +28,7 @@
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.3",
"scrutinizer/ocular": "1.6.0",
"squizlabs/php_codesniffer": "^3.5",
"vimeo/psalm": "^3.14"
"vimeo/psalm": "^4.0.0"
},
"type": "library",
"extra": {
@ -77,22 +77,22 @@
],
"support": {
"issues": "https://github.com/dflydev/dflydev-dot-access-data/issues",
"source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.1"
"source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2"
},
"time": "2021-08-13T13:06:58+00:00"
"time": "2022-10-27T11:44:00+00:00"
},
{
"name": "league/commonmark",
"version": "2.2.2",
"version": "2.3.9",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/commonmark.git",
"reference": "13d7751377732637814f0cda0e3f6d3243f9f769"
"reference": "c1e114f74e518daca2729ea8c4bf1167038fa4b5"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/13d7751377732637814f0cda0e3f6d3243f9f769",
"reference": "13d7751377732637814f0cda0e3f6d3243f9f769",
"url": "https://api.github.com/repos/thephpleague/commonmark/zipball/c1e114f74e518daca2729ea8c4bf1167038fa4b5",
"reference": "c1e114f74e518daca2729ea8c4bf1167038fa4b5",
"shasum": ""
},
"require": {
@ -101,24 +101,26 @@
"php": "^7.4 || ^8.0",
"psr/event-dispatcher": "^1.0",
"symfony/deprecation-contracts": "^2.1 || ^3.0",
"symfony/polyfill-php80": "^1.15"
"symfony/polyfill-php80": "^1.16"
},
"require-dev": {
"cebe/markdown": "^1.0",
"commonmark/cmark": "0.30.0",
"commonmark/commonmark.js": "0.30.0",
"composer/package-versions-deprecated": "^1.8",
"embed/embed": "^4.4",
"erusev/parsedown": "^1.0",
"ext-json": "*",
"github/gfm": "0.29.0",
"michelf/php-markdown": "^1.4",
"phpstan/phpstan": "^0.12.88 || ^1.0.0",
"phpunit/phpunit": "^9.5.5",
"michelf/php-markdown": "^1.4 || ^2.0",
"nyholm/psr7": "^1.5",
"phpstan/phpstan": "^1.8.2",
"phpunit/phpunit": "^9.5.21",
"scrutinizer/ocular": "^1.8.1",
"symfony/finder": "^5.3",
"symfony/finder": "^5.3 | ^6.0",
"symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0",
"unleashedtech/php-coding-standard": "^3.1",
"vimeo/psalm": "^4.7.3"
"unleashedtech/php-coding-standard": "^3.1.1",
"vimeo/psalm": "^4.24.0 || ^5.0.0"
},
"suggest": {
"symfony/yaml": "v2.3+ required if using the Front Matter extension"
@ -126,7 +128,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "2.3-dev"
"dev-main": "2.4-dev"
}
},
"autoload": {
@ -183,20 +185,20 @@
"type": "tidelift"
}
],
"time": "2022-02-13T15:00:57+00:00"
"time": "2023-02-15T14:07:24+00:00"
},
{
"name": "league/config",
"version": "v1.1.1",
"version": "v1.2.0",
"source": {
"type": "git",
"url": "https://github.com/thephpleague/config.git",
"reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e"
"reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/thephpleague/config/zipball/a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e",
"reference": "a9d39eeeb6cc49d10a6e6c36f22c4c1f4a767f3e",
"url": "https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3",
"reference": "754b3604fb2984c71f4af4a9cbe7b57f346ec1f3",
"shasum": ""
},
"require": {
@ -205,7 +207,7 @@
"php": "^7.4 || ^8.0"
},
"require-dev": {
"phpstan/phpstan": "^0.12.90",
"phpstan/phpstan": "^1.8.2",
"phpunit/phpunit": "^9.5.5",
"scrutinizer/ocular": "^1.8.1",
"unleashedtech/php-coding-standard": "^3.1",
@ -265,7 +267,108 @@
"type": "github"
}
],
"time": "2021-08-14T12:15:32+00:00"
"time": "2022-12-11T20:36:23+00:00"
},
{
"name": "mibe/feedwriter",
"version": "v1.1.1",
"source": {
"type": "git",
"url": "https://github.com/mibe/FeedWriter.git",
"reference": "f4cc748ad8700e36663f08cfeebe7fd39b00eea2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/mibe/FeedWriter/zipball/f4cc748ad8700e36663f08cfeebe7fd39b00eea2",
"reference": "f4cc748ad8700e36663f08cfeebe7fd39b00eea2",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.1.x-dev"
}
},
"autoload": {
"psr-4": {
"FeedWriter\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"GPL-3.0"
],
"authors": [
{
"name": "Michael Bemmerl",
"email": "mail@mx-server.de"
},
{
"name": "Phil Freo"
},
{
"name": "Paul Ferrett"
},
{
"name": "Brennen Bearnes"
},
{
"name": "Michael Robinson",
"email": "mike@pagesofinterest.net"
},
{
"name": "Baptiste Fontaine"
},
{
"name": "Kristián Valentín"
},
{
"name": "Brandtley McMinn"
},
{
"name": "Julian Bogdani"
},
{
"name": "Anis Uddin Ahmad",
"email": "anis.programmer@gmail.com"
},
{
"name": "Cedric Gampert"
},
{
"name": "Yamek"
},
{
"name": "thielj"
},
{
"name": "Pavel Khakhlou"
},
{
"name": "Daniel"
},
{
"name": "Tino Goratsch"
}
],
"description": "Generate feeds in either RSS 1.0, RSS 2.0 or ATOM formats",
"homepage": "https://github.com/mibe/FeedWriter",
"keywords": [
"RSS 1.0",
"atom",
"feed",
"rss",
"rss 2.0",
"rss2"
],
"support": {
"issues": "https://github.com/mibe/FeedWriter/issues",
"source": "https://github.com/mibe/FeedWriter/tree/master"
},
"time": "2016-11-19T20:47:44+00:00"
},
{
"name": "mnapoli/front-yaml",
@ -306,25 +409,25 @@
},
{
"name": "nette/schema",
"version": "v1.2.2",
"version": "v1.2.3",
"source": {
"type": "git",
"url": "https://github.com/nette/schema.git",
"reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df"
"reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/schema/zipball/9a39cef03a5b34c7de64f551538cbba05c2be5df",
"reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df",
"url": "https://api.github.com/repos/nette/schema/zipball/abbdbb70e0245d5f3bf77874cea1dfb0c930d06f",
"reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f",
"shasum": ""
},
"require": {
"nette/utils": "^2.5.7 || ^3.1.5 || ^4.0",
"php": ">=7.1 <8.2"
"php": ">=7.1 <8.3"
},
"require-dev": {
"nette/tester": "^2.3 || ^2.4",
"phpstan/phpstan-nette": "^0.12",
"phpstan/phpstan-nette": "^1.0",
"tracy/tracy": "^2.7"
},
"type": "library",
@ -362,34 +465,36 @@
],
"support": {
"issues": "https://github.com/nette/schema/issues",
"source": "https://github.com/nette/schema/tree/v1.2.2"
"source": "https://github.com/nette/schema/tree/v1.2.3"
},
"time": "2021-10-15T11:40:02+00:00"
"time": "2022-10-13T01:24:26+00:00"
},
{
"name": "nette/utils",
"version": "v3.2.7",
"version": "v4.0.0",
"source": {
"type": "git",
"url": "https://github.com/nette/utils.git",
"reference": "0af4e3de4df9f1543534beab255ccf459e7a2c99"
"reference": "cacdbf5a91a657ede665c541eda28941d4b09c1e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/nette/utils/zipball/0af4e3de4df9f1543534beab255ccf459e7a2c99",
"reference": "0af4e3de4df9f1543534beab255ccf459e7a2c99",
"url": "https://api.github.com/repos/nette/utils/zipball/cacdbf5a91a657ede665c541eda28941d4b09c1e",
"reference": "cacdbf5a91a657ede665c541eda28941d4b09c1e",
"shasum": ""
},
"require": {
"php": ">=7.2 <8.2"
"php": ">=8.0 <8.3"
},
"conflict": {
"nette/di": "<3.0.6"
"nette/finder": "<3",
"nette/schema": "<1.2.2"
},
"require-dev": {
"nette/tester": "~2.0",
"jetbrains/phpstorm-attributes": "dev-master",
"nette/tester": "^2.4",
"phpstan/phpstan": "^1.0",
"tracy/tracy": "^2.3"
"tracy/tracy": "^2.9"
},
"suggest": {
"ext-gd": "to use Image",
@ -403,7 +508,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.2-dev"
"dev-master": "4.0-dev"
}
},
"autoload": {
@ -447,9 +552,9 @@
],
"support": {
"issues": "https://github.com/nette/utils/issues",
"source": "https://github.com/nette/utils/tree/v3.2.7"
"source": "https://github.com/nette/utils/tree/v4.0.0"
},
"time": "2022-01-24T11:29:14+00:00"
"time": "2023-02-02T10:41:53+00:00"
},
{
"name": "psr/event-dispatcher",
@ -503,25 +608,25 @@
},
{
"name": "symfony/deprecation-contracts",
"version": "v2.5.0",
"version": "v3.2.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
"reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8"
"reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8",
"reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8",
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/1ee04c65529dea5d8744774d474e7cbd2f1206d3",
"reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3",
"shasum": ""
},
"require": {
"php": ">=7.1"
"php": ">=8.1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "2.5-dev"
"dev-main": "3.3-dev"
},
"thanks": {
"name": "symfony/contracts",
@ -550,7 +655,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0"
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.0"
},
"funding": [
{
@ -566,20 +671,20 @@
"type": "tidelift"
}
],
"time": "2021-07-12T14:48:14+00:00"
"time": "2022-11-25T10:21:52+00:00"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.24.0",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "30885182c981ab175d4d034db0f6f469898070ab"
"reference": "5bbc823adecdae860bb64756d639ecfec17b050a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab",
"reference": "30885182c981ab175d4d034db0f6f469898070ab",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a",
"reference": "5bbc823adecdae860bb64756d639ecfec17b050a",
"shasum": ""
},
"require": {
@ -594,7 +699,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.23-dev"
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
@ -602,12 +707,12 @@
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Ctype\\": ""
},
"files": [
"bootstrap.php"
]
],
"psr-4": {
"Symfony\\Polyfill\\Ctype\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@ -632,7 +737,7 @@
"portable"
],
"support": {
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.24.0"
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0"
},
"funding": [
{
@ -648,20 +753,20 @@
"type": "tidelift"
}
],
"time": "2021-10-20T20:35:02+00:00"
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "symfony/polyfill-php80",
"version": "v1.24.0",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
"reference": "57b712b08eddb97c762a8caa32c84e037892d2e9"
"reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/57b712b08eddb97c762a8caa32c84e037892d2e9",
"reference": "57b712b08eddb97c762a8caa32c84e037892d2e9",
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936",
"reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936",
"shasum": ""
},
"require": {
@ -670,7 +775,7 @@
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.23-dev"
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
@ -715,7 +820,7 @@
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php80/tree/v1.24.0"
"source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0"
},
"funding": [
{
@ -731,32 +836,31 @@
"type": "tidelift"
}
],
"time": "2021-09-13T13:58:33+00:00"
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "symfony/yaml",
"version": "v5.4.3",
"version": "v6.2.5",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "e80f87d2c9495966768310fc531b487ce64237a2"
"reference": "2bbfbdacc8a15574f8440c4838ce0d7bb6c86b19"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/e80f87d2c9495966768310fc531b487ce64237a2",
"reference": "e80f87d2c9495966768310fc531b487ce64237a2",
"url": "https://api.github.com/repos/symfony/yaml/zipball/2bbfbdacc8a15574f8440c4838ce0d7bb6c86b19",
"reference": "2bbfbdacc8a15574f8440c4838ce0d7bb6c86b19",
"shasum": ""
},
"require": {
"php": ">=7.2.5",
"symfony/deprecation-contracts": "^2.1|^3",
"php": ">=8.1",
"symfony/polyfill-ctype": "^1.8"
},
"conflict": {
"symfony/console": "<5.3"
"symfony/console": "<5.4"
},
"require-dev": {
"symfony/console": "^5.3|^6.0"
"symfony/console": "^5.4|^6.0"
},
"suggest": {
"symfony/console": "For validating YAML files using the lint command"
@ -790,7 +894,7 @@
"description": "Loads and dumps YAML files",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/yaml/tree/v5.4.3"
"source": "https://github.com/symfony/yaml/tree/v6.2.5"
},
"funding": [
{
@ -806,7 +910,7 @@
"type": "tidelift"
}
],
"time": "2022-01-26T16:32:32+00:00"
"time": "2023-01-10T18:53:53+00:00"
},
{
"name": "tildeteam/wiki",
@ -862,7 +966,8 @@
"ext-shmop": "*",
"ext-sockets": "*",
"ext-posix": "*",
"ext-mbstring": "*"
"ext-mbstring": "*",
"ext-ctype": "*"
},
"platform-dev": [],
"plugin-api-version": "2.2.0"

2
css/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
hacker.css
dracula.css

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
*/
select {
background-color: darken(@btn-default-bg,5%);
background-color: darken(@btn-default-bg, 5%);
border-color: @btn-default-border;
padding: 5px;
}
@ -31,12 +31,29 @@ a {
text-decoration: underline;
}
.btn-default { .btn-styles(@btn-default-bg); }
.btn-primary { .btn-styles(@btn-primary-bg); }
.btn-success { .btn-styles(@btn-success-bg); }
.btn-info { .btn-styles(@btn-info-bg); }
.btn-warning { .btn-styles(@btn-warning-bg); }
.btn-danger { .btn-styles(@btn-danger-bg); }
.btn-default {
.btn-styles(@btn-default-bg);
}
.btn-primary {
.btn-styles(@btn-primary-bg);
}
.btn-success {
.btn-styles(@btn-success-bg);
}
.btn-info {
.btn-styles(@btn-info-bg);
}
.btn-warning {
.btn-styles(@btn-warning-bg);
}
.btn-danger {
.btn-styles(@btn-danger-bg);
}
// Forms
@ -163,15 +180,28 @@ tr.active {
}
}
.alert-success .close { .close-styles(@brand-success); }
.alert-info .close { .close-styles(@brand-info); }
.alert-warning .close { .close-styles(@brand-warning); }
.alert-danger .close { .close-styles(@brand-danger); }
.alert-success .close {
.close-styles(@brand-success);
}
.alert-info .close {
.close-styles(@brand-info);
}
.alert-warning .close {
.close-styles(@brand-warning);
}
.alert-danger .close {
.close-styles(@brand-danger);
}
// Modals
// Apply close button mixin
.modal-header .close { .close-styles(@close-color); }
.modal-header .close {
.close-styles(@close-color);
}
// List groups
@ -187,6 +217,7 @@ tr.active {
border: 1px solid #222;
}
}
p {
word-wrap: break-word;
overflow-wrap: break-word;
@ -197,14 +228,17 @@ tr.active {
background: @hacker-primary-lighter;
color: @hacker-bg
}
*::selection {
background: @hacker-primary-lighter;
color: @hacker-bg
}
::-moz-selection {
background: @hacker-primary-lighter;
color: @hacker-bg
}
*::-moz-selection {
background: @hacker-primary-lighter;
color: @hacker-bg

View File

@ -1,9 +1,50 @@
// import bootstrap base
@import "../node_modules/bootstrap/less/bootstrap.less";
// @import (inline) "plex.css";
// import custom variables
@import "dracula_variables.less";
@import "variables.less";
// dracula colors by SinaCutie
@hacker-primary-darker: darken(@hacker-primary, 20%); /* Primary 1 */
@hacker-primary-dark: darken(@hacker-primary, 10%); /* Primary 2 */
@hacker-primary: #F8F8F2; /* Main primary */
@hacker-primary-light: lighten(@hacker-primary, 10%); /* Primary 3 */
@hacker-primary-lighter: lighten(@hacker-primary, 20%); /* Primary 3 */
@hacker: @hacker-primary-lighter; /* Body text */
@hacker-bg: #282A36; /* Body bg */
@hacker-box-bg: lighten(@hacker-bg, 10%); /* Container elem bg */
@hacker-box-border: lighten(@hacker-bg, 20%); /* Container border */
@brand-primary: @hacker-primary;
@brand-success: #50FA7B;
@brand-warning: #F1FA8C;
@brand-danger: #FF5555;
@brand-info: #8BE9FD;
@comment: #6272A4;
@link-color: #BD93F9;
@pre-color: @hacker-primary;
@btn-default-color: @hacker-primary-lighter;
@btn-default-bg: @comment;
@btn-default-border: @hacker-box-border;
@btn-primary-bg: @hacker-primary-light;
@table-bg-active: @comment;
@panel-bg: @hacker-bg;
@panel-inner-border: @hacker-box-bg;
@panel-footer-bg: @hacker-box-bg;
@panel-default-heading-bg: lighten(@hacker-bg, 10%);
@panel-primary-text: @hacker-primary;
@panel-primary-border: @hacker-box-bg;
@panel-primary-heading-bg: @hacker-box-bg;
@list-group-active-bg: @comment;
@progress-bar-color: lighten(@hacker-primary-lighter, 10%);
@progress-bar-bg: #FFB86C;
// import custom theme changes
@import "_theme.less";

View File

@ -1,367 +0,0 @@
/*
A Bootstrap theme for 31337 H4X0RS
by Tobin Brown, 2015
forked by benharri for tilde.team
dracula colors for tilde.team by SinaCutie
Palette URL: http://paletton.com/#uid=12U0u0knnfti5bkladVnSlVo6tw
*/
// Hacker Colors
@hacker-primary-darker: darken(@hacker-primary, 20%); /* Primary 1 */
@hacker-primary-dark: darken(@hacker-primary, 10%); /* Primary 2 */
@hacker-primary: #F8F8F2; /* Main primary */
@hacker-primary-light: lighten(@hacker-primary, 10%); /* Primary 3 */
@hacker-primary-lighter: lighten(@hacker-primary, 20%); /* Primary 3 */
@hacker: @hacker-primary-lighter; /* Body text */
@hacker-bg: #282A36; /* Body bg */
@hacker-box-bg: lighten(@hacker-bg, 10%); /* Container elem bg */
@hacker-box-border: lighten(@hacker-bg, 20%); /* Container border */
// Bootstrap Colors
@gray-darker: #181417;
@gray-dark: #453c44;
@gray: #675b65;
@gray-light: #907f8d;
@gray-lighter: #b9adb6;
@brand-primary: @hacker-primary;
@brand-success: #50FA7B;
@brand-warning: #F1FA8C;
@brand-danger: #FF5555;
@brand-info: #8BE9FD;
@comment: #6272A4;
// Scaffolding
@body-bg: @hacker-bg;
@text-color: @hacker;
@link-color: #BD93F9;
@link-hover-color: lighten(@link-color, 10%);
@padding-base-vertical: 6px;
@padding-base-horizontal: 2ch;
@padding-large-vertical: 10px;
@padding-large-horizontal: 3ch;
@padding-small-vertical: 5px;
@padding-small-horizontal: 1ch;
@border-radius-base: 2;
@border-radius-large: 4;
@border-radius-small: 1;
@line-height-base: 1.428571429;
@line-height-with-unit: 1.428571429em;
@line-height-large: @line-height-base * 2;
@line-height-small: @line-height-base;
@component-active-color: @hacker-bg;
@component-active-bg: @hacker-primary-lighter;
// Typography
@font-family-monospace: "IBM Plex Mono", "JetBrains Mono", "Fira Mono", Consolas, Inconsolata, monospace;
@font-family-sans-serif: @font-family-monospace;
@font-family-serif: @font-family-monospace;
@font-family-base: @font-family-monospace;
@font-size-base: 16px;
@font-size-large: ceil(@font-size-base * 1.25);
@font-size-small: ceil(@font-size-base * 0.85);
@font-size-h1: floor((@font-size-base * 3));
@font-size-h2: floor((@font-size-base * 2.5));
@font-size-h3: floor((@font-size-base * 2));
@font-size-h4: floor((@font-size-base * 1.5));
@font-size-h5: floor((@font-size-base * 1.25));
@font-size-h6: @font-size-base;
@line-height-computed: floor(@font-size-base * @line-height-base);
@headings-font-family: @font-family-base;
@headings-font-weight: 500;
@headings-line-height: @line-height-base;
@headings-color: @hacker-primary-lighter;
// Code
@code-color: @hacker-primary-lighter;
@code-bg: @hacker-box-bg;
@kbd-color: @hacker-primary-lighter;
@kbd-bg: @hacker-box-bg;
@pre-color: @hacker-primary;
@pre-bg: @hacker-box-bg;
@pre-border-color: @hacker-box-border;
// Buttons
@btn-font-weight: normal;
@btn-default-color: @hacker-primary-lighter;
@btn-default-bg: @comment;
@btn-default-border: @hacker-box-border;
@btn-primary-color: @hacker-bg;
@btn-primary-bg: @hacker-primary-light;
@btn-primary-border: darken(@btn-primary-bg, 10%);
@btn-success-color: @hacker-bg;
@btn-success-bg: @brand-success;
@btn-success-border: darken(@btn-success-bg, 10%);
@btn-warning-color: @hacker-bg;
@btn-warning-bg: @brand-warning;
@btn-warning-border: darken(@btn-warning-bg, 10%);
@btn-danger-color: @hacker-bg;
@btn-danger-bg: @brand-danger;
@btn-danger-border: darken(@btn-danger-bg, 10%);
@btn-info-color: @hacker-bg;
@btn-info-bg: @brand-info;
@btn-info-border: darken(@btn-info-bg, 10%);
@btn-link-disabled-color: @gray-light;
// Well
@well-bg: @hacker-box-bg;
@well-border: @hacker-box-border;
// Dropdowns
@dropdown-bg: @hacker-box-bg;
@dropdown-border: @hacker-box-border;
@dropdown-divider-bg: @hacker-box-border;
@dropdown-link-active-color: @component-active-color;
@dropdown-link-active-bg: @component-active-bg;
@dropdown-link-color: @hacker-primary-light;
@dropdown-link-hover-color: @link-hover-color;
@dropdown-link-hover-bg: @gray-darker;
@dropdown-link-disabled-color: @gray-light;
@dropdown-header-color: @headings-color;
@dropdown-caret-color: #000000;
// Custom colors
@dropdown-header-bg: lighten(@dropdown-bg, 10%);
// Forms
@input-bg: @hacker-bg;
@input-bg-disabled: lighten(@hacker-bg, 20%);
@input-color: @hacker;
@input-border: @hacker-box-border;
@input-border-focus: @component-active-bg;
@input-border-radius: @border-radius-base;
@input-color-placeholder: @hacker;
@input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2);
@input-height-large: (floor(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2);
@input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2);
@legend-color: @headings-color;
@legend-border-color: @hacker-box-border;
@input-group-addon-bg: @hacker-bg;
@input-group-addon-border-color: @input-border;
// Table
@table-cell-padding: 8px;
@table-condensed-cell-padding: 5px;
@table-cell-padding: 8px;
@table-condensed-cell-padding: 5px;
@table-bg: @hacker-box-bg;
@table-bg-accent: lighten(@hacker-bg, 13%);
@table-bg-hover: darken(@gray-darker, 5%); /* Match active */
@table-bg-active: @comment;
@table-border-color: @hacker-box-border;
// Custom colors
@table-heading-color: @hacker-primary-lighter;
@table-heading-bg: darken(@hacker-box-bg, 5%);
@table-hover-color: @hacker-primary-lighter;
@table-active-color: @hacker-primary-lighter;
// Navbar
@navbar-height: 50px;
@navbar-margin-bottom: @line-height-computed;
@navbar-default-color: @hacker;
@navbar-default-bg: @hacker-box-bg;
@navbar-default-border: @hacker-bg;
@navbar-border-radius: @border-radius-base;
@navbar-padding-horizontal: floor(@grid-gutter-width / 2);
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
@navbar-default-link-color: @link-color;
@navbar-default-link-hover-color: @link-hover-color;
@navbar-default-link-hover-bg: @hacker-bg;
@navbar-default-link-active-color: @hacker-bg;
@navbar-default-link-active-bg: @hacker-primary-lighter;
@navbar-default-link-disabled-color: #CCCCCC;
@navbar-default-link-disabled-bg: transparent;
@navbar-default-brand-color: @navbar-default-link-color;
@navbar-default-brand-hover-color: lighten(@navbar-default-link-color, 10%);
@navbar-default-brand-hover-bg: transparent;
@navbar-default-toggle-hover-bg: #DDDDDD;
@navbar-default-toggle-icon-bar-bg: #888888;
@navbar-default-toggle-border-color: #DDDDDD;
// Navs Tabs
@nav-link-padding: 10px 15px;
@nav-link-hover-bg: @gray-darker;
@nav-disabled-link-color: @hacker-primary-light;
@nav-disabled-link-hover-color: @gray-light;
@nav-tabs-border-color: #444444;
@nav-tabs-link-hover-border-color: #444444;
@nav-tabs-active-link-hover-bg: @hacker-primary-lighter;
@nav-tabs-active-link-hover-color: @hacker-bg;
@nav-tabs-active-link-hover-border-color: #444444;
@nav-tabs-justified-link-border-color: #DDDDDD;
@nav-tabs-justified-active-link-border-color: @body-bg;
@nav-pills-border-radius: @border-radius-base;
@nav-pills-active-link-hover-bg: @component-active-bg;
@nav-pills-active-link-hover-color: @component-active-color;
// Panel
@panel-bg: @hacker-bg;
@panel-body-padding: 15px;
@panel-heading-padding: 10px 15px;
@panel-footer-padding: @panel-heading-padding;
@panel-border-radius: @border-radius-base;
@panel-inner-border: @hacker-box-bg;
@panel-footer-bg: @hacker-box-bg;
@panel-default-text: @hacker-bg;
@panel-default-border: @hacker-box-bg;
@panel-default-heading-bg: lighten(@hacker-bg, 10%);
@panel-primary-text: @hacker-primary;
@panel-primary-border: @hacker-box-bg;
@panel-primary-heading-bg: @hacker-box-bg;
@panel-success-text: @state-success-text;
@panel-success-border: @state-success-border;
@panel-success-heading-bg: @state-success-bg;
@panel-info-text: @state-info-text;
@panel-info-border: @state-info-border;
@panel-info-heading-bg: @state-info-bg;
@panel-warning-text: @state-warning-text;
@panel-warning-border: @state-warning-border;
@panel-warning-heading-bg: @state-warning-bg;
@panel-danger-text: @state-danger-text;
@panel-danger-border: @state-danger-border;
@panel-danger-heading-bg: @state-danger-bg;
// Jumbotron
@jumbotron-padding: 30px;
@jumbotron-color: inherit;
@jumbotron-bg: lighten(@hacker-bg, 10%);
@jumbotron-heading-color: @headings-color;
@jumbotron-font-size: ceil((@font-size-base * 1.5));
// Pagination
@pagination-bg: @hacker-bg;
@pagination-border: #444444;
@pagination-hover-bg: @gray-darker;
@pagination-hover-color: @link-hover-color;
@pagination-hover-border: @pagination-border;
@pagination-active-bg: @component-active-bg;
@pagination-active-color: @component-active-color;
@pagination-active-border: @pagination-border;
@pagination-disabled-color: @hacker-primary;
@pagination-disabled-bg: @pagination-bg;
@pagination-disabled-border: @pagination-border;
@pager-bg: @pagination-bg;
@pager-border: @pagination-border;
@pager-border-radius: 0;
@pager-hover-bg: @pagination-hover-bg;
@pager-active-bg: @pagination-active-bg;
@pager-active-color: @pagination-active-color;
@pager-bg: @pagination-bg;
@pager-disabled-color: @gray-light;
// Form States
@state-warning-text: @brand-warning;
@state-warning-bg: lighten(@hacker-bg, 10%);
@state-warning-border: darken(spin(@state-warning-bg, -10), 3%);
@state-danger-text: @brand-danger;
@state-danger-bg: lighten(@hacker-bg, 10%);
@state-danger-border: darken(spin(@state-danger-bg, -10), 3%);
@state-success-text: @brand-success;
@state-success-bg: lighten(@hacker-bg, 10%);
@state-success-border: darken(spin(@state-success-bg, -10), 5%);
@state-info-text: @brand-info;
@state-info-bg: lighten(@hacker-bg, 10%);
@state-info-border: darken(spin(@state-info-bg, -10), 7%);
// ToolTip
@tooltip-max-width: 200px;
@tooltip-color: #FFFFFF;
@tooltip-bg: #000000;
@tooltip-arrow-width: 5px;
@tooltip-arrow-color: @tooltip-bg;
@tooltip-opacity: .9;
// Popover
@popover-bg: @hacker-box-bg;
@popover-max-width: 276px;
@popover-border-color: rgba(0,0,0,.2);
@popover-fallback-border-color: #333333;
@popover-title-bg: darken(@popover-bg, 3%);
@popover-arrow-width: 10px;
@popover-arrow-color: @popover-bg;
@popover-arrow-outer-width: (@popover-arrow-width + 1);
@popover-arrow-outer-color: rgba(0,0,0,.25);
@popover-arrow-outer-fallback-color: #999999;
// List Group
@list-group-bg: lighten(@hacker-bg, 5%);
@list-group-border: #222222;
@list-group-border-radius: @border-radius-base;
@list-group-hover-bg: lighten(@hacker-bg, 10%);
@list-group-active-color: @hacker-primary-lighter;
@list-group-active-bg: @comment;
@list-group-active-border: @list-group-active-bg;
@list-group-active-text-color: @hacker-bg;
@list-group-link-color: @hacker;
@list-group-link-heading-color: @hacker;
// Modal
@modal-content-bg: @hacker-box-bg;
@modal-content-border-color: transparent;
@modal-content-fallback-border-color: #999999;
@modal-backdrop-bg: @hacker-bg;
@modal-backdrop-opacity: .5;
@modal-header-border-color: lighten(@hacker-bg, 10%);
@modal-footer-border-color: @modal-header-border-color;
// Badge
@badge-color: @hacker;
@badge-bg: @hacker-bg;
// Progress bars
@progress-bg: @hacker-box-bg;
@progress-bar-color: lighten(@hacker-primary-lighter, 10%);
@progress-bar-bg: #FFB86C;
@progress-bar-success-bg: @brand-success;
@progress-bar-warning-bg: @brand-warning;
@progress-bar-danger-bg: @brand-danger;
@progress-bar-info-bg: @brand-info;
// Breadcrumb
@breadcrumb-bg: @hacker-box-bg;
@breadcrumb-color: @hacker-primary-light;
@breadcrumb-active-color: lighten(@hacker, 10%);
// Close
@close-color: @hacker-primary-light;
@close-text-shadow: none;
// Labels
@label-color: @hacker-bg;
// hr
@hr-border: lighten(@hacker-bg, 20%);

View File

@ -3,7 +3,7 @@
// @import (inline) "plex.css";
// import custom variables
@import "hacker_variables.less";
@import "variables.less";
// import custom theme changes
@import "_theme.less";

View File

@ -1,49 +1,56 @@
@font-face {
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 300;
src: local('IBM Plex Mono Light Italic'), local('IBMPlexMono-LightItalic'), url(https://tilde.team/fonts/plex/IBMPlexMono-LightItalic.woff2) format('woff2');
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 300;
src: local('IBM Plex Mono Light Italic'), local('IBMPlexMono-LightItalic'), url(https://tilde.team/fonts/plex/IBMPlexMono-LightItalic.woff2) format('woff2');
}
/* latin */
@font-face {
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 400;
src: local('IBM Plex Mono Italic'), local('IBMPlexMono-Italic'), url(https://tilde.team/fonts/plex/IBMPlexMono-Italic.woff2) format('woff2');
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 400;
src: local('IBM Plex Mono Italic'), local('IBMPlexMono-Italic'), url(https://tilde.team/fonts/plex/IBMPlexMono-Italic.woff2) format('woff2');
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 500;
src: local('IBM Plex Mono Medium Italic'), local('IBMPlexMono-MediumItalic'), url(https://tilde.team/fonts/plex/IBMPlexMono-MediumItalic.woff2) format('woff2');
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 500;
src: local('IBM Plex Mono Medium Italic'), local('IBMPlexMono-MediumItalic'), url(https://tilde.team/fonts/plex/IBMPlexMono-MediumItalic.woff2) format('woff2');
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 700;
src: local('IBM Plex Mono Bold Italic'), local('IBMPlexMono-BoldItalic'), url(https://tilde.team/fonts/plex/IBMPlexMono-BoldItalic.woff2) format('woff2');
font-family: 'IBM Plex Mono';
font-style: italic;
font-weight: 700;
src: local('IBM Plex Mono Bold Italic'), local('IBMPlexMono-BoldItalic'), url(https://tilde.team/fonts/plex/IBMPlexMono-BoldItalic.woff2) format('woff2');
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 300;
src: local('IBM Plex Mono Light'), local('IBMPlexMono-Light'), url(https://tilde.team/fonts/plex/IBMPlexMono-Light.woff2) format('woff2');
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 300;
src: local('IBM Plex Mono Light'), local('IBMPlexMono-Light'), url(https://tilde.team/fonts/plex/IBMPlexMono-Light.woff2) format('woff2');
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
src: local('IBM Plex Mono'), local('IBMPlexMono'), url(https://tilde.team/fonts/plex/IBMPlexMono-Regular.woff2) format('woff2');
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 400;
src: local('IBM Plex Mono'), local('IBMPlexMono'), url(https://tilde.team/fonts/plex/IBMPlexMono-Regular.woff2) format('woff2');
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 500;
src: local('IBM Plex Mono Medium'), local('IBMPlexMono-Medium'), url(https://tilde.team/fonts/plex/IBMPlexMono-Medium.woff2) format('woff2');
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 500;
src: local('IBM Plex Mono Medium'), local('IBMPlexMono-Medium'), url(https://tilde.team/fonts/plex/IBMPlexMono-Medium.woff2) format('woff2');
}
@font-face {
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 700;
src: local('IBM Plex Mono Bold'), local('IBMPlexMono-Bold'), url(https://tilde.team/fonts/plex/IBMPlexMono-Bold.woff2) format('woff2');
font-family: 'IBM Plex Mono';
font-style: normal;
font-weight: 700;
src: local('IBM Plex Mono Bold'), local('IBMPlexMono-Bold'), url(https://tilde.team/fonts/plex/IBMPlexMono-Bold.woff2) format('woff2');
}

929
css/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,11 +2,11 @@
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://tilde.team/css/hacker.css">
<title>my page</title>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://tilde.team/css/hacker.css">
<title>my page</title>
</head>
<body>

View File

@ -92,11 +92,13 @@ $parser = wiki::factory(true);
</div>
</div>
</div>
<div class="col-md-6">
<h2 id="projects">~projects~</h2>
<?php foreach (json_decode(file_get_contents("https://tildegit.org/api/v1/orgs/team/repos?limit=100")) ?? [] as $repo):
<?php // readonly token, gitea changed perms on this endpoint
$repo_url = "https://tildegit.org/api/v1/orgs/team/repos?limit=100&token=448c748ee0082f46ccf246daf759874ca5d067cb";
foreach (json_decode(file_get_contents($repo_url)) ?? [] as $repo):
if ($repo->archived) continue; ?>
<div class="list-group">
@ -122,6 +124,24 @@ $parser = wiki::factory(true);
</div>
</div>
<hr>
<div class="row">
<div class="col-md-12">
<h2 id="newstuff">~user spotlight~</h2>
<div class="list-group">
<div class="list-group-item">
<ul>
<li>
<a href="https://gtlsgamr.tilde.team">~gtlsgamr</a> has made a <a href="https://gtlsgamr.tilde.team/nethack_scores.php">page</a> to show tilde.team's top nethack scorers!
</li>
<li>
For the text-only enthusiasts, <a href="https://soxfox.tilde.team">~soxfox</a> has also made a <a href="gemini://tilde.team/~soxfox/nethack">gemini page</a> to show nethack scorers.
</li>
</ul>
</div>
</div>
</div>
</div>
<hr>
<div class="clearfix">
<h2 id="users">~users~</h2>

16
logos/mail.svg Normal file
View File

@ -0,0 +1,16 @@
<svg xmlns="http://www.w3.org/2000/svg"
width="240"
height="240">
<g fill="white" stroke="black">
<path d="M4 120L120 4l116 116"
stroke-width="8" stroke-linecap="round"/>
<path d="M210 200V40H30v160z"
stroke-width="3.5"/>
<path d="M236 120l-116 45L4 120v116h232z"
stroke-width="8" stroke-linejoin="round"/>
</g>
<path d="M70.33 110.55c1.05-2.68 2.55-4.86 4.27-7.21 8.94-12.2 19.62-11.8 32.66-6.53 15.52 6.28 30.61 17.28 48.22 12.37 7.41-2.07 13.19-7.01 17.78-13.05 1.57-2.07 5.1-5.34 4.62-8.24-.4-2.41-3.28-4.63-4.96-6.18-1.44-1.34-2.35-1.55-4.1-2.06-4.03 5.7-8.79 13.2-15.39 16.14-8.44 3.77-17.13-1.08-24.62-4.64-14.02-6.65-30.38-14.54-46.17-10.13-9.71 2.71-27.87 16.42-17.44 26.45 1.78 1.71 2.86 2.43 5.13 3.09"
fill="black"/>
<path d="M4 236l116-96 116 96z"
fill="white" stroke="black" stroke-width="8" stroke-linejoin="round"/>
</svg>

After

Width:  |  Height:  |  Size: 886 B

7
logos/team.svg Normal file
View File

@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg"
width="240" height="240">
<path d="M34.05 232.58c1.75-20.09 9.89-38.03 23.92-52.71 6.68-7 16.25-14.23 23.85-18.04 2.25-1.13 4.25-2.19 4.44-2.36s-1.73-2.59-4.27-5.37c-10.61-11.61-14.96-28.28-11.56-44.32 2.16-10.19 6.24-17.53 14.04-25.25 7.97-7.89 13.49-11.12 23.35-13.64 8.91-2.28 16.39-2.28 25.3 0 9.85 2.52 15.38 5.75 23.35 13.64 7.79 7.72 11.88 15.06 14.04 25.25 3.38 15.94-1.01 32.78-11.54 44.3-2.55 2.79-4.49 5.22-4.29 5.39s2.19 1.23 4.44 2.36c7.6 3.81 17.17 11.04 23.85 18.04 14.02 14.68 22.16 32.62 23.92 52.71l.65 7.42H33.4zM0 42.94c2.94-1.13 14.48-1.06 21.29.68 9.85 2.52 15.38 5.75 23.35 13.64 7.79 7.72 11.88 15.06 14.04 25.25 3.38 15.94-1.01 32.78-11.54 44.3-2.55 2.79-4.49 5.22-4.29 5.39s2.19 1.23 4.44 2.36c7.14 3.58 16.61 10.62 23.13 17.2 3.47 3.51 6.13 6.52 5.91 6.69s-3.27 2.2-6.77 4.5c-8.18 5.37-20.74 18.26-26.68 27.37-2.56 3.92-5.95 10.57-7.55 14.77l-2.9 7.64H16.21 0zm205.54 162.02c-1.62-4.27-5.34-11.33-8.25-15.69-6.25-9.35-19.86-22.86-27.98-27.78-3.12-1.89-5.68-3.75-5.68-4.13s2.97-3.55 6.59-7.05c6.83-6.58 14.52-12.2 21.59-15.75 2.25-1.13 4.25-2.2 4.44-2.37s-1.73-2.59-4.27-5.37c-10.61-11.61-14.96-28.28-11.56-44.32 2.16-10.19 6.24-17.53 14.04-25.25 3.8-3.76 9.02-7.96 11.61-9.34 8.79-4.67 24.75-7.44 31.89-5.52l2.05.55v169.79h-15.75-15.75z"
fill="black" stroke="white" stroke-width="8" paint-order="stroke"/>
<path d="M84.48 217.12c.75-1.91 1.82-3.48 3.06-5.16 6.39-8.72 14.03-8.44 23.35-4.67 11.1 4.49 21.89 12.36 34.48 8.84 5.3-1.48 9.43-5.02 12.72-9.33 1.13-1.48 3.65-3.82 3.3-5.9-.29-1.72-2.35-3.31-3.55-4.42-1.03-.96-1.68-1.11-2.93-1.47-2.88 4.08-6.29 9.44-11 11.54-6.03 2.69-12.25-.77-17.61-3.32-10.03-4.76-21.72-10.4-33.01-7.25-6.95 1.94-19.93 11.74-12.47 18.91 1.27 1.22 2.05 1.74 3.67 2.21"
fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

5
logos/verse.svg Normal file
View File

@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg"
width="240" height="240">
<path d="M127.26 10.25c1.89 8.99 4.12 15.75-.14 24.77-3.13 6.62-7.72 12.53-12.67 17.94-3.4 3.71-7.7 6.48-11.1 10.25-7.33 8.12-10.89 19.48-6.69 29.89 1.38 3.42 3.32 6.47 5.55 9.4 2.9 3.8 6.24 7.25 10.53 9.4-2.18-4.35-4.7-8.61-4.98-13.67-1.13-20.27 21.65-29.97 32.03-43.56 11.38-14.89 2.44-35.75-12.53-44.41m-17.08 1.71c.77 4.18 1.42 8.13-1.14 11.96-4.88 7.33-18.14 13.21-13.24 23.91a20 20 0 0 0 2.56 4.27c1.25 1.54 2.49 2.47 4.13 3.42-3.56-12.3 7.24-16.34 12.53-25.62 3.76-6.61 1.66-14.18-4.84-17.94M80.28 81.99c2.96-1.09 5.97-2.59 8.54-4.56a21.1 21.1 0 0 0 4.55-4.84c10.4-14.97-8.22-27.17-11.1-41-1.5-7.21 1.49-11.3 4.84-17.08-3.21.68-6 2.29-8.54 4.41-1.73 1.44-3.55 3.13-4.84 4.98-9.64 13.88 6.63 27.23 9.68 40.14 1.63 6.91-.86 11.78-3.13 17.94m52.95-15.37v.85c3.45 2.18 7.11 4.21 11.1 5.27 26.92 7.1 23.38-41.27 50.39-33.45-5.08-7.15-18.47-8.95-25.62-3.99-11.33 7.87-12.76 24.27-26.48 30.18-3.05 1.31-6.15 1.14-9.4 1.14m-104.2-8.54v.85c18.34 0 27.15 20.02 31.32 35.02 2.05 7.39 2.91 14.88 7.4 21.35 10.38 14.95 26.02 10.39 40.71 7.69-2.13-1.65-5.01-1.21-7.69-1.99-7.21-2.1-13.04-7.94-16.8-14.24C74.93 91.6 80.1 67.6 63.2 57.51c-3.01-1.8-6.01-2.43-9.4-3.13-3.29-.69-6.9-.94-10.25-.28a92.5 92.5 0 0 0-14.52 3.99m179.36-.85c-4.11 4-7.86 5.69-13.67 5.12-9.11-.89-20.69-8.97-26.19 3.42-.95 2.13-1.57 4.56-1.99 6.83 5.58-3.23 8.39-5.8 15.37-5.12 6.11.59 12.46 4.48 18.79 2.28 4.15-1.44 9.36-8.43 7.69-12.53m9.4 14.52c-6.74 8.26-15.64 12.81-26.48 12.81-19.42 0-41.05-17.03-58.08 0-2.44 2.44-4.38 5.45-5.84 8.54-2.39 5.05-3.41 10.79-4.41 16.23h.85c1.5-2.99 3.55-5.36 5.98-7.69 19.79-18.97 44.07 6.8 65.77 2.28 11.6-2.42 18.35-12.78 21.21-23.63.67-2.55 1.88-6.38 1-8.54M23.91 74.31v.85c4.15 2.08 7.86 4.16 10.11 8.54 3.82 7.42 1.36 19.12 12.1 21.21 1.62.32 3.5.25 5.12 0a19.6 19.6 0 0 0 5.12-1.57c-3.58-2.77-7.21-3.94-9.96-8.54-4.64-7.77-3-20.21-14.8-21.35-2.63-.26-5.11.65-7.69.85m-9.4 22.21c0 4.54-.26 9.28 1.14 13.67 2.93 9.19 11.44 12.18 20.21 12.67 2.82.16 5.6-1 8.54-.71 10.9 1.06 18.77 4.17 24.77 13.67h.85c0-3.81.01-7.37-.71-11.1-.46-2.35-.82-4.76-2.14-6.83-8.75-13.8-27.11-4.4-39.86-8.83-7.09-2.46-8.23-8.15-12.81-12.53m157.15 6.83c0 5.37-.24 11.19 1.99 16.23 3.88 8.72 11.89 9.4 20.21 9.4 12.73 0 27.66-1.51 32.46 13.67h.85c0-4.54.26-9.28-1.14-13.67-5.58-17.48-26.53-10.25-39.86-13.95-7.22-2.01-9.21-7.78-14.52-11.67m-40.14 12.81v.85a27.8 27.8 0 0 1 10.25 2.28c13.37 5.76 18.49 20.33 21.07 33.59 2.26 11.6 3.74 23.79 15.66 29.75 2.46 1.23 5.04 1.58 7.69 2.14 2.76.58 5.69.85 8.54.57 5.59-.54 11.05-2.36 16.23-4.27-1.89-1.37-5.21-1.13-7.69-1.99-5.22-1.81-10.08-6.5-13.38-10.82-13.45-17.61-8.56-52.75-37.01-55.52-7.46-.73-14.21 2.1-21.35 3.42m-4.27 11.1c2.18 4.35 4.7 8.61 4.98 13.67 1.13 20.27-21.65 29.97-32.03 43.56-11.38 14.89-2.44 35.75 12.53 44.41-1.89-8.99-4.12-15.75.14-24.77 3.13-6.62 7.72-12.53 12.67-17.94 3.4-3.71 7.7-6.48 11.1-10.25 7.33-8.12 10.89-19.48 6.69-29.89-1.38-3.42-3.32-6.47-5.55-9.4-2.9-3.8-6.24-7.25-10.53-9.4m-11.96 2.56c-1.5 2.99-3.55 5.36-5.98 7.69-20.75 19.89-46.5-9.3-69.18-1.42-13.98 4.86-16.13 19.17-19.64 31.32 3.4-2.14 5.82-5.92 9.4-8.26 4.51-2.94 12.57-4.85 17.94-4.55 16.3.91 33.35 12.21 49.54 5.69 9.44-3.8 14.44-12.46 16.94-21.92.68-2.56 2.17-6.55 1-8.54m70.04 5.98v.85c13.55 1.43 10.35 18.89 17.22 26.48 4.23 4.67 9.9 2.98 15.23 2.56-2.35-2.99-6.7-4.06-9.11-7.69-5.2-7.81-1.16-19.96-12.24-23.34a13.2 13.2 0 0 0-5.12-.57 19.4 19.4 0 0 0-5.98 1.71m-26.48 20.5c-4.43 2.8-9.36 4.84-12.53 9.4-8.59 12.38 3.77 22.91 8.97 33.31 2.63 5.26 4.04 12.36 1.57 17.94-.99 2.23-2.8 3.93-3.99 5.98 3.21-.68 5.99-2.29 8.54-4.41 1.73-1.44 3.55-3.13 4.84-4.98 9.52-13.71-6.66-26.5-9.68-39.29-.8-3.38-1.07-7.75 0-11.1.77-2.41 3.07-4.65 2.28-6.83M46.98 199v.85c2.74 1.88 5.39 3.46 8.54 4.55 8.21 2.85 16.49.85 21.92-6.26 3.01-3.94 4.66-8.69 7.4-12.81 5.62-8.42 12.64-13.67 22.78-13.67-5.58-7.86-20.33-9.06-27.33-2.56C69.79 178.84 67 204.8 46.98 199m27.33-32.46c-4.38 4.38-8.31 5.73-14.52 5.12-8.66-.84-18.09-6.64-24.48 2.56-1.58 2.28-2.09 5.08-2.85 7.69 5.17-2.99 8.06-5.75 14.52-5.12 6.58.64 12.7 5.44 19.64 3.13 4.21-1.4 9.98-9.51 7.69-13.38m64.06 17.08c3.58 12.37-7.28 16.4-12.53 25.62-3.71 6.52-1.61 14.2 4.84 17.94-.77-4.17-1.42-8.13 1.14-11.96 4.96-7.44 18.19-13.11 13.24-23.91a20 20 0 0 0-2.56-4.27c-1.25-1.54-2.49-2.47-4.13-3.42z"
fill="black"/>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

32
news/feed.php Normal file
View File

@ -0,0 +1,32 @@
<?php
require_once __DIR__ .'/../vendor/autoload.php';
use FeedWriter\ATOM;
use tildeteam\wiki;
$feed = new ATOM();
$parser = wiki::factory();
$feed->setTitle("tilde.team news");
$feed->setLink("https://tilde.team/news/");
$feed->setDescription("updates and news for tilde.team");
foreach (glob("pages/*.md") as $page)
{
$file = $parser->parse(file_get_contents($page));
$yaml = $file->getYAML();
if (!$yaml["published"]) continue;
$item = $feed->createNewItem();
$item->setTitle($yaml["title"]);
$item->setLink("https://tilde.team/news/" . basename($page, ".md"));
$item->setDate($yaml["date"]);
$item->setContent($file->getContent());
$feed->addItem($item);
}
$feed->printFeed();

View File

@ -30,6 +30,8 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
<a href="https://tildegit.org/team/site/src/branch/master/news">source</a> and open a PR!
</p>
<p>also available as a <a href="feed.php">feed</a></p>
<hr>
<h3>updates:</h3>

View File

@ -0,0 +1,19 @@
---
published: true
date: september 25 2022
title: "ubuntu 22.04 upgrades"
author: ben
---
i completed the upgrade to ubuntu 22.04 today!
this one was relatively easy, only a couple things to sort out.
got all kinds of new software with this one, including stuff
like ruby 3, php 8.1, and python 3.10.
it's likely that you will have to recreate any python virtualenvs
or any similar locally-downloaded deps.
holler if you notice anything amiss on irc or the mailing list!

File diff suppressed because it is too large Load Diff

View File

@ -7,11 +7,10 @@
static function NormalizeIP($ipaddr)
{
$ipv4addr = "";
$ipv6addr = "";
// Generate IPv6 address.
$ipaddr = strtolower(trim($ipaddr));
if (strpos($ipaddr, ":") === false) $ipaddr = "::ffff:" . $ipaddr;
if (!str_contains($ipaddr, ":")) $ipaddr = "::ffff:" . $ipaddr;
$ipaddr = explode(":", $ipaddr);
if (count($ipaddr) < 3) $ipaddr = array("", "", "0");
$ipaddr2 = array();
@ -27,7 +26,7 @@
}
}
// Convert ::ffff:123.123.123.123 format.
if (strpos($ipaddr2[count($ipaddr2) - 1], ".") !== false)
if (str_contains($ipaddr2[count($ipaddr2) - 1], "."))
{
$x = count($ipaddr2) - 1;
if ($ipaddr2[count($ipaddr2) - 2] != "ffff") $ipaddr2[$x] = "0";
@ -51,7 +50,7 @@
$ipv6addr = implode(":", $ipaddr);
// Extract IPv4 address.
if (substr($ipv6addr, 0, 30) == "0000:0000:0000:0000:0000:ffff:") $ipv4addr = hexdec(substr($ipv6addr, 30, 2)) . "." . hexdec(substr($ipv6addr, 32, 2)) . "." . hexdec(substr($ipv6addr, 35, 2)) . "." . hexdec(substr($ipv6addr, 37, 2));
if (str_starts_with($ipv6addr, "0000:0000:0000:0000:0000:ffff:")) $ipv4addr = hexdec(substr($ipv6addr, 30, 2)) . "." . hexdec(substr($ipv6addr, 32, 2)) . "." . hexdec(substr($ipv6addr, 35, 2)) . "." . hexdec(substr($ipv6addr, 37, 2));
// Make a short IPv6 address.
$shortipv6 = $ipv6addr;
@ -73,7 +72,7 @@
static function GetRemoteIP($proxies = array())
{
$ipaddr = self::NormalizeIP(isset($_SERVER["REMOTE_ADDR"]) ? $_SERVER["REMOTE_ADDR"] : "127.0.0.1");
$ipaddr = self::NormalizeIP($_SERVER["REMOTE_ADDR"] ?? "127.0.0.1");
// Check for trusted proxies. Stop at first untrusted IP in the chain.
if (isset($proxies[$ipaddr["ipv6"]]) || ($ipaddr["ipv4"] != "" && isset($proxies[$ipaddr["ipv4"]])))
@ -85,10 +84,9 @@
{
$found = false;
if (isset($proxies[$ipaddr["ipv6"]])) $header = $proxies[$ipaddr["ipv6"]];
else $header = $proxies[$ipaddr["ipv4"]];
$header = $proxies[$ipaddr["ipv6"]] ?? $proxies[$ipaddr["ipv4"]];
$header = strtolower($header);
$header = strtolower($header);
if ($header == "xforward" && count($xforward) > 0)
{
$ipaddr = self::NormalizeIP(array_pop($xforward));
@ -109,7 +107,7 @@
{
if (is_string($ipaddr)) $ipaddr = self::NormalizeIP($ipaddr);
if (strpos($pattern, ":") !== false)
if (str_contains($pattern, ":"))
{
// Pattern is IPv6.
$pattern = explode(":", strtolower($pattern));
@ -128,7 +126,7 @@
$piece = $piece[0];
if ($piece == "*") $found = true;
else if (strpos($piece, "-") !== false)
else if (str_contains($piece, "-"))
{
$range = explode("-", $piece);
$range[0] = hexdec($range[0]);
@ -148,7 +146,7 @@
$val2 = hexdec(substr($ipaddr[$num], 2, 2));
if ($piece[0] == "*") $found2 = true;
else if (strpos($piece[0], "-") !== false)
else if (str_contains($piece[0], "-"))
{
$range = explode("-", $piece[0]);
if ($range[0] > $range[1]) $range[0] = $range[1];
@ -157,7 +155,7 @@
else if ($piece[0] == $val) $found2 = true;
if ($piece[1] == "*") $found3 = true;
else if (strpos($piece[1], "-") !== false)
else if (str_contains($piece[1], "-"))
{
$range = explode("-", $piece[1]);
if ($range[0] > $range[1]) $range[0] = $range[1];
@ -189,7 +187,7 @@
$piece = trim($piece);
if ($piece == "*") $found = true;
else if (strpos($piece, "-") !== false)
else if (str_contains($piece, "-"))
{
$range = explode("-", $piece);
if ($range[0] > $range[1]) $range[0] = $range[1];

View File

@ -14,16 +14,14 @@
// Reduce dependencies. Duplicates code though.
private static function FilenameSafe($filename)
{
return preg_replace('/[_]+/', "_", preg_replace('/[^A-Za-z0-9_.\-]/', "_", $filename));
return preg_replace('/_+/', "_", preg_replace('/[^A-Za-z0-9_.\-]/', "_", $filename));
}
private static function ReplaceNewlines($replacewith, $data)
{
$data = str_replace("\r\n", "\n", $data);
$data = str_replace("\r", "\n", $data);
$data = str_replace("\n", $replacewith, $data);
return $data;
return str_replace("\n", $replacewith, $data);
}
// RFC1341 is a hacky workaround to allow 8-bit over 7-bit transport.
@ -184,7 +182,7 @@
// Reverse parse out the initial domain/IP address part of the e-mail address.
$domain = "";
$state = "domend";
$cfwsdepth = 0;
while ($email != "" && $state != "")
{
$prevchr = substr($email, -2, 1);
@ -224,7 +222,7 @@
{
$email = trim(substr($email, 0, -1));
$depth--;
if (!$depth && substr($email, -1) != ")") $state = $laststate;
if (!$depth && !str_ends_with($email, ")")) $state = $laststate;
}
else $email = trim(substr($email, 0, -1));
@ -286,7 +284,7 @@
// Forward parse out the local part of the e-mail address.
// Remove CFWS (comments, folding whitespace).
while (substr($email, 0, 1) == "(")
while (str_starts_with($email, "("))
{
while ($email != "")
{
@ -301,14 +299,14 @@
{
$email = trim(substr($email, 1));
$depth--;
if (!$depth && substr($email, 0, 1) != "(") break;
if (!$depth && !str_starts_with($email, "(")) break;
}
}
}
// Process quoted/unquoted string.
$local = "";
if (substr($email, 0, 1) == "\"")
if (str_starts_with($email, "\""))
{
$email = substr($email, 1);
while ($email != "")
@ -338,7 +336,7 @@
else $email = substr($email, 1);
}
if (substr($local, -1) != "\"") $local .= "\"";
if (!str_ends_with($local, "\"")) $local .= "\"";
}
else
{
@ -355,17 +353,17 @@
}
$local = preg_replace('/[.]+/', ".", $local);
if (substr($local, 0, 1) == ".") $local = substr($local, 1);
if (substr($local, -1) == ".") $local = substr($local, 0, -1);
if (str_starts_with($local, ".")) $local = substr($local, 1);
if (str_ends_with($local, ".")) $local = substr($local, 0, -1);
}
while (substr($local, -2) == "\\\"") $local = substr($local, 0, -2) . "\"";
while (str_ends_with($local, "\\\"")) $local = substr($local, 0, -2) . "\"";
if ($local == "\"" || $local == "\"\"") $local = "";
// Analyze the domain/IP part and fix any issues.
$domain = preg_replace('/[.]+/', ".", $domain);
if (substr($domain, -1) == "]")
if (str_ends_with($domain, "]"))
{
if (substr($domain, 0, 1) != "[") $domain = "[" . $domain;
if (!str_starts_with($domain, "[")) $domain = "[" . $domain;
// Process the IP address.
if (strtolower(substr($domain, 0, 6)) == "[ipv6:") $ipaddr = IPAddr::NormalizeIP(substr($domain, 6, -1));
@ -377,13 +375,13 @@
else
{
// Process the domain.
if (substr($domain, 0, 1) == ".") $domain = substr($domain, 1);
if (substr($domain, -1) == ".") $domain = substr($domain, 0, -1);
if (str_starts_with($domain, ".")) $domain = substr($domain, 1);
if (str_ends_with($domain, ".")) $domain = substr($domain, 0, -1);
$domain = explode(".", $domain);
foreach ($domain as $num => $part)
{
if (substr($part, 0, 1) == "-") $part = substr($part, 1);
if (substr($part, -1) == "-") $part = substr($part, 0, -1);
if (str_starts_with($part, "-")) $part = substr($part, 1);
if (str_ends_with($part, "-")) $part = substr($part, 0, -1);
if (strlen($part) > 63) $part = substr($part, 0, 63);
$domain[$num] = $part;
@ -401,13 +399,13 @@
if ($y > 64 || $y2 > 253 || $y + $y2 + 1 > 253) return array("success" => false, "error" => self::SMTP_Translate("E-mail address is too long."), "errorcode" => "email_too_long", "info" => $email);
// Process results.
if (substr($domain, 0, 1) == "[" && substr($domain, -1) == "]") $result = array("success" => true, "email" => $email, "lookup" => false, "type" => "IP");
if (str_starts_with($domain, "[") && str_ends_with($domain, "]")) $result = array("success" => true, "email" => $email, "lookup" => false, "type" => "IP");
else if (isset($options["usedns"]) && $options["usedns"] === false) $result = array("success" => true, "email" => $email, "lookup" => false, "type" => "Domain");
else if ((!isset($options["usednsttlcache"]) || $options["usednsttlcache"] === true) && isset(self::$dnsttlcache[$domain]) && self::$dnsttlcache[$domain] >= time()) $result = array("success" => true, "email" => $email, "lookup" => false, "type" => "CachedDNS");
else
{
// Check for a mail server based on a DNS lookup.
$result = self::GetDNSRecord($domain, array("MX", "A"), (isset($options["nameservers"]) ? $options["nameservers"] : array("8.8.8.8", "8.8.4.4")), (!isset($options["usednsttlcache"]) || $options["usednsttlcache"] === true));
$result = self::GetDNSRecord($domain, array("MX", "A"), ($options["nameservers"] ?? array("8.8.8.8", "8.8.4.4")), (!isset($options["usednsttlcache"]) || $options["usednsttlcache"] === true));
if ($result["success"]) $result = array("success" => true, "email" => $email, "lookup" => true, "type" => $result["type"], "records" => $result["records"]);
}
@ -480,7 +478,6 @@
$name = "";
$email = "";
$state = "addrend";
$cfwsdepth = 0;
$inbracket = false;
while ($data != "" && $state != "")
@ -538,7 +535,7 @@
{
$data = trim(substr($data, 0, -1));
$depth--;
if (!$depth && substr($data, -1) != ")") $state = $laststate;
if (!$depth && !str_ends_with($data, ")")) $state = $laststate;
}
else $data = trim(substr($data, 0, -1));
@ -616,18 +613,18 @@
{
if ($prevchr == "\\")
{
$email .= $lastchar . $prevchr;
$email .= $lastchr . $prevchr;
$data = substr($data, 0, -2);
}
else if ($lastchr == "\"")
{
$email .= $lastchar;
$email .= $lastchr;
$data = trim(substr($data, 0, -1));
$state = "localstart";
}
else
{
$email .= $lastchar;
$email .= $lastchr;
$data = substr($data, 0, -1);
}
@ -683,7 +680,7 @@
{
if ($prevchr == "\\")
{
$name .= $lastchar . $prevchr;
$name .= $lastchr . $prevchr;
$data = substr($data, 0, -2);
}
else if ($lastchr == "\"")
@ -718,7 +715,7 @@
{
if ($removenames) $name = "";
$name = trim(strrev($name));
if (substr($name, 0, 1) == "\"") $name = trim(substr($name, 1));
if (str_starts_with($name, "\"")) $name = trim(substr($name, 1));
$name = str_replace("\\\\", "\\", $name);
$name = str_replace("\\\"", "\"", $name);
@ -816,11 +813,11 @@
// Reads one or more lines in.
private static function ProcessState__ReadLine(&$state)
{
while (strpos($state["data"], "\n") === false)
while (!str_contains($state["data"], "\n"))
{
$data2 = @fgets($state["fp"], 116000);
if ($data2 === false) return array("success" => false, "error" => self::SMTP_Translate("Underlying stream encountered a read error."), "errorcode" => "stream_read_error");
if (strpos($data2, "\n") === false)
if (!str_contains($data2, "\n"))
{
if (feof($state["fp"])) return array("success" => false, "error" => self::SMTP_Translate("Remote peer disconnected."), "errorcode" => "peer_disconnected");
if (self::StreamTimedOut($state["fp"])) return array("success" => false, "error" => self::SMTP_Translate("Underlying stream timed out."), "errorcode" => "stream_timeout_exceeded");
@ -851,7 +848,7 @@
if ($state["timeout"] !== false && self::GetTimeLeft($state["startts"], $state["timeout"]) == 0) return array("success" => false, "error" => self::SMTP_Translate("HTTP timeout exceeded."), "errorcode" => "timeout_exceeded");
$data2 = substr($state["data"], 0, $result);
$state["data"] = (string)substr($state["data"], $result);
$state["data"] = substr($state["data"], $result);
$state["result"]["rawsendsize"] += $result;
@ -993,9 +990,9 @@
case "helo_ehlo":
{
// Send EHLO or HELO depending on server support.
$hostname = (isset($state["options"]["hostname"]) ? $state["options"]["hostname"] : "[" . trim(isset($_SERVER["SERVER_ADDR"]) && $_SERVER["SERVER_ADDR"] != "127.0.0.1" ? $_SERVER["SERVER_ADDR"] : "192.168.0.101") . "]");
$hostname = ($state["options"]["hostname"] ?? "[" . trim(isset($_SERVER["SERVER_ADDR"]) && $_SERVER["SERVER_ADDR"] != "127.0.0.1" ? $_SERVER["SERVER_ADDR"] : "192.168.0.101") . "]");
$state["size_supported"] = 0;
if (strpos($state["response"], " ESMTP") !== false)
if (str_contains($state["response"], " ESMTP"))
{
self::InitSMTPRequest($state, "EHLO " . $hostname, 250, "esmtp_extensions", self::SMTP_Translate("Expected a 250 response from the SMTP server upon EHLO."));
}
@ -1021,7 +1018,7 @@
$state["state"] = "mail_from";
// Process login (if any and supported).
if (strpos($auth, "LOGIN") !== false)
if (str_contains($auth, "LOGIN"))
{
$state["username"] = (isset($state["options"]["username"]) ? (string)$state["options"]["username"] : "");
$state["password"] = (isset($state["options"]["password"]) ? (string)$state["options"]["password"] : "");
@ -1132,7 +1129,7 @@
public static function SendSMTPEmail($toaddr, $fromaddr, $message, $options = array())
{
$startts = microtime(true);
$timeout = (isset($options["timeout"]) ? $options["timeout"] : false);
$timeout = ($options["timeout"] ?? false);
if (!function_exists("stream_socket_client") && !function_exists("fsockopen")) return array("success" => false, "error" => self::SMTP_Translate("The functions 'stream_socket_client' and 'fsockopen' do not exist."), "errorcode" => "function_check");
@ -1143,11 +1140,11 @@
if (!self::EmailAddressesToNamesAndEmail($temptonames, $temptoaddrs, $toaddr, true, $options)) return array("success" => false, "error" => self::SMTP_Translate("Invalid 'To' e-mail address(es)."), "errorcode" => "invalid_to_address", "info" => $toaddr);
if (!self::EmailAddressesToNamesAndEmail($tempfromnames, $tempfromaddrs, $fromaddr, true, $options)) return array("success" => false, "error" => self::SMTP_Translate("Invalid 'From' e-mail address."), "errorcode" => "invalid_from_address", "info" => $fromaddr);
$server = (isset($options["server"]) ? $options["server"] : "localhost");
$secure = (isset($options["secure"]) ? $options["secure"] : false);
$server = ($options["server"] ?? "localhost");
$secure = ($options["secure"] ?? false);
$port = (isset($options["port"]) ? (int)$options["port"] : -1);
if ($port < 0 || $port > 65535) $port = ($secure ? 465 : 25);
$debug = (isset($options["debug"]) ? $options["debug"] : false);
$debug = ($options["debug"] ?? false);
$headers = "Message-ID: <" . self::SMTP_RandomHexString(8) . "." . self::SMTP_RandomHexString(7) . "@" . substr($tempfromaddrs[0], strrpos($tempfromaddrs[0], "@") + 1) . ">\r\n";
$headers .= "Date: " . date("D, d M Y H:i:s O") . "\r\n";
@ -1168,7 +1165,7 @@
if ($timeout !== false && self::GetTimeLeft($startts, $timeout) == 0) return array("success" => false, "error" => self::SMTP_Translate("HTTP timeout exceeded."), "errorcode" => "timeout_exceeded");
// Connect to the target server.
$hostname = (isset($options["hostname"]) ? $options["hostname"] : "[" . trim(isset($_SERVER["SERVER_ADDR"]) && $_SERVER["SERVER_ADDR"] != "127.0.0.1" ? $_SERVER["SERVER_ADDR"] : "192.168.0.101") . "]");
$hostname = ($options["hostname"] ?? "[" . trim(isset($_SERVER["SERVER_ADDR"]) && $_SERVER["SERVER_ADDR"] != "127.0.0.1" ? $_SERVER["SERVER_ADDR"] : "192.168.0.101") . "]");
$errornum = 0;
$errorstr = "";
if (isset($options["fp"]) && is_resource($options["fp"]))
@ -1202,7 +1199,7 @@
// Initialize the connection request state array.
$state = array(
"fp" => $fp,
"async" => (isset($options["async"]) ? $options["async"] : false),
"async" => ($options["async"] ?? false),
"debug" => $debug,
"startts" => $startts,
"timeout" => $timeout,
@ -1305,7 +1302,7 @@
if (TagFilter::GetParentPos($stack, "pre") === false)
{
$content = preg_replace('/\s{2,}/', " ", str_replace(array("\r\n", "\n", "\r", "\t"), " ", $content));
if ($result !== "" && substr($result, -1) === "\n") $content = trim($content);
if ($result !== "" && str_ends_with($result, "\n")) $content = trim($content);
}
}
@ -1352,13 +1349,13 @@
$subject = str_replace("\n", " ", $subject);
if (!UTF8::IsASCII($subject)) $subject = self::ConvertToRFC1342($subject);
$replytoaddr = (isset($options["replytoaddr"]) ? $options["replytoaddr"] : "");
$ccaddr = (isset($options["ccaddr"]) ? $options["ccaddr"] : "");
$bccaddr = (isset($options["bccaddr"]) ? $options["bccaddr"] : "");
$headers = (isset($options["headers"]) ? $options["headers"] : "");
$textmessage = (isset($options["textmessage"]) ? $options["textmessage"] : "");
$htmlmessage = (isset($options["htmlmessage"]) ? $options["htmlmessage"] : "");
$attachments = (isset($options["attachments"]) ? $options["attachments"] : array());
$replytoaddr = ($options["replytoaddr"] ?? "");
$ccaddr = ($options["ccaddr"] ?? "");
$bccaddr = ($options["bccaddr"] ?? "");
$headers = ($options["headers"] ?? "");
$textmessage = ($options["textmessage"] ?? "");
$htmlmessage = ($options["htmlmessage"] ?? "");
$attachments = ($options["attachments"] ?? array());
$messagetoaddr = self::EmailAddressesToEmailHeaders($toaddr, "To", true, false, $options);
$replytoaddr = self::EmailAddressesToEmailHeaders($replytoaddr, "Reply-To", false, false, $options);

View File

@ -192,7 +192,7 @@
// Converts UTF8 characters in a string to HTML entities.
public static function ConvertToHTML($data)
{
return preg_replace_callback('/([\xC0-\xF7]{1,1}[\x80-\xBF]+)/', 'UTF8::ConvertToHTML__Callback', $data);
return preg_replace_callback('/([\xC0-\xF7][\x80-\xBF]+)/', 'UTF8::ConvertToHTML__Callback', $data);
}
private static function ConvertToHTML__Callback($data)

View File

@ -16,18 +16,14 @@ function getUserIpAddr() {
return $ip;
}
function add_ban_info($name, $email) {
function add_ban_info($name, $email): void
{
$user_ip = getUserIpAddr();
$user_info = "$name - $email - $user_ip";
file_put_contents("/var/signups_banned", $user_info.PHP_EOL, FILE_APPEND);
}
function starts_with($string, $prefix)
{
return mb_substr($string, 0, mb_strlen($prefix)) === $prefix;
}
function is_ssh_pubkey($string)
function is_ssh_pubkey($string): bool
{
// list from sshd(8)
$valid_pubkeys = [
@ -42,7 +38,8 @@ function is_ssh_pubkey($string)
];
foreach ($valid_pubkeys as $pub)
if (starts_with($string, $pub)) return true;
if (str_starts_with($string, $pub)) return true;
return false;
}
@ -208,6 +205,8 @@ $makeuser
// temp. add to forbidden to prevent double signups (cleanup after user creation)
file_put_contents("/var/signups_current", $name.PHP_EOL, FILE_APPEND);
file_put_contents("/var/signups", $makeuser.PHP_EOL, FILE_APPEND);
// clear form fields
$_REQUEST["email"] = $_REQUEST["username"] = $_REQUEST["sshkey"] = $_REQUEST["interest"] = "";
} else {
echo '<div class="alert alert-danger" role="alert">
something went wrong... please send an email to <a href="mailto:sudoers@tilde.team">sudoers@tilde.team</a> with details of what happened

View File

@ -9,7 +9,7 @@ $total_users = shell_exec("members team | wc -w");
<div class="row">
<h1>users</h1>
<p><a href="https://kiwi.tilde.chat/#team">
<p><a href="https://tilde.chat/kiwi/#team">
<img src="https://tilde.chat/badges/badge.php?channel=%23team" alt="users online in #team">
</a></p>
<p><?=$online_users?> of <?=$total_users?> total users logged in</p>

View File

@ -20,6 +20,19 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
<meta property='og:description' content='tilde.team wiki'>
";
include __DIR__.'/../header.php';
$pages = [];
foreach (glob("pages/*.md") as $page) {
$yaml = $parser->parse(file_get_contents($page))->getYAML();
if (!$yaml["published"]) continue;
$pages[] = [
"title" => $yaml["title"],
"description" => $yaml["description"],
"name" => basename($page, ".md"),
];
}
usort($pages, function($a, $b) { return $a["title"] <=> $b["title"]; });
// render wiki index ?>
<h1>tilde.team wiki</h1>
@ -40,10 +53,11 @@ if (!isset($_GET["page"]) || !file_exists("pages/{$_GET['page']}.md")) {
</tr>
</thead>
<tbody>
<?php foreach (glob("pages/*.md") as $page) {
$yaml = $parser->parse(file_get_contents($page))->getYAML();
if (!$yaml["published"]) continue; ?>
<tr><td><a href="<?=basename($page, ".md")?>"><?=$yaml["title"]?></a></td> <td><?=$yaml["description"] ?? ""?></td></tr>
<?php foreach ($pages as $page) { ?>
<tr>
<td><a href="<?=$page["name"]?>"><?=$page["title"]?></a></td>
<td><?=$page["description"] ?? ""?></td>
</tr>
<?php } ?>
</tbody>
</table>

View File

@ -4,7 +4,8 @@ published: true
title: account recovery
description: how to get back in to your account
category:
- main
- about
- guides
---
if you ever lose access to your tilde.team account, there are a couple ways

View File

@ -1,10 +1,10 @@
---
author: ~ben and ~khuxkm
published: true
published: false
title: administration
description: ~team admin guide
category:
- main
- admin
---
1. [adding users](#adding-users)

View File

@ -3,26 +3,32 @@ author: ~ubergeek
published: true
title: advanced ssh
description: advanced ssh tricks
category:
- main
category:
- technical
- guides
---
Some more advanced ssh topics.
## SSH Tunnels
SSH can be used as a sort of "poor man's VPN". For example, you want to get into IRC with your local client (mIRC, Weechat, etc), but your local network blocks IRC ports.
SSH can be used as a sort of "poor man's VPN". For example, you want to get into IRC with your local client (mIRC,
Weechat, etc), but your local network blocks IRC ports.
However! Your local network will almost always allow SSH (sysadmins need this for most day to day work). You can connect to tilde.team, and use port forwarding to get on.
However! Your local network will almost always allow SSH (sysadmins need this for most day to day work). You can connect
to tilde.team, and use port forwarding to get on.
If you are connecting from a Linux machine, you can do this:
```
ssh -L 6667:localhost:6667 tilde.team
```
After being logged in, open your local IRC client, and use 127.0.0.1:6667 for your server setting. Voila! You're now on team's IRC server.
After being logged in, open your local IRC client, and use 127.0.0.1:6667 for your server setting. Voila! You're now on
team's IRC server.
What that SSH command did was open a local port tunnel (-L), using local port 6667 (6667:) pointed at localhost (From the remote's point of view), on remote port 6667 (Default IRC port).
What that SSH command did was open a local port tunnel (-L), using local port 6667 (6667:) pointed at localhost (From
the remote's point of view), on remote port 6667 (Default IRC port).
Putty has the same ability (For Windows and Mac users), under Connection --> SSH --> Tunnels.
@ -30,7 +36,8 @@ You can do this for any arbitrary port.
## File Copying
What if you don't want to edit files on the team server, but instead, you want to create it on your local machine? You don't want to have to copy/paste or re-type all of that, right?
What if you don't want to edit files on the team server, but instead, you want to create it on your local machine? You
don't want to have to copy/paste or re-type all of that, right?
SCP to the rescue! SCP copies files over the ssh protocol. It works just like the cp command, but allows you to do this:
@ -40,15 +47,35 @@ As long as you can ssh, you can copy files to and from the remote side. It also
`scp tilde.team:~/CrapINeedThisFileLocally.js ./AwesomeLocalJSFile.js`
## Mount tilde folders on your machine using sshfs
But what if manually downloading files, editing them, and uploading them again is too tedious? Wouldn't it be great to
just be able to edit a file on tilde.team from your home terminal?
With sshfs, you can mount a remote folder on your computer, and access it as if it were a local folder.
Refer to your distribution's package manager on how to install sshfs.
Once sshfs is installed, you can mount any folder on tilde.team to any folder on your machine. This example mounts your
homefolder to `/tmp/tilde`:
`mkdir -p /tmp/tilde && sshfs USERNAME@tilde.team:/home/USERNAME /tmp/tilde`
You can unmount the tilde from your machine by running `umount` on the directory you mounted the directory to:
`umount /tmp/tilde`
## Remote execution
What if you don't want to really log into team.tilde, but you just need to run a command. You can do that too, with ssh!
`ssh tilde.team ping google.com`
The above executes the ping command from the server side of the house. The one thing you need to be careful of here are quotes and input redirection. It can have surprising affects, mixing remote and local pipes.
The above executes the ping command from the server side of the house. The one thing you need to be careful of here are
quotes and input redirection. It can have surprising affects, mixing remote and local pipes.
## SSH config
Each user has their own, personal configuration for ssh. The configuration files lives at `~/.ssh/config.`
A very common thing to do in this file is to create hosts aliases.
@ -60,8 +87,10 @@ host tilde
LocalForward localhost:6667 localhost:6667
```
There are tons of other options, including this LocalForward line to automatically set up the tunnel as show [above](#ssh-tunnels).
There are tons of other options, including this LocalForward line to automatically set up the tunnel as
show [above](#ssh-tunnels).
For more information about the available options, check the man page: `man ssh_config`.
You can set this up remotely, to make jumping to other hosts easier, or locally (If supported in your ssh setup) to make connecting easier for you.
You can set this up remotely, to make jumping to other hosts easier, or locally (If supported in your ssh setup) to make
connecting easier for you.

View File

@ -3,8 +3,10 @@ author: ~ben
published: true
title: bsd.tilde.team
description: an alternate freebsd host for tilde.team
category:
- main
category:
- services
- guides
- technical
---
tilde.team offers an alternate host: [bsd.tilde.team](https://bsd.tilde.team), which runs freebsd 13.
@ -19,7 +21,11 @@ currently it supports:
currently, this vm is hosted on a server i rent from hetzner in germany, so feel free to put your chat client
etc here if you get better ping.
the user creation script copied over the `~/.ssh/authorized_keys` file in your $HOME on ~team. feel free to adjust as needed or holler if you need an admin for something. you should be able to just ssh user@bsd.tilde.team instead of user@tilde.team
the user creation script copies over the `~/.ssh/authorized_keys` file in your $HOME on ~team. feel free to adjust as
needed or holler if you need an admin for something. you should be able to just ssh user@bsd.tilde.team instead of
user@tilde.team
there's a [mailing list thread](https://lists.tildeverse.org/hyperkitty/list/tildeteam@lists.tildeverse.org/thread/LRLAYRTHJLFQWZAXZZW62GYQLW7S2WYC/) for discussion that i'll post updates to. feel free to holler in #team on irc as well.
there's
a [mailing list thread](https://lists.tildeverse.org/hyperkitty/list/tildeteam@lists.tildeverse.org/thread/LRLAYRTHJLFQWZAXZZW62GYQLW7S2WYC/)
for discussion that i'll post updates to. feel free to holler in #team on irc as well.

View File

@ -4,58 +4,90 @@ published: true
title: command line for absolute beginners
description: guide for those looking for a foothold in learning and using gnu+linux
category:
- main
- beginners
- guides
- technical
---
So, you want to join a public-access shell community like tilde.team, but you don't yet have experience using GNU+Linux or other UNIX-like operating systems? This tutorial is designed to give you enough guidance that you can get started and move on to successfully directing your future learning. Once you get a basic level of self-sufficiency, tilde.team is a great place to practice and learn more.
So, you want to join a public-access shell community like tilde.team, but you don't yet have experience using GNU+Linux
or other UNIX-like operating systems? This tutorial is designed to give you enough guidance that you can get started and
move on to successfully directing your future learning. Once you get a basic level of self-sufficiency, tilde.team is a
great place to practice and learn more.
## GNU+Linux is a text-based operating system. And it takes work and thought to start using.
You'll find a lot of people online arguing that GNU+Linux is _not_ a text-based operating system, and that it in fact has a GUI interface just like Windows. It is true that you can use GNU+Linux through a graphical user interface (GUI) like Gnome, or that you can use services from GNU+Linux servers like tilde.team through a web interface. But the people who are so keen on GUIs are saying this to make GNU+Linux sound like an easy transition for Windows or Mac users. However: (1) to really leverage the power of GNU+Linux, you need to learn to interact with it as a text-based system, and (2) while it is different, it's not really that hard. It will take effort to learn the differences, but that effort will pay huge dividends.
You'll find a lot of people online arguing that GNU+Linux is _not_ a text-based operating system, and that it in fact
has a GUI interface just like Windows. It is true that you can use GNU+Linux through a graphical user interface (GUI)
like Gnome, or that you can use services from GNU+Linux servers like tilde.team through a web interface. But the people
who are so keen on GUIs are saying this to make GNU+Linux sound like an easy transition for Windows or Mac users.
However: (1) to really leverage the power of GNU+Linux, you need to learn to interact with it as a text-based system,
and (2) while it is different, it's not really that hard. It will take effort to learn the differences, but that effort
will pay huge dividends.
## How do I connect to a shell server?
The most common way to connect remote GNU+Linux system is with an SSH client. SSH stands for secure-shell. SSH allows you to make a private connection between your computer and a shell server like [tilde.team](https://tilde.team), and it ensures that nobody else along the wire can listen in on your connection. Check out [our SSH page](https://tilde.team/wiki/ssh) for information on connecting to tilde.team over SSH.
The most common way to connect remote GNU+Linux system is with an SSH client. SSH stands for secure-shell. SSH allows
you to make a private connection between your computer and a shell server like [tilde.team](https://tilde.team), and it
ensures that nobody else along the wire can listen in on your connection. Check
out [our SSH page](https://tilde.team/wiki/ssh) for information on connecting to tilde.team over SSH.
If you are having trouble with making your first SSH connection to tilde.team, or anything else while you're learning from this tutorial, drop by the [tilde.team web chat](https://web.tilde.chat/) or email an admin for help ([sudoers@tilde.team](mailto:sudoers@tilde.team)).
If you are having trouble with making your first SSH connection to tilde.team, or anything else while you're learning
from this tutorial, drop by the [tilde.team web chat](https://web.tilde.chat/) or email an admin for
help ([sudoers@tilde.team](mailto:sudoers@tilde.team)).
## What is a shell?
An operating system (OS) is the nuts and bolts that makes all the parts of your computer work together for you. At its core, the OS is not friendly for day to day computer usage. A shell is a user friendly "wrapper" around the operating system that allows you to use it easily. A shell can be graphical, like the Windows or Android GUIs. Or a shell can be text-based. A text based shell, also called a command line interface (or CLI), is a tool you can use to control the operating system by sending it text commands.
An operating system (OS) is the nuts and bolts that makes all the parts of your computer work together for you. At its
core, the OS is not friendly for day to day computer usage. A shell is a user friendly "wrapper" around the operating
system that allows you to use it easily. A shell can be graphical, like the Windows or Android GUIs. Or a shell can be
text-based. A text based shell, also called a command line interface (or CLI), is a tool you can use to control the
operating system by sending it text commands.
What kind of things can you make the OS do? Things like opening files, listing the files in a directory, displaying the current system load, or telling you what other users are currently doing.
What kind of things can you make the OS do? Things like opening files, listing the files in a directory, displaying the
current system load, or telling you what other users are currently doing.
## What is a command?
Commands are simple words, often abbreviated, that make the system do things when typed into the shell. Some simple examples are 'ls' which lists the files in a directory, or 'cd' which changes your location to a new directory (cd = change directory), or 'exit' which logs you out of your current shell session. There are thousands of useful commands, but you only need to know a few to get started and be self-sustaining.
Commands are simple words, often abbreviated, that make the system do things when typed into the shell. Some simple
examples are 'ls' which lists the files in a directory, or 'cd' which changes your location to a new directory (cd =
change directory), or 'exit' which logs you out of your current shell session. There are thousands of useful commands,
but you only need to know a few to get started and be self-sustaining.
This tutorial will teach you the few commands that should allow you to take care of yourself and start down the real, longer-term path of self-directed learning. Once you're logged into tilde.team (or any GNU+Linux shell server), you can practice the following commands as you learn them.
This tutorial will teach you the few commands that should allow you to take care of yourself and start down the real,
longer-term path of self-directed learning. Once you're logged into tilde.team (or any GNU+Linux shell server), you can
practice the following commands as you learn them.
## What are the first commands a new user should learn?
When you're first starting to use a shell in a UNIX-like environment, you will want to be able to do the following things:
When you're first starting to use a shell in a UNIX-like environment, you will want to be able to do the following
things:
1. logging in and logging out
1. list the files or directories in a directory
1. move between directories
1. read, write, and save files
1. create new files or directories
1. move or copy files between directories
1. delete files or directories
1. download files from elsewhere on the internet
1. learn more about new commands
2. list the files or directories in a directory
3. move between directories
4. read, write, and save files
5. create new files or directories
6. move or copy files between directories
7. delete files or directories
8. download files from elsewhere on the internet
9. learn more about new commands
When you're logged into a shell, you should see a command prompt and a blinking cursor. At this point, simply type a command and hit Enter to run it. You can try this as you work through learning the commands below.
When you're logged into a shell, you should see a command prompt and a blinking cursor. At this point, simply type a
command and hit Enter to run it. You can try this as you work through learning the commands below.
### Logging In, with `ssh`
Recall from the How-Do-I-Connect section above that you can use a SSH client to log into tilde.team. Once you're logged in, you can use the command line SSH client to log into any other shell server; in the example below, let's say you want to log into tilde.town from tilde.team.
Recall from the How-Do-I-Connect section above that you can use a SSH client to log into tilde.team. Once you're logged
in, you can use the command line SSH client to log into any other shell server; in the example below, let's say you want
to log into tilde.town from tilde.team.
Skipping some specifics for now, you can log into tilde.town from a tilde.team shell by using SSH as follows:
> `ssh tilde.team`
Some shell servers allow you to log in with nothing more than a username and password. But increasingly, many servers (like both tilde.team and tilde.town) require you to use ssh keys. To learn more about ssh keys, again, see our [SSH page](ssh).
Some shell servers allow you to log in with nothing more than a username and password. But increasingly, many servers (
like both tilde.team and tilde.town) require you to use ssh keys. To learn more about ssh keys, again, see
our [SSH page](ssh).
### Logging Out, with `logout` or `exit`
@ -69,7 +101,8 @@ To list the files in a directory, simply type `ls`. This will print a list of th
### Changing Directories, with `cd`
You may move from one directory to another with `cd`. Wherever you are in the file system, you can type `cd` by itself to return to your home directory:
You may move from one directory to another with `cd`. Wherever you are in the file system, you can type `cd` by itself
to return to your home directory:
> `cd`
@ -79,24 +112,29 @@ Change to the directory with your html files as follows:
### Read the Contents of a File, with `less`
If you're still in your public_html directory, you should see a file called 'index.php' when you use the `ls` command. Let's peek inside 'index.php' as follows:
If you're still in your public_html directory, you should see a file called 'index.php' when you use the `ls` command.
Let's peek inside 'index.php' as follows:
> `less index.php`
`less` has opened the 'index.php' file for you to read. You cannot edit it; only read it. Type `q` (quit) to stop viewing the file contents and return to the shell.
`less` has opened the 'index.php' file for you to read. You cannot edit it; only read it. Type `q` (quit) to stop
viewing the file contents and return to the shell.
### Edit and Save Changes to a File, with `nano`
`nano` is one of many text editors availble for GNU+Linux. There are many more powerful editors, but we'll start with this one because it is simple. Let's open your 'index.php' file and make some changes.
`nano` is one of many text editors availble for GNU+Linux. There are many more powerful editors, but we'll start with
this one because it is simple. Let's open your 'index.php' file and make some changes.
> `nano index.php`
Now you're viewing the contents of 'index.php' again, but this time you can change the contents. If you don't know HTML, be careful here. Use your arrow keys to move the cursor down to the line that says the following:
Now you're viewing the contents of 'index.php' again, but this time you can change the contents. If you don't know HTML,
be careful here. Use your arrow keys to move the cursor down to the line that says the following:
`<p>Just log in with your secure internet shell to change this file!</p>`
Leave the `<p>` and `</p>` tags as they are, but change the sentence in between them.
Now, save and quit by hitting the key combination Ctrl+x, and then typing 'y' in response to the question about wanting to save the modified buffer.
Now, save and quit by hitting the key combination Ctrl+x, and then typing 'y' in response to the question about wanting
to save the modified buffer.
Now you can pull up a browser to see the change at your tilde.team URL:
'https://tilde.team/~yourUserName'
@ -109,7 +147,8 @@ Let's create a new file in your public_html directory, called 'testing.html'.
'testing.html' did not exist before you opened it with `nano`, so it was created for you.
Now, add some quick contents by opening the file for editing with `nano`, and adding whatever you want. Then Ctrl+x to save, you will have created a new file.
Now, add some quick contents by opening the file for editing with `nano`, and adding whatever you want. Then Ctrl+x to
save, you will have created a new file.
Type `ls` to view the contents of your directory an confirm that you did indeed make the file.
@ -117,7 +156,8 @@ Later in this tutorial, we will come back to this file and make it viewable in y
### Create a New Directory, with `mkdir`
First, hop back to your home directory with the `cd` command (remember that `cd` from anywhere in the file system will take you back to your home directory).
First, hop back to your home directory with the `cd` command (remember that `cd` from anywhere in the file system will
take you back to your home directory).
Now create a new directory called 'downloads' in your home directory:
@ -135,17 +175,21 @@ Move 'fileone.txt' into 'downloads':
> `mv fileone.txt downloads/`
Now if you `ls` the contents of your home directory, you will no longer see 'fileone.txt', because it has been moved into 'downloads'. If you 'ls' the contents of 'downloads' (a shortcut command is `ls downloads`), you will see it there.
Now if you `ls` the contents of your home directory, you will no longer see 'fileone.txt', because it has been moved
into 'downloads'. If you 'ls' the contents of 'downloads' (a shortcut command is `ls downloads`), you will see it there.
Next, copy 'filetwo.txt' into 'downloads' as follows:
> `cp filetwo.txt downloads`
Now if you `ls` the contents of your home directory, 'filetwo.txt' will still be there. This is because `cp` made a copy of 'filetwo.txt' and put the copy in 'downloads'. It did not touch the original file in your home directory. Verify this with `ls` in your home directory and in 'downloads'.
Now if you `ls` the contents of your home directory, 'filetwo.txt' will still be there. This is because `cp` made a copy
of 'filetwo.txt' and put the copy in 'downloads'. It did not touch the original file in your home directory. Verify this
with `ls` in your home directory and in 'downloads'.
### Delete Files and Directories, with `rm` and `rmdir`
As long as you're in one of your own directories (e.g. your home, or 'downloads' or 'public_html'), you can create a new files. Create a new file called 'testtrash.txt':
As long as you're in one of your own directories (e.g. your home, or 'downloads' or 'public_html'), you can create a new
files. Create a new file called 'testtrash.txt':
> `nano testtrash.txt`
@ -155,9 +199,12 @@ Now, you can delete the file with the `rm` (remove) command:
> `rm testtrash.txt`
Notice that you don't get a warning that you're about to delete it, and you don't even get a confirmation that it is deleted. You've learned your first command that you need to be careful with. If you delete an important file with `rm`, it is gone forever.
Notice that you don't get a warning that you're about to delete it, and you don't even get a confirmation that it is
deleted. You've learned your first command that you need to be careful with. If you delete an important file with `rm`,
it is gone forever.
You can delete directories the same way, only using the `rmdir` command (remove directory) instead of `rm`. If you use `mkdir testtrash`, you can then delete it as follows:
You can delete directories the same way, only using the `rmdir` command (remove directory) instead of `rm`. If you
use `mkdir testtrash`, you can then delete it as follows:
> `rmdir testtrash`
@ -167,83 +214,118 @@ If you want to delete directories that still have contents in them, use the foll
> `rm -rf directoryName`
Be very, very careful with this command. Many a user, new and seasoned, has been stung by hastily deleting directories like this. This is also the source of the classic sysadmin joke/horror story about `rm -rf /` which deletes the entire file system.
Be very, very careful with this command. Many a user, new and seasoned, has been stung by hastily deleting directories
like this. This is also the source of the classic sysadmin joke/horror story about `rm -rf /` which deletes the entire
file system.
### Downloading Files, with `wget`
Now `cd` into your 'downloads' directory because we're going to use it for actual downloads.
Use the `wget` (WWW get) command to download a text copy of this tutorial from tilde.team user cmccabe's public_html directory:
Use the `wget` (WWW get) command to download a text copy of this tutorial from tilde.team user cmccabe's public_html
directory:
> `wget https://tilde.team/~cmccabe/gnu-linux-toot.txt`
You will see output of the command that confirms it is downloading. You can also verify that it has downloaded with your `ls` command. You can also peek at the contents with the `nano` or `less` commands that you learned above.
You will see output of the command that confirms it is downloading. You can also verify that it has downloaded with
your `ls` command. You can also peek at the contents with the `nano` or `less` commands that you learned above.
If you know the URL of other files you'd like to download, you can grab those too, just swapping the URL above for any URL:
If you know the URL of other files you'd like to download, you can grab those too, just swapping the URL above for any
URL:
> `wget [URL here]`
A brief note on security here, if you do pull any scripts from the Internet using `wget`, it's important that you do not execute those scripts until you've read over what it does. Otherwise, you run the risk of compromising your account or allowing other malicious actions to take place.
A brief note on security here, if you do pull any scripts from the Internet using `wget`, it's important that you do not
execute those scripts until you've read over what it does. Otherwise, you run the risk of compromising your account or
allowing other malicious actions to take place.
### Learn More About Commands, with `man` (and `help`)
At this point, you've learned most of the commands you need for basic self-sufficiency in a GNU+Linux shell environment. With just a few more, you can go a long way. When you want to learn more about a command, you can look at its "man page" with the `man` command. "Man pages" are the instruction manuals for most commands and programs in GNU+Linux.
At this point, you've learned most of the commands you need for basic self-sufficiency in a GNU+Linux shell environment.
With just a few more, you can go a long way. When you want to learn more about a command, you can look at its "man page"
with the `man` command. "Man pages" are the instruction manuals for most commands and programs in GNU+Linux.
Try out `man` by looking at any of the commands you've learned already (except `cd`\*). For example, `man ls` would open the man page for the `ls` command. When looking at a man page, type `q` at any time to quit and return to the shell.
Try out `man` by looking at any of the commands you've learned already (except `cd`\*). For example, `man ls` would open
the man page for the `ls` command. When looking at a man page, type `q` at any time to quit and return to the shell.
The `man` command will be one of your most valuable tools for as long as you're using the GNU+Linux shell. You will always be learning new commands and new ways to use old commands, and `man` will help you do it.
The `man` command will be one of your most valuable tools for as long as you're using the GNU+Linux shell. You will
always be learning new commands and new ways to use old commands, and `man` will help you do it.
\* Note: technically speaking `cd` is a shell built-in, not a command. Make a mental note of that and you can learn more about the distinction later. For now, note that you can use `help cd` to learn more about the `cd` command.
\* Note: technically speaking `cd` is a shell built-in, not a command. Make a mental note of that and you can learn more
about the distinction later. For now, note that you can use `help cd` to learn more about the `cd` command.
## Commands have options and arguments.
When you look at the man page for a command like `ls`, you'll see in the DESCRIPTION section a number of **options** that you can use to modify how the command works. They look like `-a` or `-h` or `-l`. Try adding the `-a` option to `ls` and note the difference:
When you look at the man page for a command like `ls`, you'll see in the DESCRIPTION section a number of **options**
that you can use to modify how the command works. They look like `-a` or `-h` or `-l`. Try adding the `-a` option
to `ls` and note the difference:
> `ls -a`
The `-a` option now lists "all" contents of your directory, including "hidden" files (aka dot files). You could combine the three options listed above in the form of `ls -alh` to list "all" files, in "long" form, and display file sizes in "human" readable format. Most commands have
The `-a` option now lists "all" contents of your directory, including "hidden" files (aka dot files). You could combine
the three options listed above in the form of `ls -alh` to list "all" files, in "long" form, and display file sizes in "
human" readable format. Most commands have
Commands also have **arguments**, or information passed into a command for some kind of processing. You have already used these arguments when you told nano to open a file: `nano testtrash.txt`. In this case, "testtrash.txt" was the argument to the nano command. You also used "testtrash.txt" as an argument to the `rm` command when you did `rm testtrash.txt`.
Commands also have **arguments**, or information passed into a command for some kind of processing. You have already
used these arguments when you told nano to open a file: `nano testtrash.txt`. In this case, "testtrash.txt" was the
argument to the nano command. You also used "testtrash.txt" as an argument to the `rm` command when you
did `rm testtrash.txt`.
Commands will often combine options and arguments, sometimes in specific sequences. You can learn about these when read a command's man page.
Commands will often combine options and arguments, sometimes in specific sequences. You can learn about these when read
a command's man page.
## The Filesystem Hierarchy
You already know that you get dropped into your "home" directory when you first log in. Your home directory is just one of many, many other directories on the system. All of these directories are organized under one master directory called the "root directory". The root directory is often referred to with a single forward slash, like this: /
You already know that you get dropped into your "home" directory when you first log in. Your home directory is just one
of many, many other directories on the system. All of these directories are organized under one master directory called
the "root directory". The root directory is often referred to with a single forward slash, like this: /
You can list all the directories at the root level by using the `ls` command again, as follows:
> `ls /`
Want to check out some of the directories you see in root? You could either `cd` into them and `ls` the contents, or just `ls` the comments directly as follows:
Want to check out some of the directories you see in root? You could either `cd` into them and `ls` the contents, or
just `ls` the comments directly as follows:
> `ls /etc`
This would display the contents of the "etc" directory, which itself lives in the "root" directory. Notice that the command uses "/" + "etc" to create a path to the destination. In "etc" is another directory called "cron.d", and you can use the same principle to view its contents:
This would display the contents of the "etc" directory, which itself lives in the "root" directory. Notice that the
command uses "/" + "etc" to create a path to the destination. In "etc" is another directory called "cron.d", and you can
use the same principle to view its contents:
> `ls /etc/cron.d`
You now know enough to look around the file system. Note that most GNU+Linux systems (like tilde.team) adhere somewhat to an organization scheme called the Filesystem Hierarchy Standard ([Wikipedia link](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard)). This is another subject for you to read up on later.
You now know enough to look around the file system. Note that most GNU+Linux systems (like tilde.team) adhere somewhat
to an organization scheme called the Filesystem Hierarchy
Standard ([Wikipedia link](https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard)). This is another subject for
you to read up on later.
## How can I keep my things private, or share them with others?
As you explore the filesystem, you might bump into some directories that won't let you in. For example, if you try to `cd` into the home directory for the root user (not the same as the root directory), you'll see this error: "/root: Permission denied". This is because GNU+Linux systems maintain a "mode" for each file that limits which users can read, write or execute it.
As you explore the filesystem, you might bump into some directories that won't let you in. For example, if you try
to `cd` into the home directory for the root user (not the same as the root directory), you'll see this error: "/root:
Permission denied". This is because GNU+Linux systems maintain a "mode" for each file that limits which users can read,
write or execute it.
If you don't own a file, then you can't change its mode. This is a basic security principle in GNU+Linux systems.
For the files you own (i.e. the files within your home directory), you can change the file modes yourself. You do this using the "change mode" command, `chmod`.
For the files you own (i.e. the files within your home directory), you can change the file modes yourself. You do this
using the "change mode" command, `chmod`.
Each file has three permission levels: for the file owner, for members of the file's group\*, and for all other system users. For each level, you can permit any combination of "read", "write", and "execute" permissions.
Each file has three permission levels: for the file owner, for members of the file's group\*, and for all other system
users. For each level, you can permit any combination of "read", "write", and "execute" permissions.
(/\* Do a web search for GNU+Linux users and groups to learn more about this important concept.)
You can change a file's mode with `chmod` one of two ways. The first is a symbolic way in which you add or subtract 'r', 'w', and/or 'x' (read, write, execute) to 'u', 'g', or 'o' (user, group, or other). For example:
You can change a file's mode with `chmod` one of two ways. The first is a symbolic way in which you add or subtract '
r', 'w', and/or 'x' (read, write, execute) to 'u', 'g', or 'o' (user, group, or other). For example:
> `chmod g+x filename.txt`
This gives 'execute' privileges to members of filename.txt's group.
You can also use `chmod` numerically, through which you may set the user, group and other permissions all at once. For example:
You can also use `chmod` numerically, through which you may set the user, group and other permissions all at once. For
example:
> `chmod 755 filename.txt`
@ -255,7 +337,8 @@ To get an interactive, visual feel for numeric file modes, try the tilde.team [f
--
Finally, remember that 'testing.html' file we made above? Let's use that as an example of how you can control who can view your files. Use the following to make the 'testing.html' file visible in your website:
Finally, remember that 'testing.html' file we made above? Let's use that as an example of how you can control who can
view your files. Use the following to make the 'testing.html' file visible in your website:
> cd ## to return you to your home directory
> `chmod 644 public_html testing.html`
@ -266,11 +349,14 @@ https://tilde.team/~username/testing.html
## The End (of The Beginning)
There you have it -- you know about logging in, using basic shell commands, and the file system, and you're now self-sustaining (and a little more).
There you have it -- you know about logging in, using basic shell commands, and the file system, and you're now
self-sustaining (and a little more).
tilde.team is about community, but it is about community of individuals who work hard to learn. what you have just leaned will give you a platform on which you can learn by doing and trying things out.
tilde.team is about community, but it is about community of individuals who work hard to learn. what you have just
leaned will give you a platform on which you can learn by doing and trying things out.
Below are some other common programs you'll likely want to use. Most of these have man pages, so you can read more about them. Others you'll just have to try out to see how they work.
Below are some other common programs you'll likely want to use. Most of these have man pages, so you can read more about
them. Others you'll just have to try out to see how they work.
## List of Common Programs
@ -298,7 +384,8 @@ Below are some other common programs you'll likely want to use. Most of these ha
`tilde` - a manager for user-submitted scripts
`webirc` - register for [thelounge](https://irc.tilde.team) webchat (in case you don't like weechat or irssi, or want to get push notifications for mentions and query messages :)
`webirc` - register for [thelounge](https://irc.tilde.team) webchat (in case you don't like weechat or irssi, or want to
get push notifications for mentions and query messages :)
`chat` - open `weechat` preconnected to our irc
@ -308,7 +395,8 @@ And in this corner, we shall describe some common activities people perform in a
## Other Intro-to-Linux Material
Not suprisingly, you'll find a lot of other intro material online or in your local library. Here are a few that have been mentioned by tilde.team members:
Not suprisingly, you'll find a lot of other intro material online or in your local library. Here are a few that have
been mentioned by tilde.team members:
Terminus - an interactive game-like introduction to shell commands
http://www.mprat.org/Terminus/

View File

@ -3,79 +3,82 @@ author: ~ben
published: true
title: code of conduct
description: tilde.team code of conduct
category:
- main
category:
- beginners
- about
---
> **tl;dr** learn by doing and helping. be excellent to each other. have fun!
## 1. purpose
a primary goal of tilde.team is to be inclusive to the largest number of contributors, with the most varied and diverse backgrounds possible. as such, we are committed to providing a friendly, safe and welcoming environment for all.
a primary goal of tilde.team is to be inclusive to the largest number of contributors, with the most varied and diverse
backgrounds possible. as such, we are committed to providing a friendly, safe and welcoming environment for all.
this code of conduct outlines our expectations for all those who participate in our community, as well as the consequences for unacceptable behavior.
this code of conduct outlines our expectations for all those who participate in our community, as well as the
consequences for unacceptable behavior.
we invite all those who participate in tilde.team to help us create safe and positive experiences for everyone.
## 2. tilde.team mission
[full goals/roadmap document](https://tilde.team/wiki/goals-roadmap)
**tilde.team exists to foster an engaged community for socializing, learning, and making cool stuff**
in a mass-media age, it is up to small, intentional communities to gather and work together to provide a space outside of the advertising-laden, profit-seeking, corporate-owned world of social media.
to that end, tilde.team strives to be a radically inclusive community where people of all backgrounds and all technological experience levels can come together to learn, to teach, and to delight in one another's creations.
in a mass-media age, it is up to small, intentional communities to gather and work together to provide a space outside
of the advertising-laden, profit-seeking, corporate-owned world of social media.
to that end, tilde.team strives to be a radically inclusive community where people of all backgrounds and all
technological experience levels can come together to learn, to teach, and to delight in one another's creations.
## 3. expected behavior
the following behaviors are expected and requested of all community members:
* participate in an authentic and active way. in doing so, you contribute to the health and longevity of this community.
* exercise consideration and respect in your speech and actions.
* attempt collaboration before conflict.
* refrain from demeaning, discriminatory, or harassing behavior and speech.
* be mindful of your surroundings and of your fellow participants.
* teach when people need help. don't do it for them.
* participate in an authentic and active way. in doing so, you contribute to the health and longevity of this community.
* exercise consideration and respect in your speech and actions.
* attempt collaboration before conflict.
* refrain from demeaning, discriminatory, or harassing behavior and speech.
* be mindful of your surroundings and of your fellow participants.
* teach when people need help. don't do it for them.
## 4. unacceptable behavior
the following behaviors are considered harassment and are unacceptable within our community:
* violence, threats of violence or violent language directed against another person.
* sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
* posting or displaying sexually explicit or violent material.
* posting or threatening to post other people's personally identifying information ("doxing").
* personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
* unwelcome sexual attention. this includes sexualized comments or jokes.
* deliberate intimidation, stalking or following.
* attempting to disrupt the normal operation of tilde.team (colloquially "hacking the Gibson"). if you think something's insecure and want to poke at it, tell us first.
* violence, threats of violence or violent language directed against another person.
* sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory jokes and language.
* posting or displaying sexually explicit or violent material.
* posting or threatening to post other people's personally identifying information ("doxing").
* personal insults, particularly those related to gender, sexual orientation, race, religion, or disability.
* unwelcome sexual attention. this includes sexualized comments or jokes.
* deliberate intimidation, stalking or following.
* attempting to disrupt the normal operation of tilde.team (colloquially "hacking the Gibson"). if you think something's
insecure and want to poke at it, tell us first.
## 5. consequences of unacceptable behavior
unacceptable behavior from any community member, including sponsors and those with decision-making authority (sudo), will not be tolerated.
unacceptable behavior from any community member, including sponsors and those with decision-making authority (sudo),
will not be tolerated.
anyone asked to stop unacceptable behavior is expected to comply immediately.
if a community member engages in unacceptable behavior, the community organizers may take any action they deem appropriate, up to and including a temporary ban or permanent expulsion from tilde.team without warning (meaning your account will be terminated and all user data deleted).
if a community member engages in unacceptable behavior, the community organizers may take any action they deem
appropriate, up to and including a temporary ban or permanent expulsion from tilde.team without warning (meaning your
account will be terminated and all user data deleted).
## 6. reporting guidelines
if you are subject to or witness unacceptable behavior, or have any other concerns, please contact an admin (see info below).
if you are subject to or witness unacceptable behavior, or have any other concerns, please contact an admin (see info
below).
additionally, help engaging with law enforcement is available.
## 7. addressing grievances
if you feel you have been falsely or unfairly accused of violating this code of conduct, use the contact info below to send a concise description of your grievance.
if you feel you have been falsely or unfairly accused of violating this code of conduct, use the contact info below to
send a concise description of your grievance.
## 8. scope
@ -84,28 +87,27 @@ we expect all tilde.team members to abide by this code of conduct while:
* engaging with other members
* publishing content on tilde.team
## 9. contact info
tilde.team admins:
you can also send a mail to [sudoers@tilde.team](mailto:sudoers@tilde.team) to make sure we all get it.
* [ben](https://tilde.team/~ben/):
- [ben@tilde.team](mailto:ben@tilde.team)
- on irc `/query ben hello`
* [ben](https://tilde.team/~ben/):
- [ben@tilde.team](mailto:ben@tilde.team)
- on irc `/query ben hello`
* [khuxkm](https://tilde.team/~khuxkm/):
- [khuxkm@tilde.team](mailto:khuxkm@tilde.team)
- on irc `/query khuxkm hello`
- [khuxkm@tilde.team](mailto:khuxkm@tilde.team)
- on irc `/query khuxkm hello`
* [cmccabe](https://tilde.team/~cmccabe/):
- [cmccabe@tilde.team](mailto:cmccabe@tilde.team)
- on irc `/query cmccabe hello`
- [cmccabe@tilde.team](mailto:cmccabe@tilde.team)
- on irc `/query cmccabe hello`
## 10. license and attribution
this code of conduct is based on [citizencodeofconduct.org](http://citizencodeofconduct.org/) and [tilde.town coc](http://tilde.town/wiki/conduct.html) under the terms of the [creative commons attribution-sharealike license](http://creativecommons.org/licenses/by-sa/3.0/).
this code of conduct is based on [citizencodeofconduct.org](http://citizencodeofconduct.org/)
and [tilde.town coc](http://tilde.town/wiki/conduct.html) under the terms of
the [creative commons attribution-sharealike license](http://creativecommons.org/licenses/by-sa/3.0/).
## 11. terms of service

View File

@ -3,15 +3,15 @@ author: ~ben
published: true
title: disk usage tools and guidelines
description: tips and tricks for keeping track of your disk usage on tilde.team and elsewhere
category:
- main
category:
- about
- guidelines
---
files tend to keep growing and growing until you run out of disk space all of a sudden.
let's take a look at some tools to keep an eye on disk usage.
## tilde.team guidelines
even though we have plenty of disk space to go around on tilde.team,
@ -38,7 +38,6 @@ for a short period of time so we can adjust your quota temporarily.
run `quota` to see your current usage and grace period (if you're over).
add `-s` to print using friendlier units.
### du
`du` (short for `d`isk `u`sage) is the go-to tool.
@ -52,15 +51,14 @@ common switches include:
example:
to see the disk usage of the current directory, run:
du -sh
du -sh
check the manpage for more information and additional switches
### ncdu
`ncdu` (short for `nc`urses `d`isk `u`sage) is extremely useful for visualizing
disk usage.
disk usage.
call `ncdu` with no args to recurse starting in the current directory or
pass a dir name to start there
@ -71,7 +69,6 @@ space.
press `?` to see additional keybinds once you've started it up. you can change
the sort order, open a shell, and delete files without closing the program.
### df
`df` (short for `d`isk `f`ree) lists mounted disks with usage, free space,

View File

@ -3,18 +3,19 @@ author: ~ben
published: true
title: domains
description: domains associated with tilde.team
category:
- main
category:
- about
- services
---
because [~ben](https://tilde.team/~ben/) hoards domain names, the following domains are associated with tilde.team and/or the tildeverse somehow:
because [~ben](https://tilde.team/~ben/) hoards domain names, the following domains are associated with tilde.team
and/or the tildeverse somehow:
* [fuckup.club](http://fuckup.club) - alias
* [nand.sh](https://nand.sh/) - alias
* [ttm.sh](https://ttm.sh/) - url shortener
* [tild3.org](https://tild3.org/) - alias
* [tilde.chat](https://tilde.chat/) - irc net
* [tilde.life](http://tilde.life/) - redirect
* [tilde.news](https://tilde.news/) - lobste.rs clone
* [tilde.site](https://tilde.site/) - alias
* [tilde.wiki](https://tilde.wiki/) - tildeverse mediawiki
@ -28,4 +29,5 @@ because [~ben](https://tilde.team/~ben/) hoards domain names, the following doma
aliases can be used as-is, where redirects will simply change to a tilde.team url.
note that redirects do not have ssl certs. if you have a cool project that could use one of the not sure or redirect domains, let me know.
note that redirects do not have ssl certs. if you have a cool project that could use one of the not sure or redirect
domains, let me know.

View File

@ -4,7 +4,8 @@ published: true
title: email
description: email settings for tilde.team
category:
- main
- services
- guides
---
tilde.team has a mailserver. here are your options:
@ -15,52 +16,74 @@ tilde.team has a mailserver. here are your options:
- alpine - should work out of the box
- [webmail](https://mail.tilde.team)
- imap/smtp
- some clients will autoconfigure (tested with thunderbird)
- email address: username@tilde.team (or any of the aliased [domains](domains))
- username: username (without the domain)
- password: your shell password
- port info:
- imap: imap.tilde.team port 143 (starttls)
- imaps: imap.tilde.team port 993 (tls)
- pop3: pop3.tilde.team port 995 (tls)
- smtp: smtp.tilde.team port 587 (starttls)
- smtps: smtp.tilde.team port 465 (tls)
- some clients will autoconfigure (tested with thunderbird)
- email address: username@tilde.team (or any of the aliased [domains](domains))
- username: username (without the domain)
- password: your shell password
#### connection info
| protocol | hostname | port | security |
|----------|-----------------|------|----------|
| imap | imap.tilde.team | 143 | starttls |
| imaps | imap.tilde.team | 993 | tls |
| pop3s | pop.tilde.team | 995 | tls |
| smtp | smtp.tilde.team | 587 | starttls |
| smtps | smtp.tilde.team | 465 | tls |
note: these domains all resolve to the same IP of our main server.
### alternate domains and addresses
because [~ben](https://tilde.team/~ben/) hoards domain names, you can
because [~ben](https://tilde.team/~ben/) hoards domain names, you can
use any of the [domains on this list](domains) with your tildemail:
mail sent to yourusername@ any of those domains will end up in your
mail sent to yourusername@ any of those domains will end up in your
inbox. most clients will allow you to add additional identities/aliases.
additionally, any address with a `+` and arbitrary text behind it
additionally, any address with a `+` and arbitrary text behind it
will be forwarded to your email: ie. `yourusername+somethingcool@tildeteam.org`.
plus-addresses are very useful for filtering mail.
### outlook
For outlook, there's a specific setup - if you have to use it and prefer to not
have multiple email clients, you can do this.
1. Run `outlook.exe /manageprofiles` and make sure outlook is closed before hand
2. Now you should have a windows with three options, click `email accounts...`
3. Click on `New` in the first tab to create a new email account
4. Select manual setup or additional server types and then select `POP or IMAP`
5. Fill the servers in using the table. Not it won't work yet as we need to do some things.
6. After entering the details on the page, select `More Settings`, go to `Outgoing Server`
and select `Log on using` and fill the username (without domain) and password
7. Then go into the `Advanced` tab and fill in the ports and connection types as per the table.
Make sure all the ports are correct and click `ok` and then finally click `next`
Everything should now be setup.
### forwarding and sieve
if you would like your tildemail to be forwarded somewhere else, put that
if you would like your tildemail to be forwarded somewhere else, put that
email address in a file called `~/.forward`
```bash
echo myotheraddress@example.com > ~/.forward
```
we also have [sieve](http://sieve.info) and
[managesieve](https://wiki1.dovecot.org/ManageSieve) support.
we also have [sieve](http://sieve.info) and
[managesieve](https://doc.dovecot.org/admin_manual/pigeonhole_managesieve_server/) support.
scripts belong in `~/sieve/`, with the active sieve script
scripts belong in `~/sieve/`, with the active sieve script
named `~/.dovecot.sieve` (to conform with managesieve).
here are some [example sieve scripts](
https://wiki.dovecot.org/Pigeonhole/Sieve/Examples)
https://doc.dovecot.org/configuration_manual/sieve/examples/)
managesieve is available on the default port (4190) if you want
managesieve is available on the default port (4190) if you want
to use an external managesieve client (like the [thunderbird add-on](
https://github.com/thsmi/sieve)).
[our webmail](https://mail.tilde.team/#/settings/filters) is pre-configured
[our webmail](https://mail.tilde.team/#/settings/filters) is pre-configured
to manage your sieve scripts.
---

View File

@ -4,14 +4,21 @@ published: false
title: finger
description: finger as a social network
category:
- main
- publishing
- services
- guides
---
the [finger protocol](https://en.wikipedia.org/wiki/Finger_protocol) was created way back in 1977. its purpose was to display information about the queried user of a system, or all the users of a system.
the [finger protocol](https://en.wikipedia.org/wiki/Finger_protocol) was created way back in 1977. its purpose was to
display information about the queried user of a system, or all the users of a system.
it fell out of use in the 1990s due to various security concerns. the old finger daemons were buggy and easily exploited, while the information garnered from a query could be used for social engineering attacks. nowadays, the finger daemons have been refined and are no longer so vulnerable.
it fell out of use in the 1990s due to various security concerns. the old finger daemons were buggy and easily
exploited, while the information garnered from a query could be used for social engineering attacks. nowadays, the
finger daemons have been refined and are no longer so vulnerable.
in the post-facebook world, new types of social networks are popping up. the latest in this movement is a resurgence of the finger protocol. what follows is a rough guide for getting yourself up to speed with finger on [tilde.team](https://tilde.team).
in the post-facebook world, new types of social networks are popping up. the latest in this movement is a resurgence of
the finger protocol. what follows is a rough guide for getting yourself up to speed with finger
on [tilde.team](https://tilde.team).
## tilde.team specifics
@ -27,7 +34,8 @@ the standard query for finger is simply
finger user@host
```
which displays login name, home directory, shell, real name, current login time, idle time, whether or not the user has mail, and the contents of the user's ~/.plan file. Here is an example of the output:
which displays login name, home directory, shell, real name, current login time, idle time, whether or not the user has
mail, and the contents of the user's ~/.plan file. Here is an example of the output:
```
Login: username Name: Bob Bobson XXII
@ -42,10 +50,14 @@ hey hey hey everybody!
## .plan
The ~/.plan file displayed at the end of the finger query response allows for some customization. You can put literally any text you want there. Status updates, summaries, etc. This little file allows us to use finger as a rudimentary social network.
The ~/.plan file displayed at the end of the finger query response allows for some customization. You can put literally
any text you want there. Status updates, summaries, etc. This little file allows us to use finger as a rudimentary
social network.
For example, say you want to use it as a personal summary, like having a blurb about what you're working on. Place the statement into ~/.plan and you're ready to go!
For example, say you want to use it as a personal summary, like having a blurb about what you're working on. Place the
statement into ~/.plan and you're ready to go!
For a more traditional social network style format, put dated and timed status updates as if you're tooting on a mastodon instance. The sky's the limit! Well, actually, text is the limit. But you get the idea. Right?
For a more traditional social network style format, put dated and timed status updates as if you're tooting on a
mastodon instance. The sky's the limit! Well, actually, text is the limit. But you get the idea. Right?
hope to see you on finger soon!

94
wiki/pages/gemini-cgi.md Normal file
View File

@ -0,0 +1,94 @@
---
author: ~khuxkm
published: true
title: gemini cgi guide
description: a guide to using CGI on gemini
category:
- publishing
- guides
- technical
---
## where to put CGI scripts
you can put CGI scripts anywhere. as long as you make the file executable and
have it output the correct format for gemini. the server calls a new instance
of the program for every request it has to handle, meaning that data isn't
saved between runs unless you manually save the data to a file or database and
load the data on the next run.
## what languages can be used to write CGI
any language that can read environment variables can be used for CGI. even
shell scripting can be used for CGI, given you provide the correct shebang.
## how to write a gemini CGI script
these are the environment variables gemserv (our trusty gemini server) gives a
CGI program:
- `GATEWAY_INTERFACE` - always `CGI/1.1` in our case
- `GEMINI_URL` - the full URL used to request the page, including any query
strings
- `PATH_INFO` - any extra path after the script itself (for instance,
`gemini://tilde.team/~khuxkm/test.cgi/test/one` gives a `PATH_INFO` of
`/test/one`)
- `REMOTE_ADDR`, `REMOTE_HOST`, `REMOTE_PORT` - the addr/host/port of the
connecting client, the former two useful for rate-limiting
- `SCRIPT_NAME` - the path component of the URL that corresponds to the script
being called
- `SERVER_NAME` - the name of the server, in our case `tilde.team`
- `SERVER_PROTOCOL` - always `GEMINI` in our case
- `SERVER_SOFTWARE` - always `gemserv` in our case
- `LC_CTYPE` - always `C.UTF-8` in our case (allows for UTF-8 output)
also, if the user supplies a cert:
- `AUTH_TYPE` - always `Certificate` if present; if not present, no cert is
supplied
- `TLS_CLIENT_HASH` - the hash of the certificate, prepended with the hash type
- `REMOTE_USER` - the Common Name of the certificate
in order to write a CGI program, simply use these environment variables to
figure out what you want to do and then do it. for a simple hello world:
```
#!/bin/sh
printf '20 text/gemini\r\n'
printf 'Hello world from CGI!\r\n'
```
do note that the first line MUST use \r\n as a terminator. after that, if
you're serving gemtext, you can use whatever LF/CRLF you want for line endings
as long as you stay consistent.
for a more complex hello world that asks for input, here's a python script that
asks for your name and says hello to you:
```
#!/usr/bin/python3
from urllib.parse import unquote
from os import environ
from sys import exit
if "QUERY_STRING" not in environ:
print("10 Please enter your name",end="\r\n")
exit()
name = unquote(environ["QUERY_STRING"])
print("20 text/gemini",end="\r\n")
print(f"Hello {name}!")
```
remember, anything that can read environment variables and write to stdout can
be used to make CGI, as long as the server can figure out how to execute it.
##how to set a CGI script as executable
The CGI script must be marked as executable in order to actually run.
To make the script executable, run this command:
```
chmod +x SCRIPT_NAME.cgi
```

View File

@ -4,7 +4,9 @@ published: true
title: gemini
description: gemini hosting on tilde.team
category:
- main
- publishing
- services
- guides
---
tilde.team offers gemini hosting!
@ -34,4 +36,6 @@ here's a simple example in sh
only the first line of the file MUST send `\r\n`
for more info see [the CGI page](https://tilde.team/wiki/gemini-cgi)
see you in geminispace and feel free to stop by #gemini on irc to discuss!

View File

@ -4,10 +4,13 @@ published: true
title: getting started
description: tilde.team getting started guide
category:
- main
- beginners
- technical
- guides
---
this guide is not very thorough or complete. if you want something nicer, try [our cli for beginners article](cli-for-beginners).
this guide is not very thorough or complete. if you want something nicer,
try [our cli for beginners article](cli-for-beginners).
---
@ -34,12 +37,12 @@ New to the command line and all this webby cowfoolery? You're in luck! Here's a
- `ssh your_username@tilde.team`
- Enter your ssh key passphrase (if you set one).
### Legacy Windows
- [git bash](https://gitforwindows.org) included with a standard git install
- [msys2](https://msys2.github.io) is quite nice and has support for [mosh](https://mosh.org)
- another option is to use [WSL (windows subsystem for linux)](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
- another option is to
use [WSL (windows subsystem for linux)](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
### Linux
@ -49,7 +52,8 @@ New to the command line and all this webby cowfoolery? You're in luck! Here's a
### MacOS
- Browse to Applications/Utilities/Terminal and launch Terminal (or press cmd+space, start typing Terminal, and press return)
- Browse to Applications/Utilities/Terminal and launch Terminal (or press cmd+space, start typing Terminal, and press
return)
- `ssh your_username@tilde.team`
- Enter your ssh key passphrase (if you set one).

View File

@ -3,64 +3,65 @@ author: ~ben
published: false
title: goals and roadmap
description: tilde.team roadmap and goals list
category:
- main
category:
- about
---
[living draft of this document](https://pad.tildeverse.org/code/#/2/code/edit/RFBUqXec+9+MlZzx4mnhU3ps/)
these ideas are partly about building one system (in this case, tilde.team) but also about supporting a
these ideas are partly about building one system (in this case, tilde.team) but also about supporting a
broader ecosystem of interconnected systems.
1. develop a clear system identity as an alternative social environment for the technically-inclined;
specifically, serving as a non-commercial alternative to the mainstream, corporate-owned media and social media.
the dual points of (1) an alternative social/communications medium and (2) technically inclined user base are
important because, together, they put the users in the role of protecting (and enjoying!) the tools of
communication that are currently being neutered by corporate commodification of the www.
1. develop a clear system identity as an alternative social environment for the technically-inclined;
specifically, serving as a non-commercial alternative to the mainstream, corporate-owned media and social media.
the dual points of (1) an alternative social/communications medium and (2) technically inclined user base are
important because, together, they put the users in the role of protecting (and enjoying!) the tools of
communication that are currently being neutered by corporate commodification of the www.
2. related to #1, focus on cultivating a technically-inclined user base that is aware of the societal value of
non-commercial, alternative communication and social media. (not all users have to be code wizards, but it's safe
to assume that the very premise of a command-line platform will weed out pure-GUI people.)
2. related to #1, focus on cultivating a technically-inclined user base that is aware of the societal value of
non-commercial, alternative communication and social media. (not all users have to be code wizards, but it's safe
to assume that the very premise of a command-line platform will weed out pure-GUI people.)
3. provide tools, resources and encouragement for users to develop ideas and best practices for the next
generation of public access unix systems (in this case, in the form of a tilde box [1]). the "next generation" is
always ahead of the present, so this implies that the system is in a constant state of development and
self-improvement, with a continually rolling set of goals, and regular testing and evaluation of experimental
projects. --all of which is powered by user involvement in a brainstorming/experimenting/teaching/learning/doing
model.
3. provide tools, resources and encouragement for users to develop ideas and best practices for the next
generation of public access unix systems (in this case, in the form of a tilde box [1]). the "next generation" is
always ahead of the present, so this implies that the system is in a constant state of development and
self-improvement, with a continually rolling set of goals, and regular testing and evaluation of experimental
projects. --all of which is powered by user involvement in a brainstorming/experimenting/teaching/learning/doing
model.
4. related to #3, really emphasize that learning through doing is a core theme of the system.
5. serve partly as a meta-community among other tildes and pubnixes, both spreading best practices to them and
learning from experiences from them.
5. serve partly as a meta-community among other tildes and pubnixes, both spreading best practices to them and
learning from experiences from them.
6. through this development (#5) of interconnections among similar communities, develop trusted individual-based
communication networks among many similar systems. here's where that federation concept comes in, possibly
allowing people to have a 'home' system, and to use those credentials to visit other systems as well.
6. through this development (#5) of interconnections among similar communities, develop trusted individual-based
communication networks among many similar systems. here's where that federation concept comes in, possibly
allowing people to have a 'home' system, and to use those credentials to visit other systems as well.
7. last but absolutely not least --> MAKE IT FUN! it should not be a bitter place to sulk or rant about the
mainstream. it should be a social environment in which users can go wild and push their creative skills to the
limit. it should be a place to appreciate what does not exist on facebook and other exploitative commercial
environments.
mainstream. it should be a social environment in which users can go wild and push their creative skills to the
limit. it should be a place to appreciate what does not exist on facebook and other exploitative commercial
environments.
8. idea mill:
* if software development is a main activity to be encouraged among the users, provide a forum for saying "here's an idea; who wants to develop it?"
* this could happen somewhere on the [forum](https://forum.tilde.team) (which would also need some love from the devs)
* this would allow people to find co-developers, or to allow non-devs to give devs good ideas.
* if software development is a main activity to be encouraged among the users, provide a forum for saying "here's an
idea; who wants to develop it?"
* this could happen somewhere on the [forum](https://forum.tilde.team) (which would also need some love from the
devs)
* this would allow people to find co-developers, or to allow non-devs to give devs good ideas.
## future plans
* ldap auth
* nextcloud?
* onlyoffice
* mumble/teamspeak
* nextcloud?
* onlyoffice
* mumble/teamspeak
* ~ben shouldn't be the single point of failure. need a way to pass command to another admin if i go MIA.
## to do
* come up with a community charter
* terms of use
* terms of use
* aup
* better documentation

View File

@ -4,7 +4,9 @@ published: true
title: gopher
description: gopher server and proxy
category:
- main
- guides
- services
- publishing
---
the [gopher protocol](http://en.wikipedia.org/wiki/Gopher_(protocol)) was

View File

@ -3,16 +3,19 @@ author: ~ben
published: true
title: irc
description: irc information
category:
- main
category:
- guides
- technical
- beginners
---
hi teammates!
the tilde.chat irc network is available publicly at irc.tilde.chat:6697 (with ssl) as a round robin of
the tilde.chat irc network is available publicly at irc.tilde.chat:6697 (with ssl) as a round robin of
[available nodes](https://tilde.chat/wiki/servers).
to connect directly to our node, you can use the following addresses:
- localhost port 6667 when at your shell or via ssh port-forwarding
- team.tilde.chat port 6697 with ssl
@ -37,15 +40,15 @@ location (`~/.weechat/relay_socket`). to get started using it, follow these step
1. in weechat:
* `/relay add unix.weechat %h/relay_socket`
* `/set relay.network.password mysupersecretpassword` - don't use this password
of course. note that you might already have this set.
of course. note that you might already have this set.
1. at your shell:
2. at your shell:
* `chmod o+rw ~/.weechat/relay_socket` - note that other members of the team group
are not included in the granted permissions. this allows nginx to connect
to your socket on your behalf. you will need to do this every time you start
weechat as the socket doesn't exist until weechat starts up.
are not included in the granted permissions. this allows nginx to connect
to your socket on your behalf. you will need to do this every time you start
weechat as the socket doesn't exist until weechat starts up.
1. in your relay client:
3. in your relay client:
* glowing-bear:
- $user.ttm.sh
- port 443
@ -57,11 +60,12 @@ location (`~/.weechat/relay_socket`). to get started using it, follow these step
- relay host: $user.ttm.sh
- relay port: 443
- your relay password
- (if you get "Error: Could not connect using WebSocket", check to be sure
~/ and ~/.weechat have at least o+rx permissions so nginx can reach
~/.weechat/relay_socket)
## znc
- (if you get "Error: Could not connect using WebSocket", check to be sure
~/ and ~/.weechat have at least o+rx permissions so nginx can reach
~/.weechat/relay_socket)
## znc
the system znc authenticates using your shell password (same as with email and
[nextcloud](https://cloud.tilde.team)). reach out to an admin on irc or

View File

@ -3,13 +3,15 @@ author: ~cmccabe
published: true
title: learning opportunities
description: a list of code challenges, internships, and other resources to support learning by tilde.team members
category: education
- main
category:
- guides
- beginners
---
## Coding Challenge Websites
There are many coding challenge websites on the Internet today. below are a few of them. the tilde.team shell is a great place to work on solutions to the challenges.
There are many coding challenge websites on the Internet today. below are a few of them. the tilde.team shell is a great
place to work on solutions to the challenges.
Please, just be mindful of efficient coding practices while working on these.
@ -28,7 +30,7 @@ These challenges focus primarily on practicing various computer security princip
## Internships and Other Developmental Opportunities
### Formlabs
### Formlabs
* [https://formlabs.com/company/careers/job/82446/apply/](https://formlabs.com/company/careers/job/82446/apply/)
@ -36,4 +38,5 @@ These challenges focus primarily on practicing various computer security princip
## This Page Is Built Based On Your Input!
If you know of other internships, opportunities, or other (good) code challenge sites, submit a pull request for this page, or mention it to an admin on IRC.
If you know of other internships, opportunities, or other (good) code challenge sites, submit a pull request for this
page, or mention it to an admin on IRC.

69
wiki/pages/logarion.md Normal file
View File

@ -0,0 +1,69 @@
---
author: ~ben
published: true
title: logarion
description: how to use logarion for plain-text publishing
category:
- publishing
- guides
- technical
---
To file and exchange texts, `txt` uses plain-text headers on the top of
text files. The basic headers include an
identifier, topics, authors and a date. It also needs to know basic repository information.
## Initialise
`txt init` will initialise a text repository in the current directory.
A `.logarion` directory is created, containing a configuration file, which is
editable with a text editor.
That's where you can name the text repository and declare the archivists'
names, which will also function as the default author name for new texts.
## New texts
To create new text files with the header fields to populate, use
`txt new "title"`, replacing `title` with the text's title.
The command will return the filename of the new text.
The filename starts with a part of the ID and the title of the text.
Use the file name to open it with your text editor.
## Filing
New texts can be filed in different subdirectories to create sub-repositories
of finished texts.
One use of that is to separate some of the texts to share with others.
Use `txt file ..`, replacing the dots with text file names and directories,
and txt will file (hard-link) each text into every directory specified.
Note, this is different from using the Topics header field to declare the
text's subjects.
## Convert
Generate web sites and Gemini capsuled of a text collection using
`txt convert`.
First `txt file` some texts in a subdirectory
(`txt file a.txt b.txt .. some/`) then call `txt convert somedir`.
It will scan all text files in there and convert them to other formats.
It will also produce index files for those formats and also generate an
`index.pck` file.
This index pack is a feed for other people using `txt`.
Upload the `index.pck` and the text files of the subdirectory to a host of
your choice.
If the host provides HTTP or Gemini access, upload `.htm` and `.gem` files
respectively.
## Pull
To use `txt` to clone remote repositories, add the URLs of the repositories in
`peers.priv.conf` or `peers.pub.conf`.
Both files must be created first.
Once the files are populated with the URLs, run `txt pull` and it will clone
all of the text files shared in those repositories in a local `peers/`
subdirectory.
As the name suggests, `peers.priv.conf` is private and the URLs contained in it will not be copied into `index.pck`.
On the other hand, URLs in `peers.pub.conf` will be included in the
`index.pck`, providing a way to discover other text repositories.

View File

@ -4,7 +4,8 @@ published: true
title: lua
description: set up tools to write lua code
category:
- main
- guides
- tecnical
---
This page will explain how to set up your tilde.team account for

View File

@ -4,21 +4,22 @@ published: true
title: mailing list netiquette
description: tildeverse mailing lists etiquette guide
category:
- main
- beginners
- guidelines
---
the tildeverse has now its own mailing list service. you can take a look at:
[lists.tildeverse.org](https://lists.tildeverse.org/)
this is a description of the basic *netiquette* rules for this service. most of
the text is taken shamelessly from
the text is taken shamelessly from
[man.sr.ht/lists.sr.ht/etiquette.md](https://man.sr.ht/lists.sr.ht/etiquette.md)
with some adaptations and a couple more suggestions taken from other lists out
there.
some email clients have popularized email usage patterns which are considered
poor form on many mailing lists. please review some of our suggestions for
participating more smoothly in discussions on the tildeverse. this advice will
participating more smoothly in discussions on the tildeverse. this advice will
likely serve you well outside the tildeverse as well.
if you have any troubles following these guides or don't know how to configure
@ -42,7 +43,7 @@ some email clients will paste the entire email you're replying to into your
response and encourage you to write your message over it. this behavior is
called "top posting" and is discouraged on the tildeverse lists (or on any
mailing list really). instead, cut out any parts of the reply that you're not
directly responding to and write your comments inline. feel free to edit the
directly responding to and write your comments inline. feel free to edit the
original message as much as you like. in other words, keep the relevant context
for your reply and delete the rest. this makes cleaner emails that are easier to
read, even if the reader jumps in the middle of a thread.
@ -79,7 +80,7 @@ You might respond with:
please wrap lines in your email at 72 columns. many people use email readers
designed to faithfully display plain text and won't break lines at a width which
is comfortable for reading, or won't break lines at all, which is useful when
reviewing patches. some readers also have many things open in addition to their
reviewing patches. some readers also have many things open in addition to their
mail client, and may not allocate as much screen real-estate to email as you do.
if you're curious about why this arbitrary column count. "regular" terminals
@ -99,7 +100,7 @@ inline signature. look in your local pgp implementation's documentation for
try not to send attachment to the list or, if you do it, make sure they are
small files. think about people with bad internet connection or limited
resources. it's better to send a link to download whatever you want to share.
resources. it's better to send a link to download whatever you want to share.
if you send links, it's a good practice to describe the content and the size,
so the reader can choose to download it or not before following the link. for
example, you can upload a file to [ttm.sh](https://ttm.sh) or drop it in your

View File

@ -3,42 +3,42 @@ author: ~ben
published: true
title: tilde.team manifesto
description: tilde.team manifesto
category:
- main
category:
- beginners
- about
---
> tilde.team is a shared system that provides an inclusive, non-commercial space
> tilde.team is a shared system that provides an inclusive, non-commercial space
> for teaching, learning, practicing and enjoying the social medium of unix.
here are some of our most important values:
1. tilde.team is an alternative social environment for the technically-inclined;
specifically, a non-commercial alternative to the mainstream, corporate-owned
media and social media. we aim to put the users in control of the tools of
communication that are currently being neutered by corporate commodification
of the www.
1. tilde.team is an alternative social environment for the technically-inclined;
specifically, a non-commercial alternative to the mainstream, corporate-owned
media and social media. we aim to put the users in control of the tools of
communication that are currently being neutered by corporate commodification
of the www.
1. provide tools, resources and encouragement for users to develop ideas and
best practices for the next generation of public access unix systems. the
"next generation" is always ahead of the present, so this implies that the
system is in a constant state of development and self-improvement, with a
continually rolling set of goals, and regular testing and evaluation of
experimental projects. --all of which is powered by user involvement in a
brainstorming/experimenting/teaching/learning/doing model.
2. provide tools, resources and encouragement for users to develop ideas and
best practices for the next generation of public access unix systems. the
"next generation" is always ahead of the present, so this implies that the
system is in a constant state of development and self-improvement, with a
continually rolling set of goals, and regular testing and evaluation of
experimental projects. --all of which is powered by user involvement in a
brainstorming/experimenting/teaching/learning/doing model.
1. serve partly as a meta-community among other tildes and pubnixes, both
sharing best practices and learning from their experiences.
1. last but absolutely not least --> MAKE IT FUN! it should not be a bitter
place to sulk or rant about mainstream culture. it should be a social
environment in which users can go wild and push their creative skills to the
limit. it should be a place to appreciate what does not exist in other
exploitative commercial environments.
3. serve partly as a meta-community among other tildes and pubnixes, both
sharing best practices and learning from their experiences.
4. last but absolutely not least --> MAKE IT FUN! it should not be a bitter
place to sulk or rant about mainstream culture. it should be a social
environment in which users can go wild and push their creative skills to the
limit. it should be a place to appreciate what does not exist in other
exploitative commercial environments.
---
this document is still a work in progress. if you have any ideas or
this document is still a work in progress. if you have any ideas or
suggestions, [send a pr](https://tildegit.org/team/site/src/branch/master/wiki/pages/manifesto.md)!
[living draft of this document here](https://pad.tilde.team/code/#/2/code/edit/RFBUqXec+9+MlZzx4mnhU3ps/)

View File

@ -4,7 +4,8 @@ published: true
title: other tildes
description: an up-to-date list of other tildes
category:
- main
- about
- tildeverse
---
if you're starting a tilde and want to be added to this list, [open a PR :)](
@ -12,44 +13,48 @@ https://tildegit.org/team/site/src/branch/master/wiki/pages/other-tildes.md)
also see the [known tildes](https://tilde.wiki/wiki/Known_tildes) section on tilde.wiki.
| tilde name | description | where to join | notes |
|------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------|
| [breadpunk.club](https://breadpunk.club) | breadpunk.club is a small tilde focused on bread-making and community-building. see the [manifesto](https://breadpunk.club/docs/manifesto/) for more information on our mission. | [signup information here](https://breadpunk.club/join/) | |
| [cosmic.voyage](https://cosmic.voyage) | cosmic.voyage is an Ubuntu server focused on collaborative sci-fi storytelling. The background story is visible on the homepage. New authors are welcome to join and take on the voice of various ships, outposts, and colonies scattered across the universe, sending text messages back to a relay at Earth's L4 point. | [signup information here](https://cosmic.voyage/join.html) | |
| [ctrl-c.club](http://ctrl-c.club) | A place for the curious to poke around and play. SSH access, web pages, games, and programming languages on tap. | [signup form](http://goo.gl/forms/oviL1wYSrV) | |
| [dimension.sh](https://dimension.sh/) | dimension.sh is a small public linux shell host (or pubnix system) that is open to anyone who wants to learn, experiment, and socialize with other like minded people. | [signup form](https://dimension.sh/join.html) | |
| [envs.net](https://envs.net/) | envs.net is a minimalist, non-commercial shared unix system and will always be free to use. | [signup here](https://envs.net/signup) | |
| [hackers.cool](http://hackers.cool) | A tilde.club started by some nerd at Hacker School. As such, it's got a lot of Hacker Schoolers on it, but everyone is welcome! | [signup form](https://docs.google.com/forms/d/1PHnXadDW1WySCB9frIefjXI3P6bt8n_p4YMyiPPD4O4/viewform) | |
| [nand.club](http://nand.club) | a new anti-capitalist, solarpunk tilde | [signup info here](http://nand.club) | down |
| [palvelin.club](http://palvelin.club) | Finnish language tilde server. | [signup form](https://docs.google.com/forms/d/1tTGiOU0z3M92nCb5Lv3Tv_sJXGLh8kj5Gl79Gx4ZOdM/viewform) | |
| [pebble.ink](http://pebble.ink) | pebble.ink is a project almost, but not quite, like tilde.club | ask [@phildini](https://twitter.com/phildini) or try [this signup form](http://pebble.ink/apply.html) | |
| [piepi.art](https://piepi.art) | aka [🥧π.to](https://🥧π.to/) is a tilde, art project, and zine. Users are encouraged to make their page with pi or pie related art (of any format or medium) which is currated into a zine. | email your public key and desired username to [kindrobot@tilde.team](mailto:kindrobot@tilde.team) | |
| [protocol.club](http://protocol.club) | protocol.club explores the fundamental and unique learning opportunities provided by the implementation of standardized protocols. It is a place for curious minds to explore and experiment, to educate and be educated about protocols and implementations old and new alike. While inspired by tilde.club and federated with the rest of the tildeverse via NNTP (et cetera), protocol.club has a stronger focus on its particular mission and has several differences from other tilde boxes, namely: we have a Code of Conduct, and we have some resources available locally to aid development of protocol implementations and new draft protocols. We also serve pages over HTTPS. | [signup form](https://docs.google.com/forms/d/11sJKpZnqaqNVR-rYRfCxKl05iSpjJa85XbigY8xbzBM/viewform?c=0&w=1) | down |
| [rawtext.club](https://rawtext.club) | rawtext.club (RTC) is an experimental public access shell server with a focus on use of collaborative projects for gnu/linux skill building. Projects include simple, command line social tools and utilities, or whatever lightweight programs users are interested in. RTC does not use IRC, and instead focuses on other slower and more thoughtful forms of user interaction. | Send email to admin@rawtext.club with your ssh pubkey, desired username, and a statement describing your interest in joining. | |
| [remotes.club](https://remotes.club) | Anyone who works remotely is welcome. | [signup form](https://www.remotes.club/request.php) | |
| [rw.rs](http://rw.rs) | An experimental software community with a 199X aesthetic. | [signup via pull request](https://github.com/adsr/rw.rs/) | |
| [skylab.org](http://skylab.org) | An open-source community co-operative with ~150 members that has existed since 1997. Based in Portland, Oregon, United States with a userbase across the world, we have quietly existed. Featuring geektalk community chat, a variety of tools and hosting running on FreeBSD. | Email [skylabstatus@gmail.com](mailto:skylabstatus@gmail.com) with subject line SKYLAB.ORG and an email containing your desired username, full name, public SSH key and an acknowledgement to play nice. | |
| [southlondon.cc](https://southlondon.cc) | a nice debian server hosted in the uk. it's got ssh access, web hosting, an xmpp server that sorta works and some slightly more interesting things coming soon. | [take a look at this page](https://southlondon.cc/signup) | |
| [squiggle.city](http://squiggle.city) | squiggle.city is a Debian server in the spirit of tilde.club. It's for making web pages and learning about the command line. If you are reading [userland](https://p1k3.com/userland-book/), which is about how to unix, squiggle.city is a place to explore the ideas it contains. | email [bbearnes@gmail.com](mailto:bbearnes@gmail.com) with your ssh pubkey and a promise to not be a jerk | |
| [summit pubnix](https://www.summit.tildex.com) | summit is an intentional and inclusive community for developing, making, learning, teaching, socializing, and enjoying various aspects of GNU/Linux in a free/non-commercial environment. If you need help or have any questions, feel free to ask in #pubnix on irc.tilde.chat. | [signup form](https://www.summit.tildex.com/join) | |
| [texto-plano.xyz](https://texto-plano.xyz) | A small UNIX system community in the spirit of [Tilde.club](https://tilde.club), [RTC](https://rawtext.club) and the [small Internet](http://gopher.muffinlabs.com/republic.circumlunar.space/~spring/phlog/2019-01-16__The_Small_Internet.txt) in Spanish language (we use OpenBSD) | Send your public key and your username to [admin@texto-plano.xyz](mailto:admin@texto-plano.xyz) | |
| [theasylum](https://theasylum.team) | invite-only tilde catering to programmers of all languages | join #theasylum on tilde.chat, and let us get to know you | |
| [thunix](https://thunix.net) | thunix offers Secure Shell (SSH) accounts, Web Hosting, Email Accounts, and many other things to people free of charge. | [signup info here](https://www.thunix.net/signup.php) | |
| [tilde.best](https://tilde.best) | tilde.best is a Debian server which is aiming to have a *best* community and *best* features. | email [root@tilde.best](mailto:root@tilde.best) with your ssh pubkey, desired username and reason why you want to join | down |
| [tilde.cafe](https://tilde.cafe) | tilde.cafe is a new debian server offering ssh, web hosting, email and more - easy going with plans to host games | [signup form](https://tilde.cafe/signup/) | |
| [tilde.cat](https://tilde.cat) | This is (or rather might be) public shell server like [the club](https://tilde.club), [the town](https://tilde.town), or other ~ servers. | [signup form](http://signup.tilde.cat) | down |
| [tilde.center](https://tilde.center) | A public unix server focused around decentralization, federation, and home-brewed open source projects. | [signup form](https://tilde.center/signup.php) | down |
| [tilde.guru](https://tilde.guru) | A public freebsd server focused around learning, open source and minimalism. | [signup instructions](https://tilde.guru/signup) | |
| [tilde.fun](https://tilde.fun) | This is a Linux machine on the internet where you can get a shell account. | `ssh tilde@tilde.fun` | down |
| [tilde.institute](https://tilde.institute) | Provides a space dedicated to the OpenBSD operating system. Includes a functional BCHS stack for users to experiment with and use to create web applications. | [signup form](https://tilde.institute/signup) | |
| [tilde.my.to](https://tilde.my.to) | If you're looking for a great tilde, to learn and play and also maybe break things, come check tilde.my.to out. | [signup request is via mail](https://tilde.my.to) | |
| [tilde.pink](gopher://tilde.pink) | A gopher only tilde, providing shell acounts with email and gopher services running on a DragonflyBSD server. The site is accessible via [web proxy](https://proxy.tilde.pink) | [signup form](gopher://tilde.pink/1/signup.gph) | |
| [tilde.pw](https://tilde.pw) | tilde.pw is a unix server with some people on it and that unix server hosts webpages and other things too. | [signup form](https://tilde.pw/signup.php) | |
| [tilde.town](https://tilde.town) | tilde.town is an open, welcoming and safe place for the exploration of lo-fi HTML art, hi-fi javascript experiments, generative poetic works, and digital socialization in a post-facebook age. | [signup form](https://cgi.tilde.town/users/signup) | |
| [tildespark](https://tildespark.ddns.net) | Tilde Spark is a constantly evolving intentional community devoted to free software, open hardware and meeting new people! | [signup info here](https://tildespark.ddns.net/ikiwiki/tildespark/howtojoin/) | down |
| [ttylde](https://ttylde.karx.xyz) | ttylde is an experimental tilde running FreeBSD. Currently seeking new members! | [signup form](https://ttylde.karx.xyz/signup.php) | |
| [unix.lgbt](https://unix.lgbt) | unix.lgbt is an explictly LGBTQ+ friendly public unix/tilde! we offer web, gemini, irc and various other community services. | [signup form](https://unix.lgbt/register.php) | |
| [wilde.ftp.sh](http://wilde.ftp.sh/) | The world's first (and possibly only) Windows-based tilde! | [signup form](http://wilde.ftp.sh/signup.php) | down |
| [xhec.one](https://xhec.one) | A brand new ~ running on OpenBSD. Seeking members and suggestions for content :) | [signup instructions](https://xhec.one) | |
| [yourtilde.com](https://yourtilde.com) | If you're looking for a new ~, to learn and play, come check us out. | [signup form](https://yourtilde.com/sign-up) | |
| [xinu.me](https://xinu.me) | Experimental community for socializing, developing digital skills and collaborating through the system shell. In Spanish, mainly. | [signup instructions](https://xinu.me/inscripcion.html) | |
| status | tilde name | description | where to join |
|--------|------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| | [bonn.cafe](https://bonn.cafe) | bonn.cafe is a tilde running on a Raspberry Pi Zero 2 and is located in the Old Town of Bonn, Germany. It strives to be a calm, creative playground with a focus on learning and smol computing. | Send email to olav@bonn.cafe with your ssh pubkey, desired username, and a statement describing your interest in joining. |
| | [cosmic.voyage](https://cosmic.voyage) | cosmic.voyage is an Ubuntu server focused on collaborative sci-fi storytelling. The background story is visible on the homepage. New authors are welcome to join and take on the voice of various ships, outposts, and colonies scattered across the universe, sending text messages back to a relay at Earth's L4 point. | [signup information here](https://cosmic.voyage/join.html) |
| | [ctrl-c.club](http://ctrl-c.club) | A place for the curious to poke around and play. SSH access, web pages, games, and programming languages on tap. | [signup form](http://goo.gl/forms/oviL1wYSrV) |
| | [dimension.sh](https://dimension.sh/) | dimension.sh is a small public linux shell host (or pubnix system) that is open to anyone who wants to learn, experiment, and socialize with other like minded people. | [signup form](https://dimension.sh/join.html) |
| | [envs.net](https://envs.net/) | envs.net is a minimalist, non-commercial shared unix system and will always be free to use. | [signup here](https://envs.net/signup) |
| | [hackers.cool](http://hackers.cool) | A tilde.club started by some nerd at Hacker School. As such, it's got a lot of Hacker Schoolers on it, but everyone is welcome! | [signup form](https://docs.google.com/forms/d/1PHnXadDW1WySCB9frIefjXI3P6bt8n_p4YMyiPPD4O4/viewform) |
| | [palvelin.club](http://palvelin.club) | Finnish language tilde server. | [signup form](https://docs.google.com/forms/d/1tTGiOU0z3M92nCb5Lv3Tv_sJXGLh8kj5Gl79Gx4ZOdM/viewform) |
| | [pebble.ink](http://pebble.ink) | pebble.ink is a project almost, but not quite, like tilde.club | ask [@phildini](https://twitter.com/phildini) or try [this signup form](http://pebble.ink/apply.html) |
| | [piepi.art](https://piepi.art) | aka [🥧π.to](https://🥧π.to/) is a tilde, art project, and zine. Users are encouraged to make their page with pi or pie related art (of any format or medium) which is currated into a zine. | email your public key and desired username to [kindrobot@tilde.team](mailto:kindrobot@tilde.team) |
| | [projectsegfau.lt](https://projectsegfau.lt) | Open source development and hosted services | [signup form](https://projectsegfau.lt/pubnix/register) |
| closed | [protocol.club](http://protocol.club) | protocol.club explores the fundamental and unique learning opportunities provided by the implementation of standardized protocols. It is a place for curious minds to explore and experiment, to educate and be educated about protocols and implementations old and new alike. While inspired by tilde.club and federated with the rest of the tildeverse via NNTP (et cetera), protocol.club has a stronger focus on its particular mission and has several differences from other tilde boxes, namely: we have a Code of Conduct, and we have some resources available locally to aid development of protocol implementations and new draft protocols. We also serve pages over HTTPS. | [signup form](https://docs.google.com/forms/d/11sJKpZnqaqNVR-rYRfCxKl05iSpjJa85XbigY8xbzBM/viewform?c=0&w=1) |
| | [rawtext.club](https://rawtext.club) | rawtext.club (RTC) is an experimental public access shell server with a focus on use of collaborative projects for gnu/linux skill building. Projects include simple, command line social tools and utilities, or whatever lightweight programs users are interested in. RTC does not use IRC, and instead focuses on other slower and more thoughtful forms of user interaction. | Send email to admin@rawtext.club with your ssh pubkey, desired username, and a statement describing your interest in joining. |
| | [remotes.club](https://remotes.club) | Anyone who works remotely is welcome. | [signup form](https://www.remotes.club/request.php) |
| | [rw.rs](http://rw.rs) | An experimental software community with a 199X aesthetic. | [signup via pull request](https://github.com/adsr/rw.rs/) |
| | [skylab.org](http://skylab.org) | An open-source community co-operative with ~150 members that has existed since 1997. Based in Portland, Oregon, United States with a userbase across the world, we have quietly existed. Featuring geektalk community chat, a variety of tools and hosting running on FreeBSD. | Email [skylabstatus@gmail.com](mailto:skylabstatus@gmail.com) with subject line SKYLAB.ORG and an email containing your desired username, full name, public SSH key and an acknowledgement to play nice. |
| | [squiggle.city](http://squiggle.city) | squiggle.city is a Debian server in the spirit of tilde.club. It's for making web pages and learning about the command line. If you are reading [userland](https://p1k3.com/userland-book/), which is about how to unix, squiggle.city is a place to explore the ideas it contains. | email [bbearnes@gmail.com](mailto:bbearnes@gmail.com) with your ssh pubkey and a promise to not be a jerk |
| | [texto-plano.xyz](https://texto-plano.xyz) | A small UNIX system community in the spirit of [Tilde.club](https://tilde.club), [RTC](https://rawtext.club) and the [small Internet](http://gopher.muffinlabs.com/republic.circumlunar.space/~spring/phlog/2019-01-16__The_Small_Internet.txt) in Spanish language (we use OpenBSD) | Send your public key and your username to [admin@texto-plano.xyz](mailto:admin@texto-plano.xyz) |
| | [theasylum](https://theasylum.team) | invite-only tilde catering to programmers of all languages | join #theasylum on tilde.chat, and let us get to know you |
| | [tilde.amcforum.wiki](https://tilde.amcforum.wiki) | A new small tilde that provides shell accounts to those who want to learn, or just socialise. | [signup instructions](https://amcnix.glitch.me) |
| | [tilde.cafe](https://tilde.cafe) | tilde.cafe is a new debian server offering ssh, web hosting, email and more - easy going with plans to host games | [signup form](https://tilde.cafe/signup/) |
| | [tilde.fun](https://tilde.fun) | This is a Linux machine on the internet where you can get a shell account. | Message one of the admins |
| | [tilde.guru](https://tilde.guru) | A public freebsd server focused around learning, open source and minimalism. | [signup instructions](https://tilde.guru/signup) |
| | [tilde.institute](https://tilde.institute) | Provides a space dedicated to the OpenBSD operating system. Includes a functional BCHS stack for users to experiment with and use to create web applications. | [signup form](https://tilde.institute/signup) |
| | [tilde.pink](gopher://tilde.pink) | A gopher only tilde, providing shell acounts with email and gopher services running on a DragonflyBSD server. The site is accessible via [web proxy](https://proxy.tilde.pink) | [signup form](gopher://tilde.pink/1/signup.gph) |
| | [tilde.town](https://tilde.town) | tilde.town is an open, welcoming and safe place for the exploration of lo-fi HTML art, hi-fi javascript experiments, generative poetic works, and digital socialization in a post-facebook age. | [signup form](https://cgi.tilde.town/users/signup) |
| | [vern.cc](https://vern.cc) | ~vern is a non-commercial shared GNU/Linux system focused on services and free software | [signup form](https://vern.cc/register) |
| | [xinu.me](https://xinu.me) | Experimental community for socializing, developing digital skills and collaborating through the system shell. In Spanish, mainly. | [signup instructions](https://xinu.me/inscripcion.html) |
| down | [breadpunk.club](https://breadpunk.club) | breadpunk.club is a small tilde focused on bread-making and community-building. see the [manifesto](https://breadpunk.club/docs/manifesto/) for more information on our mission. | [signup information here](https://breadpunk.club/join/) |
| down | [hextilde.xyz](https://hextilde.xyz) | hextilde.xyz - HEXadecimal Arch Tilde | [signup form](https://hextilde.xyz/signup) |
| down | [nand.club](http://nand.club) | a new anti-capitalist, solarpunk tilde | [signup info here](http://nand.club) |
| down | [summit pubnix](https://www.summit.tildex.com) | summit is an intentional and inclusive community for developing, making, learning, teaching, socializing, and enjoying various aspects of GNU/Linux in a free/non-commercial environment. If you need help or have any questions, feel free to ask in #pubnix on irc.tilde.chat. | [signup form](https://www.summit.tildex.com/join) |
| down | [southlondon.cc](https://southlondon.cc) | a nice debian server hosted in the uk. it's got ssh access, web hosting, an xmpp server that sorta works and some slightly more interesting things coming soon. | [take a look at this page](https://southlondon.cc/signup) |
| | [thunix](https://thunix.net) | thunix offers Secure Shell (SSH) accounts, Web Hosting, Email Accounts, and many other things to people free of charge. | [signup info here](https://www.thunix.net/signup.php) |
| down | [tilde.best](https://tilde.best) | tilde.best is a Debian server which is aiming to have a *best* community and *best* features. | email [root@tilde.best](mailto:root@tilde.best) with your ssh pubkey, desired username and reason why you want to join |
| down | [tilde.cat](https://tilde.cat) | This is (or rather might be) public shell server like [the club](https://tilde.club), [the town](https://tilde.town), or other ~ servers. | [signup form](http://signup.tilde.cat) |
| down | [tilde.center](https://tilde.center) | A public unix server focused around decentralization, federation, and home-brewed open source projects. | [signup form](https://tilde.center/signup.php) |
| down | [tilde.pw](https://tilde.pw) | tilde.pw is a unix server with some people on it and that unix server hosts webpages and other things too. | [signup form](https://tilde.pw/signup.php) |
| down | [tildespark](https://tildespark.ddns.net) | Tilde Spark is a constantly evolving intentional community devoted to free software, open hardware and meeting new people! | [signup info here](https://tildespark.ddns.net/ikiwiki/tildespark/howtojoin/) |
| empty | [ttylde](https://ttylde.karx.xyz) | ttylde is an experimental tilde running FreeBSD. Currently seeking new members! | [signup form](https://ttylde.karx.xyz/signup.php) |
| down | [unix.lgbt](https://unix.lgbt) | unix.lgbt is an explictly LGBTQ+ friendly public unix/tilde! we offer web, gemini, irc and various other community services. | [signup form](https://unix.lgbt/register.php) |
| down | [wilde.ftp.sh](http://wilde.ftp.sh/) | The world's first (and possibly only) Windows-based tilde! | [signup form](http://wilde.ftp.sh/signup.php) |
| down | [xhec.one](https://xhec.one) | A brand new ~ running on OpenBSD. Seeking members and suggestions for content :) | [signup instructions](https://xhec.one) |
| down | [yourtilde.com](https://yourtilde.com) | If you're looking for a new ~, to learn and play, come check us out. | [signup form](https://yourtilde.com/sign-up) |

View File

@ -4,7 +4,8 @@ published: true
title: privacy policy
description: tilde.team privacy policy
category:
- main
- beginners
- about
---
tilde.team takes privacy seriously and, as such, remains committed to being in

View File

@ -4,7 +4,9 @@ published: true
title: hosting public git repos
description: hosting public git repos on tilde.team
category:
- main
- publishing
- technical
- guides
---
Besides the [Gitea instance][1] of tildeverse, you could easily set up a

View File

@ -4,16 +4,19 @@ published: true
title: services
description: tilde.team services list
category:
- main
- services
- tildeverse
---
i'll keep this wiki page updated with the services that we run and maintain :)
as a founding member of the [tildeverse](https://tildeverse.org), tilde.team hosts a number of services for the tildeverse to share.
as a founding member of the [tildeverse](https://tildeverse.org), tilde.team hosts a number of services for the
tildeverse to share.
### our deployed projects
- [forum](https://forum.tilde.team) ([source](https://tildegit.org/team/forum)) - mostly defunct in favor of [bbj](https://bbj.tildeverse.org)
- [forum](https://forum.tilde.team) ([source](https://tildegit.org/team/forum)) - mostly defunct in favor
of [bbj](https://bbj.tildeverse.org)
### code related stuff
@ -22,14 +25,14 @@ as a founding member of the [tildeverse](https://tildeverse.org), tilde.team hos
### general utilities
- [cryptpad](https://pad.tildeverse.org)
- [cryptdrive](https://pad.tildeverse.org/drive/)
- [markdown/code editor](https://pad.tildeverse.org/code/)
- [presentation slides editor](https://pad.tildeverse.org/slides/)
- [polls](https://pad.tildeverse.org/poll/)
- [kanban boards](https://pad.tildeverse.org/kanban/)
- [whiteboard](https://pad.tildeverse.org/whiteboard/)
- [file drop](https://pad.tildeverse.org/file/)
- [todo lists](https://pad.tildeverse.org/todo/)
- [cryptdrive](https://pad.tildeverse.org/drive/)
- [markdown/code editor](https://pad.tildeverse.org/code/)
- [presentation slides editor](https://pad.tildeverse.org/slides/)
- [polls](https://pad.tildeverse.org/poll/)
- [kanban boards](https://pad.tildeverse.org/kanban/)
- [whiteboard](https://pad.tildeverse.org/whiteboard/)
- [file drop](https://pad.tildeverse.org/file/)
- [todo lists](https://pad.tildeverse.org/todo/)
- [nextcloud](https://cloud.tilde.team/) - 250mb limit: log in with your shell password
- [paste bin](https://paste.tildeverse.org)
- [nullpointer fileshare](https://ttm.sh)
@ -40,16 +43,17 @@ as a founding member of the [tildeverse](https://tildeverse.org), tilde.team hos
- [tilde.news](https://tilde.news) - [lobste.rs](https://lobste.rs) sister site for tilde-related links
- [irc](https://tilde.chat) tilde.chat irc network for the tildeverse
- we host one node of the [network](https://tilde.chat/wiki/servers)
- we host [quotes.tilde.chat](https://quotes.tilde.chat)
- [znc bouncer](https://znc.tilde.team/) - log in with your shell password
- we host one node of the [network](https://tilde.chat/wiki/servers)
- we host [quotes.tilde.chat](https://quotes.tilde.chat)
- [znc bouncer](https://znc.tilde.team/) - log in with your shell password
- [xmpp](xmpp) federated chat network
- [pleroma](https://pleroma.tilde.zone) federated social network
- [mastodon](https://tilde.zone) federated social network
- [pinafore front-end](https://pinafore.tilde.zone)
- [halcyon front-end](https://halcyon.tilde.zone)
- [pinafore front-end](https://pinafore.tilde.zone)
- [halcyon front-end](https://halcyon.tilde.zone)
- [email](email) ([webmail](https://mail.tilde.team), smtp/imap, mutt, and alpine)
- [mailing lists](https://lists.tildeverse.org) - hosted on top of our mailserver
- [mailing lists](https://lists.tildeverse.org) - hosted on top of our mailserver
- tildeverse nntp accessible via news.tilde.team port 119 (read-only, for write access, you need to ssh inside)
- [bbj](https://tildegit.org/bbj/bbj) ([web mirror here](https://bbj.tildeverse.org)) - forked from [desvox/bbj](https://github.com/bbj-dev/bbj)
- [bbj](https://tildegit.org/bbj/bbj) ([web mirror here](https://bbj.tildeverse.org)) - forked
from [desvox/bbj](https://github.com/bbj-dev/bbj)
- [gopher proxy](https://gopher.tilde.team) - defaults to our local gopherd: gopher://tilde.team

View File

@ -4,7 +4,8 @@ published: true
title: spartan
description: spartan hosting on tilde.team
category:
- main
- publishing
- services
---
tilde.team offers spartan hosting!
@ -35,4 +36,5 @@ here's a simple example in sh
only the first line of the file MUST send `\r\n`
see you in... the Spartan-verse? Laconia? we haven't come up with a name, but feel free to stop by #spartan on irc to discuss!
see you in... the Spartan-verse? Laconia? we haven't come up with a name, but feel free to stop by #spartan on irc to
discuss!

View File

@ -4,7 +4,9 @@ published: true
title: ssh
description: ssh tutorial and background info
category:
- main
- beginners
- technical
- guides
---
_or, how to tell other computers to do cool things_
@ -12,9 +14,9 @@ _or, how to tell other computers to do cool things_
---
> all users are required to use an ssh keypair for login, or will be required
to proceed with manual account recovery with [~ben](/~ben/) or another admin.
drop a line to [sudoers@tilde.team](mailto:sudoers@tilde.team) or hop on
[irc](https://kiwi.tilde.chat/#team) for assistance.
> to proceed with manual account recovery with [~ben](/~ben/) or another admin.
> drop a line to [sudoers@tilde.team](mailto:sudoers@tilde.team) or hop on
[irc](https://tilde.chat/kiwi/#team) for assistance.
## tilde.team details
@ -83,8 +85,8 @@ be hacked) and for me, your humble sysadmin (less administration than passwords)
## how to make an ssh key
SSH supports a handful of types of cryptographic keys. The most used are [RSA](
<https://en.wikipedia.org/wiki/RSA_(cryptosystem)>) and the more modern [Ed25519](
https://en.wikipedia.org/wiki/EdDSA#Ed25519).
<https://en.wikipedia.org/wiki/RSA_(cryptosystem)>) and the more modern [Ed25519](
https://en.wikipedia.org/wiki/EdDSA#Ed25519).
RSA is the de-facto standard and is supported everywhere (just choose a big
enough key like 4096 bits to be secure). Ed25519 is designed to be faster and
@ -98,7 +100,7 @@ Keep in mind that these instructions leave your private keys unencrypted in
your local hard disk. So keep them private; never share them. A good solution
is to provide a password for them at creation time, but this implies entering
a password any time you used them (impractical) or use something like [ssh-agent](
https://man.openbsd.org/ssh-agent.1) (a bit more complex)
https://man.openbsd.org/ssh-agent.1) (a bit more complex)
We don't have documentation for this [(yet)](https://tildegit.org/team/site/src/branch/master/wiki)
so either go with no password keys, or ask on IRC ([#team](https://web.tilde.chat/?join=team)) for help.
@ -115,23 +117,23 @@ pick your fighter: [[mac](#mac)] | [[windows](#windows-10)] | [[linux](#linux)]
1. create your .ssh directory:
```bash
mkdir -m 700 ~/.ssh
```
```bash
mkdir -m 700 ~/.ssh
```
1. create your keys:
```bash
ssh-keygen -t ed25519 -a 100
```
```bash
ssh-keygen -t ed25519 -a 100
```
1. if you press enter to accept the defaults, your public and private key will
be located at `~/.ssh/id_ed25519.pub` and `~/.ssh/id_ed25519` respectively
be located at `~/.ssh/id_ed25519.pub` and `~/.ssh/id_ed25519` respectively
1. `cat ~/.ssh/id_ed25519.pub`
1. copy the output of the last command and paste it in the sshkey field on the
signup form (or email it to [~sudoers](mailto:sudoers@tilde.team) if you already have an account)
signup form (or email it to [~sudoers](mailto:sudoers@tilde.team) if you already have an account)
#### using your keypair
@ -153,7 +155,9 @@ where username is your username (~ben would use `ssh ben@tilde.team`)
### windows 10
windows 10 1809 or later has openssh built in, so you no longer need to install third-party tools. if openssh is not enabled, please see microsoft's documentation on [openssh in windows](https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_overview).
windows 10 1809 or later has openssh built in, so you no longer need to install third-party tools. if openssh is not
enabled, please see microsoft's documentation
on [openssh in windows](https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_overview).
#### generating your keypair
@ -172,8 +176,8 @@ ssh-keygen -t ed25519 -a 100
```
1. if you press enter to accept the defaults, your public and private key will
be located at `%UserProfile%\.ssh\id_ed25519.pub` and `%UserProfile%\.ssh\id_ed25519`
respectively
be located at `%UserProfile%\.ssh\id_ed25519.pub` and `%UserProfile%\.ssh\id_ed25519`
respectively
1. `type %UserProfile%\.ssh\id_ed25519.pub`
@ -199,7 +203,8 @@ where username is your username (~ben would use `ssh ben@tilde.team`)
### legacy windows
older versions of windows unfortunately do not come with openssh, and you will need to install a third-party tool. you may choose from any of the following options:
older versions of windows unfortunately do not come with openssh, and you will need to install a third-party tool. you
may choose from any of the following options:
- [windows subsystem for linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
- [msys2](http://www.msys2.org/)
@ -220,7 +225,7 @@ ssh-keygen -t ed25519 -a 100
```
1. if you press enter to accept the defaults, your public and private key will
be located at `~/.ssh/id_ed25519.pub` and `~/.ssh/id_ed25519` respectively
be located at `~/.ssh/id_ed25519.pub` and `~/.ssh/id_ed25519` respectively
1. `cat ~/.ssh/id_ed25519.pub`
@ -264,7 +269,7 @@ ssh-keygen -t ed25519 -a 100
```
1. if you press enter to accept the defaults, your public and private key will
be located at `~/.ssh/id_ed25519.pub` and `~/.ssh/id_ed25519` respectively
be located at `~/.ssh/id_ed25519.pub` and `~/.ssh/id_ed25519` respectively
1. `cat ~/.ssh/id_ed25519.pub`
@ -288,4 +293,6 @@ where username is your username (~ben would use `ssh ben@tilde.team`)
---
this tutorial is based on and uses parts of [the tilde.club ssh primer](https://github.com/tildeclub/tilde.club/blob/master/docs/ssh.md) and [the tilde.town ssh guide](https://tilde.town/wiki/getting-started/ssh.html).
this tutorial is based on and uses parts
of [the tilde.club ssh primer](https://github.com/tildeclub/tilde.club/blob/master/docs/ssh.md)
and [the tilde.town ssh guide](https://tilde.town/wiki/getting-started/ssh.html).

View File

@ -4,15 +4,15 @@ published: true
title: stuff to do on tilde.team
description: programs and utilities to use on tilde.team
category:
- main
- beginners
---
- `chat` - opens weechat connected to #meta and #team
- `cat $(which chat)` to see what defaults we're setting
- `cat $(which chat)` to see what defaults we're setting
- `mutt` - command line mail client for @tilde.team mail
- `alpine` - alternate command line mail client based on pine
- `bbj` - command line bbs (bulletin board and jelly)
- source here: [gitea mirror](https://tildegit.org/bbj/bbj) and [github fork](https://github.com/bbj-dev/bbj)
- source here: [gitea mirror](https://tildegit.org/bbj/bbj) and [github fork](https://github.com/bbj-dev/bbj)
- `who` - see who else is connected right now
- `pb` - [pastebin](https://paste.tilde.team)
- `talk` - old school tty-sharing tool: see `man talk` for more info
@ -20,7 +20,8 @@ category:
- `toot` - submit a post to the [tilde.team mastodon account](https://tilde.zone/@tildeteam)
- `botany` - tend to your plants and visit teammates' gardens
- `bb` - [bashblog tool](tildeblogs)
- `feels` - ttbp feels engine, forked from [tilde.town/~endorphant](https://tilde.town/~endorphant/ttbp/). post to gopher, web, or internal only.
- `feels` - ttbp feels engine, forked from [tilde.town/~endorphant](https://tilde.town/~endorphant/ttbp/). post to
gopher, web, or internal only.
- `dcss` - connect to [tildecrawl](https://crawl.tildeverse.org) and get your roguelike on
you can type `motd` to see this while you're logged in :)

View File

@ -4,7 +4,8 @@ published: true
title: teaching and learning on tilde.team
description: how to find and get help learning
category:
- main
- guides
- beginners
---
**tl;dr** bring project ideas. bring your skills. learn by doing.

View File

@ -4,7 +4,7 @@ published: false
title: my-new-page
description: description of the page
category:
- main
- main
---
wiki content here!

View File

@ -3,27 +3,30 @@ author: ~ben
published: true
title: tildeblogs with bashblog
description: tildeblogs information
category:
- main
category:
- publishing
---
> bashblog has some outstanding bugs that we haven't had time to fix. it still mostly works, but we wouldn't mind help
> fixing [the issues](https://tildegit.org/team/bashblog/issues).
bashblog is available system-wide as `bb`
tildeblogs can be built with [bashblog](https://tildegit.org/team/bashblog)
change to your ~/public_html/blog directory: `cd ~/public_html/blog`
change to your ~/public_html/blog directory: `cd ~/public_html/blog`
(bashblog will do this for you if you forget)
---
## usage
1. `bb post`
1. write a post (it will open your preferred $EDITOR for you, so make sure it's set)
1. save, close, and then select from the bashblog menu choices
2. write a post (it will open your preferred $EDITOR for you, so make sure it's set)
3. save, close, and then select from the bashblog menu choices
---
@ -31,7 +34,7 @@ change to your ~/public_html/blog directory: `cd ~/public_html/blog`
edit the `.config` file to change the name and url and other settings for your blog
for an example of customization, see [~ben's blog](https://tilde.team/~ben/blog/)
for an example of customization, see [~ben's blog](https://tilde.team/~ben/blog/)
([config source](https://tildegit.org/ben/tilde/src/branch/master/blog/.config)).
for more details: see [the bashblog repo](https://tildegit.org/team/bashblog)

View File

@ -3,11 +3,11 @@ author: ~ben
published: true
title: tildepages
description: user pages on tilde.team
category:
- main
category:
- publishing
---
because [~ben](https://tilde.team/~ben/) hoards domain names, you can
because [~ben](https://tilde.team/~ben/) hoards domain names, you can
use the following domains with your tildepage:
see also the [master list of domains](domains).
@ -22,7 +22,7 @@ see also the [master list of domains](domains).
* tildeteam.net
* tildeteam.org
this means you can access your user page from any of the following
this means you can access your user page from any of the following
url formats, substituting domain and username:
* `https://domain.tld/~username/`
@ -35,21 +35,23 @@ url formats, substituting domain and username:
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
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
has a correct shebang, is executable, and that you're sending the content-type
header as the first thing.
## webring
check out [~webring](https://tilde.team/ring/) for instructions of how to add your tilde.team html pages to the team webring.
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
@ -59,29 +61,29 @@ engines.
### blog engines
* [bashblog](tildeblogs) - 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](gopher).
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](
https://tilde.town/) by [~endorphant](https://tilde.town/~endorphant/). forked
with a handful of patches for our setup.
https://tilde.town/) by [~endorphant](https://tilde.town/~endorphant/). forked
with a handful of patches for our setup.
### ssgs
* [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`
* [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
* [jekyll](https://jekyllrb.com/) - static site generator used by github for
[github pages](https://pages.github.com) built in ruby
* [jekyll](https://jekyllrb.com/) - static site generator used by github for
[github pages](https://pages.github.com) built in ruby
* [zola](https://getzola.org/) - single-binary static site generator written in rust

View File

@ -4,13 +4,15 @@ published: true
title: terms of service
description: tilde.team terms of service
category:
- main
- beginners
- about
- guidelines
---
tilde.team relies on the common courtesy and consideration of users to make
tilde.team relies on the common courtesy and consideration of users to make
its services fair for everyone. the following offences will result in a service ban:
tl;dr: don't do anything illegal or harmful, especially anything that could
tl;dr: don't do anything illegal or harmful, especially anything that could
[anger the hosting company](https://www.ovh.com/world/support/terms-and-conditions/)
you must be at least 13 years or older to use tilde.team.
@ -20,25 +22,24 @@ here are some things that we don't allow:
* deliberately defacing the accounts of other users
* deliberately trying to disrupt tilde.team's server
* using tilde.team as a launch pad for disrupting other servers
- this includes outgoing net- and portscanning
- this includes outgoing net- and portscanning
* using tilde.team to impersonate other websites and businesses for criminal purposes
* storing/distributing pornography of any genre and medium (especially child pornography)
* storing/distributing content that defames any individual
* promoting racial, ethnic, religious, political & other forms of bigotry
* mining cryptocurrencies
## network considerations
outgoing net- and portscanning is prohibited on tilde.team.
> this is outdated now that tilde.team lives on ovh
after the [major outage](/~ben/blog/november-13-post-mortem.html) of november 13th,
after the [major outage](/~ben/blog/november-13-post-mortem.html) of november 13th,
we have run in to the clause in the [hetzner tos](
https://www.hetzner.com/rechtliches/root-server/) that prohibits net- and
https://www.hetzner.com/rechtliches/root-server/) that prohibits net- and
portscanning. please don't try to reach anything in the [RFC-1918](
https://tools.ietf.org/html/rfc1918) private address space. for some reason,
https://tools.ietf.org/html/rfc1918) private address space. for some reason,
packets sent there will end up at the default gateway and may be interpreted as an attack.
i've added firewall rule to prevent outgoing requests to these subnets:
@ -47,7 +48,6 @@ i've added firewall rule to prevent outgoing requests to these subnets:
* 172.16.0.0/12
* 192.168.0.0/16
## resource usage
in general, we have plenty of resources available.

View File

@ -4,7 +4,8 @@ published: true
title: feels - tilde.team blogging platform
description: a cli blogging platform that can publish to your tilde page and your gopherhole
category:
- main
- publishing
- guides
---
`ttbp` stands for "tilde.town blogging platform", the original working name for
@ -99,7 +100,7 @@ directory.
if you opt to publish, the program creates a directory `~/.ttbp/www` where it
stores all html files it generates, and symlinks this from your `~/public_html`
with your chosen blog directory.
with your chosen blog directory.
you can also opt to publish to gopher, and the program will automatically
generate a gophermap of your feels.
@ -180,14 +181,14 @@ your ~/.ttbp directory entirely. **you might want to back up your
* to modify your stylesheet, edit your ~/.ttbp/config/style.css
* to modify the page header, edit your ~/.ttbp/config/header.txt
* there's a place marked off in the default header where you can safely put
custom HTML elements!
* there's a place marked off in the default header where you can safely put
custom HTML elements!
* to modify the page footer, edit your ~/.ttbp/config/footer.txt
### general tips/troubleshooting
* if the date looks like it's ahead or behind, it's because you haven't set
your local timezone yet. here are some
your local timezone yet. here are some
[timezone setting instructions](http://www.cyberciti.biz/faq/linux-unix-set-tz-environment-variable/)
* the feels burying tool will effectively clear your post for the day; you can
use this feature to start a fresh entry on a particular day by burying the
@ -202,4 +203,5 @@ these are a few ideas being kicked around, or under active development:
* buried feels browser
other ideas are listed on github as
[upcoming features](https://github.com/modgethanc/ttbp/issues?q=is%3Aissue+is%3Aopen+label%3A"upcoming+features") or [feature requests](https://github.com/modgethanc/ttbp/issues?q=is%3Aissue+is%3Aopen+label%3A"feature+request")!
[upcoming features](https://github.com/modgethanc/ttbp/issues?q=is%3Aissue+is%3Aopen+label%3A"upcoming+features")
or [feature requests](https://github.com/modgethanc/ttbp/issues?q=is%3Aissue+is%3Aopen+label%3A"feature+request")!

View File

@ -3,8 +3,9 @@ author: ~ben
published: true
title: daemonize with user units
description: a quick tutorial on creating and managing daemonized processes with systemd user units
category:
- main
category:
- guides
- technical
---
so you've got a process that you want to keep running. you might have it in a
@ -14,9 +15,9 @@ tmux or screen session. let's use systemd user units to manage it!
mkdir -p ~/.config/systemd/user/
1. create a basic service. save something like this in
`~/.config/systemd/user/my-new-service.service` (using the name of the unit
you're creating)
2. create a basic service. save something like this in
`~/.config/systemd/user/my-new-service.service` (using the name of the unit
you're creating)
[Unit]
Description=foo
@ -27,11 +28,11 @@ you're creating)
[Install]
WantedBy=default.target
1. enable it
3. enable it
systemctl --user enable --now my-new-service.service
1. enable-linger for your user account
4. enable-linger for your user account
loginctl enable-linger

View File

@ -3,8 +3,9 @@ author: ~ben
published: true
title: xmpp
description: how to use xmpp/jabber with your tilde.team account
category:
- main
category:
- services
- guides
---
[![](https://compliance.conversations.im/badge/tilde.team)](
@ -25,13 +26,14 @@ if you have a recommended client for mac platforms, feel free to discuss
and add it to this list.
we have a tilde.team MUC (multi-user chat) at [team@conference.tilde.team](
xmpp:team@conference.tilde.team?join), feel free to stop by!
xmpp:team@conference.tilde.team?join), feel free to stop by! note that the
official chat for tilde.team is [#team](https://tilde.chat/kiwi/#team) on irc.
## biboumi
there's also a [biboumi](https://biboumi.louiz.org/) server
connected with our xmpp server. you can join any [irc](irc)
channel as an xmpp MUC (multi user chat) room with the following
channel as an xmpp MUC (multi-user chat) room with the following
format:
#channelname@biboumi.tilde.team