initial commit

This commit is contained in:
antifallobst 2024-05-24 13:43:23 +02:00
commit 3b4ced63e7
Signed by: antifallobst
GPG Key ID: 2B4F402172791BAF
13 changed files with 171 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
public
.hugo_build.lock

14
Dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM alpine:latest as build
WORKDIR /build
RUN apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community hugo
COPY ./ ./
RUN hugo
FROM nginx:latest
COPY ./nginx.conf /etc/nginx/nginx.conf
COPY --from=build /build/public /usr/share/nginx/html

5
archetypes/default.md Normal file
View File

@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++

13
content/_index.md Normal file
View File

@ -0,0 +1,13 @@
+++
title = 'Home'
draft = false
+++
# Home
Trinitrix is an open source (GPL3+), cross-platform and extreme flexible chatting ecosystem.
It consists of:
- [Chat backend servers](/backends), which abstract chat protocols.
- An official trinitrix [client](/client), that has a highly customizable TUI.
- And an [API](/docs/triba), that connects clients and backend servers.

View File

@ -0,0 +1,6 @@
+++
title = 'Backend Servers'
draft = false
+++
Coming soon

6
content/blog/_index.md Normal file
View File

@ -0,0 +1,6 @@
+++
title = 'Blog'
draft = false
+++
Coming soon

6
content/client.md Normal file
View File

@ -0,0 +1,6 @@
+++
title = 'Official Client'
draft = false
+++
Coming soon

4
content/docs/_index.md Normal file
View File

@ -0,0 +1,4 @@
+++
title = 'Docs'
draft = false
+++

View File

@ -0,0 +1,6 @@
+++
title = 'Backend API (TriBA)'
draft = false
+++
Coming soon

View File

@ -0,0 +1,6 @@
+++
title = 'Install Instructions'
draft = false
+++
Coming soon

67
hugo.toml Normal file
View File

@ -0,0 +1,67 @@
baseURL = 'https://trinitrix.vhack.eu/'
languageCode = "en-US"
DefaultContentLanguage = "en"
title = 'Trinitrix'
theme = 'risotto'
author = 'The Trinitrix Project'
copyright = "© The Trinitrix Project 2024"
[params.about]
description = 'Trinitrix is an open source (GPL3+), cross-platform and extreme flexible chatting ecosystem.'
[params.theme]
palette = "tokyo-night-dark"
[[params.socialLinks]]
icon = "fa-brands fa-square-git"
title = "Git"
url = "https://git.nerdcult.net/trinitrix"
[[params.socialLinks]]
icon = "fa-solid fa-message"
title = "Matrix"
url = "https://matrix.to/#/#trinitrix:nerdcult.net"
[menus]
[[menus.main]]
name = 'Home'
pageRef = '/home'
weight = 10
[[menus.main]]
name = 'Client'
pageRef = '/client'
weight = 20
[[menus.main]]
name = 'Backend Servers'
pageRef = '/backends'
weight = 30
[[menus.main]]
name = 'Docs'
pageRef = '/docs'
weight = 40
[[menus.main]]
name = 'Blog'
pageRef = '/blog'
weight = 50
[[menus.main]]
name = 'Install'
pageRef = '/install-instructions'
weight = 60
[[menus.footer]]
name = 'Terms'
pageRef = '/terms'
weight = 10
[[menus.footer]]
name = 'Privacy'
pageRef = '/privacy'
weight = 20
[languages.en]
contentDir = 'content'
disabled = false
languageCode = 'en-US'
languageDirection = 'ltr'
languageName = 'English'
weight = 2

35
nginx.conf Normal file
View File

@ -0,0 +1,35 @@
user root;
worker_processes auto;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
sendfile on;
#tcp_nopush on;
keepalive_timeout 65;
charset UTF-8;
#gzip on;
server {
listen 0.0.0.0:80;
root /usr/share/nginx/html;
index index.html;
location / {
try_files $uri $uri/ /index.html;
}
}
}

1
themes/risotto Submodule

@ -0,0 +1 @@
Subproject commit 00d8fab5951bf85a6904cb5f78bfefd4b94417d9