wiki/Adding_information_about_yourself_on_the_Pubnix.html

40 lines
2.8 KiB
HTML
Raw Permalink Normal View History

2024-06-24 19:40:54 +05:30
<!--
title: Adding information about yourself on the Pubnix
description:
published: true
date: 2024-06-23T17:37:17.220Z
tags: pubnix
editor: ckeditor
dateCreated: 2024-06-23T17:00:09.208Z
-->
<p>To add information about yourself, that can be displayed in the <a href="https://projectsegfau.lt/pubnix/users">/pubnix/users</a> page, you need to edit the <code>meta-info.toml</code> file in your home directory.</p>
<pre><code class="language-plaintext"># open nano or your preferred text editor
nano ~/meta-info.toml
# edit the file as noted in the syntax section and exit
# (Ctrl+O then Enter to save and Ctrl+X to exit in nano while
# Escape then type ":wq" and hit Enter in Vim)</code></pre>
<p>The information can also be accessed in JSON format at <a href="https://publapi.p.projectsegfau.lt/users"><code>https://publapi.p.projectsegfau.lt/users</code></a>. Keep in mind that it takes a few seconds for the text to refresh due to caching.</p>
<h2>Syntax</h2>
<p>All fields must be formatted as literal fields.</p>
<ul>
<li><code>fullname</code> - Self-explanatory, although if you're not comfortable using your real name due to legal or privacy reasons, you can use a name you go by online or left blank.</li>
<li><code>gemini</code> - Defaulting to your gemini webspace in the pubnix, although if you do hosted your gemini website on others (including sourcehut pages) you can just replace it</li>
<li><code>website</code> - Defaulting to the <a href="https://wiki.projectsegfau.lt/Host_a_website_on_the_Pubnix">default pubnix web URL</a>, but if you're hosting your website somewhere else, just point into it.</li>
<li><code>description</code> - Blank by default, plaintext text-only bio of yourself.</li>
<li><code>email</code> - Blank by default, but if you're comfortable sharing your email address you can fill in.</li>
<li><code>matrix</code> - Blank by default, but if your main Matrix homeserver is in the Project Segfault's servers (via the <a href="https://wiki.projectsegfau.lt/Signup_to_other_services_with_Pubnix">pubnix Authentik SSO</a>) it should be formatted as <code>@user:projectsegfau.lt</code>.</li>
<li><code>fediverse</code> - Defaulting to blank, the profile URL of your fediverse profile minus the protocol specifier.</li>
<li><code>location</code> - PLEASE DO NOT LEAK YOUR FULL ADDRESS! Defaulting to blank, the location where you're currently residing</li>
</ul>
<h3>Example</h3>
<pre><code class="language-plaintext">fullname = "Example User"
gemini = "p.projectsegfau.lt/~user"
website = "https://user.p.projectsegfau.lt"
description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
email = "user@email.tld"
matrix = "@ajhalili2006:your.homeserver.tld"
fediverse = "your.ap-homeserver.tld"
location = "The Swaggon, Boatem Village, HCS8"</code></pre>