From 8fb130af81fca3b247600bd081e3a9510cbe584d Mon Sep 17 00:00:00 2001 From: Pratyush Desai Date: Sun, 12 Dec 2021 04:19:32 +0530 Subject: Hugo config setup --- static_old/.drone.yml | 22 ++++++++++ static_old/LICENSE.txt | 21 ++++++++++ static_old/README.md | 5 +++ static_old/git.html | 44 ++++++++++++++++++++ static_old/i2p.html | 68 +++++++++++++++++++++++++++++++ static_old/index.html | 108 +++++++++++++++++++++++++++++++++++++++++++++++++ static_old/irc.html | 106 ++++++++++++++++++++++++++++++++++++++++++++++++ static_old/matrix.html | 46 +++++++++++++++++++++ static_old/sso.html | 45 +++++++++++++++++++++ static_old/styles.css | 17 ++++++++ static_old/xmpp.html | 61 ++++++++++++++++++++++++++++ 11 files changed, 543 insertions(+) create mode 100644 static_old/.drone.yml create mode 100644 static_old/LICENSE.txt create mode 100644 static_old/README.md create mode 100644 static_old/git.html create mode 100644 static_old/i2p.html create mode 100644 static_old/index.html create mode 100644 static_old/irc.html create mode 100644 static_old/matrix.html create mode 100644 static_old/sso.html create mode 100644 static_old/styles.css create mode 100644 static_old/xmpp.html (limited to 'static_old') diff --git a/static_old/.drone.yml b/static_old/.drone.yml new file mode 100644 index 0000000..a2fc542 --- /dev/null +++ b/static_old/.drone.yml @@ -0,0 +1,22 @@ +--- +kind: pipeline +type: exec +name: default1 + +clone: + disable: true + +platform: + os: linux + arch: amd64 + +steps: +- name: deploy + commands: + - sh /opt/drone/scripts/sync-website.sh + +trigger: + branch: + - master + event: + - push diff --git a/static_old/LICENSE.txt b/static_old/LICENSE.txt new file mode 100644 index 0000000..f15d28a --- /dev/null +++ b/static_old/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 mogad0n, cranberry + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/static_old/README.md b/static_old/README.md new file mode 100644 index 0000000..5e659e9 --- /dev/null +++ b/static_old/README.md @@ -0,0 +1,5 @@ +# Static files for LibertaCasa Website + +Welcome to [Liberta Casa](http://liberta.casa)! + +This repository is for generating static pages. diff --git a/static_old/git.html b/static_old/git.html new file mode 100644 index 0000000..62c2608 --- /dev/null +++ b/static_old/git.html @@ -0,0 +1,44 @@ + + + + + + +LibertaCasa - git + + + +
+┬   ┌┬┐ ┬─┐ ┬─┐ ┬─┐ ┌┐┐ ┬─┐
+│    │  │─│ │─  │┬┘  │  │─┤
+┘─┘ └┴┘ │─┘ ┴─┘ │└┘  ┘  ┘ │
+
+┌─┐ ┬─┐ ┐─┐ ┬─┐
+│   │─┤ └─┐ │─┤
+└─┘ ┘ │ ──┘ ┘ │
+
+

Git

+
+
+

What's Git (official website)

+ +> We aim to publish all relevant infrastructure and configuration details to our community in a way that not only allows for easy access, but also allows for uncomplicated contributions. +> We chose to use a self-hosted Git server to achieve this. Full repository access is possible through Gitea (https://git.com.de), there you may register for your own account, browse, contribute, and, if desired, also publish your own repositories. +> For a quick-glance at only LibertaCasa specific repositories we employ a cgit instance on https://git.casa - if you only want to look, without editing anything, this is the perfect place to go, as it is blazing fast and easy to navigate. + + + + + + + + + + + + +
+ + diff --git a/static_old/i2p.html b/static_old/i2p.html new file mode 100644 index 0000000..14803d6 --- /dev/null +++ b/static_old/i2p.html @@ -0,0 +1,68 @@ + + + + + + I2p Setup Guide + + +
+┬   ┌┬┐ ┬─┐ ┬─┐ ┬─┐ ┌┐┐ ┬─┐
+│    │  │─│ │─  │┬┘  │  │─┤
+┘─┘ └┴┘ │─┘ ┴─┘ │└┘  ┘  ┘ │
+
+┌─┐ ┬─┐ ┐─┐ ┬─┐
+│   │─┤ └─┐ │─┤
+└─┘ ┘ │ ──┘ ┘ │
+
+

i2pd

+
Installation
+
+Whilst connections with the regular I2P client are possible as well, we currently only provide instructions for I2Pd.
+Instructions for installing a distrubtion package for I2Pd or for compiling it from source can be found in its official documentation:
+ Distribution Packages and Building from Source 
+
+Distribution Packages should ideally create a "role user and a group"
+as well as provide an `i2pd.service` unit file to use with systemd where available.
+If you built the application from source, you might need to create these manually.
+
+
Configuration for LibertaCasa IRC
+After installing I2Pd, edit or create the file /etc/i2pd/tunnels.conf. +You might need to do this as root (i.e. sudo nano /etc/i2pd/tunnels.conf). +Add the following section to the top of the file: + + [IRC-LibertaCasa] + type = client + address = 127.0.0.3 + port = 6648 + destination = fzsgc66e52ve5phrcktrekqtko423ihau42u72v4cfg6bg4osuda.b32.i2p + destinationport = 6667 + +Start and enable the I2Pd service: + + sudo systemctl enable --now i2pd.service + +You should now be able to connect your IRC client with the following settings: + + IP address / Hostname: 127.0.0.3 + Port: 6648 + SSL/TLS: Off/Disabled + +Nickname, Username and SASL password are the regular details you would use for connecting to LibertaCasa. + + + + + + + + + + + + +
+ + diff --git a/static_old/index.html b/static_old/index.html new file mode 100644 index 0000000..e12b5c3 --- /dev/null +++ b/static_old/index.html @@ -0,0 +1,108 @@ + + + + + + +LibertaCasa + + + +
+
+┬   ┌┬┐ ┬─┐ ┬─┐ ┬─┐ ┌┐┐ ┬─┐
+│    │  │─│ │─  │┬┘  │  │─┤
+┘─┘ └┴┘ │─┘ ┴─┘ │└┘  ┘  ┘ │
+
+┌─┐ ┬─┐ ┐─┐ ┬─┐
+│   │─┤ └─┐ │─┤
+└─┘ ┘ │ ──┘ ┘ │
+
+
+A community with multiple interconnected services which provides a safe space for the discussion and dissemination
+of various topics under the umbrella of Science, Philosophy, Politics and a general place to hang back and idle away.
+
+
+There is a focus on supporting FOSS protocols.
+
+
+You can also visit us over The Onion Routing protocol at our onion address.
+
+Donts:
+======
+
+    -Repeated harassment of any network user.
+    -Distribution of child pornography.
+    -Dealing of goods and using the network as a space for commericial operations.
+    -Any denial of service against the network or its users.
+    -Use of our network resources or services for malicious intent.
+    -Connecting to the network for any reason using a compromised machine, including as a proxy or loading trojans or bots.
+    -Unwanted advertisement of websites, IRC network, or channels (also known as spamming).
+    -Evading bans, either those placed by network staff or by individual channels.
+    -Impersonation of network staff or services.
+    -Connecting through open proxies.
+    -Any other behavior deemed inappropriate by network staff.
+
+
+Services (Clearnet):
+===================
+
+Communications:
+--------------
+
+IRC | XMPP | Matrix | Jitsi Video Conferencing 
+
+Search Engines:
+--------------
+
+SearX | YaCy
+
+Others:
+------
+
+Private Bin | Gitea | Cytube - Watch together
+
+
+Services (Tor):
+==============
+
+Communications:
+--------------
+
+IRC
+
+Search Engines:
+--------------
+
+SearX | YaCy
+
+
+Services (I2P):
+==============
+
+Communications:
+--------------
+
+IRC
+
+
+Contribute:
+==========
+Check our /git info page or head directly to the main repository.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/static_old/irc.html b/static_old/irc.html new file mode 100644 index 0000000..5babe9c --- /dev/null +++ b/static_old/irc.html @@ -0,0 +1,106 @@ + + + + + + +LibertaCasa + + + +
+┬   ┌┬┐ ┬─┐ ┬─┐ ┬─┐ ┌┐┐ ┬─┐
+│    │  │─│ │─  │┬┘  │  │─┤
+┘─┘ └┴┘ │─┘ ┴─┘ │└┘  ┘  ┘ │
+
+┌─┐ ┬─┐ ┐─┐ ┬─┐
+│   │─┤ └─┐ │─┤
+└─┘ ┘ │ ──┘ ┘ │
+
+ +

IRC

+
+
+Registration
+
+KiwiIRC Webchat | Gamja Webchat | Convos Webchat/Bouncer
+
+
+Connection Details:
+===================
+
+Hostnames are cryptographically cloaked so that your IP address information is not visible to others.
+It is still visible to server administrators.
+To connect configure your IRC client as follows:
+
+Host:       irc.liberta.casa
+Port:       6697
+SSL/TLS:    True
+
+
+If you would like to anonymize the connection against the administrators,
+you can access the network via
+1. TOR:
+
+   Host:     cr36xbvmgjwnfw4sly4kuc6c3ozhesjre3y5pggq5xdkkmbrq6dz4fad.onion
+   Port:     6667
+   SSL/TLS:  False
+
+Webchat via Tor is available through the links on the top - KiwiIRC will offer the best experience.
+
+2. I2P
+
+  Guide to setting up i2p here
+
+  Use the samle configuration shown above.
+  Destination: fzsgc66e52ve5phrcktrekqtko423ihau42u72v4cfg6bg4osuda.b32.i2p
+  Port:        6668
+  SSL/TLS:     False
+
+Account registration FAQ
+========================
+
+1. How do I register my nickname / account?
+
+Use this command, substituting your desired password:
+
+  /msg NickServ register mySecretPassword
+
+You can also register on this page here
+
+Once you register your nick it becomes your account name. It is the name with which you are expected to login.
+
+
+2. How do I authenticate to my nickname?
+
+You should enable SASL in your client. 
+
+
+ - If your client doesn't support SASL, then update to a good client!
+ - Alternatively, you can use the "PASS" method
+
+3. What are the benefits of registering my nickname?
+
+The primary benefit of nickname registration is that the server can act
+as an "IRC bouncer" on your behalf. Specifically:
+
+  a. No one else will be able to use your nickname
+  b. If all your clients are configured to use SASL, they can all use the same
+     nickname (as though they were connected to the same ZNC instance)
+  c. Optionally, the server can keep you present on the server even if
+     you have no connected clients. To enable this, use the following command:
+     `/msg NickServ set always-on true`
+  d. You will be able to receive history playback.
+
+
+For more information checkout the UserGuide and
+the Manual.
+
+
+
+
+
+ + diff --git a/static_old/matrix.html b/static_old/matrix.html new file mode 100644 index 0000000..2751d37 --- /dev/null +++ b/static_old/matrix.html @@ -0,0 +1,46 @@ + + + + + + +LibertaCasa + + + +
+┬   ┌┬┐ ┬─┐ ┬─┐ ┬─┐ ┌┐┐ ┬─┐
+│    │  │─│ │─  │┬┘  │  │─┤
+┘─┘ └┴┘ │─┘ ┴─┘ │└┘  ┘  ┘ │
+
+┌─┐ ┬─┐ ┐─┐ ┬─┐
+│   │─┤ └─┐ │─┤
+└─┘ ┘ │ ──┘ ┘ │
+
+

Matrix

+
+What's Matrix (official Website)
+
+Connection Details:
+===================
+
+The only fully featured Matrix client is Element. Our instance is available at https://element.liberta.casa.
+
+After having created an account in Element, it is possible to connect other Matrix clients using the Homeserver address matrix.liberta.casa.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/static_old/sso.html b/static_old/sso.html new file mode 100644 index 0000000..0241e1d --- /dev/null +++ b/static_old/sso.html @@ -0,0 +1,45 @@ + + + + + + +LibertaCasa - git + + + +
+┬   ┌┬┐ ┬─┐ ┬─┐ ┬─┐ ┌┐┐ ┬─┐
+│    │  │─│ │─  │┬┘  │  │─┤
+┘─┘ └┴┘ │─┘ ┴─┘ │└┘  ┘  ┘ │
+
+┌─┐ ┬─┐ ┐─┐ ┬─┐
+│   │─┤ └─┐ │─┤
+└─┘ ┘ │ ──┘ ┘ │
+
+ +

Single Sign On

+
+   

With a growing list of services, it becomes apparent that multiple logins aren't LUSER friendly. + This is being attempted to be resolved by a Single Sign On system. It is a work in progress with many services already having been integrated. + These are currently: IRC (opt-in), XMPP, Gitea, Etherpad, Confluence.

+ + Registering for SSO + ===================== + + 1. Click here and then click on the "Manage" button. + 2. Fill up the fields and ensure the email is valid as it shall recieve a confirmation link. + 3. Click the "Register" link to complete the procedure and recieve the confirmation email. + 3. Once you Verify your account you can log into the sso-enabled services using the same credentials. + + + + + + + +
+ + \ No newline at end of file diff --git a/static_old/styles.css b/static_old/styles.css new file mode 100644 index 0000000..489bd8c --- /dev/null +++ b/static_old/styles.css @@ -0,0 +1,17 @@ +body { + background-color: black; + color: white; +} + +a { + text-decoration: none; + color: green; +} + +a:hover { + background-color: rgb(130, 100, 185); +} + +footer { + color: green; +} \ No newline at end of file diff --git a/static_old/xmpp.html b/static_old/xmpp.html new file mode 100644 index 0000000..02276c9 --- /dev/null +++ b/static_old/xmpp.html @@ -0,0 +1,61 @@ + + + + + + +LibertaCasa - xmpp + + + +
+┬   ┌┬┐ ┬─┐ ┬─┐ ┬─┐ ┌┐┐ ┬─┐
+│    │  │─│ │─  │┬┘  │  │─┤
+┘─┘ └┴┘ │─┘ ┴─┘ │└┘  ┘  ┘ │
+
+┌─┐ ┬─┐ ┐─┐ ┬─┐
+│   │─┤ └─┐ │─┤
+└─┘ ┘ │ ──┘ ┘ │
+
+

XMPP

+
+

What's XMPP (official website)

+XMPP FAQs (more) + +

Overview: XMPP is the Extensible Messaging and Presence Protocol, a set of open technologies for instant messaging, presence, multi-party chat, voice and video calls, collaboration, lightweight middleware, content syndication, and generalized routing of XML data.

+ + +There are quite a few clients available. You can check the overview here. + +You can use our XMPP server and federate to others by using your LibertaCasa SSO credentials. + +JID: username@liberta.casa +Password: your SSO password + +Currently, you can use any XMPP/Jabber client to connect to the following server: + +Host: xmpp.liberta.casa +Port: 5222 +TLS/SSL: Enforced + +Installing a desktop client, i.e. Dino or Gajim is recommended. Mobile client in the form of Android, i.e. Conversations, or iOS, i.e. Siskin, clients are viable options as well. + +Alternatively, you can use the Converse.JS or Candy webchat, however keep in mind that those are both highly experimental services, making for an extremely rudimentary experience with no guaranteed functionality. + +


+ + + + + + + + + + + +
+ + -- cgit v1.2.3