initial commit
This commit is contained in:
commit
3b4ced63e7
|
@ -0,0 +1,2 @@
|
|||
public
|
||||
.hugo_build.lock
|
|
@ -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
|
|
@ -0,0 +1,5 @@
|
|||
+++
|
||||
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
|
||||
date = {{ .Date }}
|
||||
draft = true
|
||||
+++
|
|
@ -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.
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = 'Backend Servers'
|
||||
draft = false
|
||||
+++
|
||||
|
||||
Coming soon
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = 'Blog'
|
||||
draft = false
|
||||
+++
|
||||
|
||||
Coming soon
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = 'Official Client'
|
||||
draft = false
|
||||
+++
|
||||
|
||||
Coming soon
|
|
@ -0,0 +1,4 @@
|
|||
+++
|
||||
title = 'Docs'
|
||||
draft = false
|
||||
+++
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = 'Backend API (TriBA)'
|
||||
draft = false
|
||||
+++
|
||||
|
||||
Coming soon
|
|
@ -0,0 +1,6 @@
|
|||
+++
|
||||
title = 'Install Instructions'
|
||||
draft = false
|
||||
+++
|
||||
|
||||
Coming soon
|
|
@ -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
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 00d8fab5951bf85a6904cb5f78bfefd4b94417d9
|
Reference in New Issue