Compare commits

..

No commits in common. "main" and "static" have entirely different histories.
main ... static

42 changed files with 1024 additions and 2040 deletions

View file

@ -1,50 +0,0 @@
name: Build and Deploy Static Site
on:
push:
branches:
- dev
jobs:
build:
container: node:20-bookworm
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: |
apt update
apt install -y python3 python3-pip
python3 -m pip install -r requirements.txt --break-system-packages
- name: Generate static site
run: python3 main.py --dev
- name: Deploy to pages branch
run: |
# Configure Git
git config --global user.name "Forgejo"
git config --global user.email "noreply@private.coffee"
# Move generated static site files to a temporary location
mv build ../static_site_temp
cp .gitignore ../static_site_temp
# Create a new orphan branch named 'pages-dev'
git checkout --orphan pages-dev
# Remove all files from the working directory
git rm -rf .
# Move the static site files back to the working directory
mv ../static_site_temp/* ./
mv ../static_site_temp/.* ./ 2>/dev/null || true
# Add and commit the static site files
git add .
git commit -m "Deploy static site"
# Force push to the 'pages-dev' branch
git push origin pages-dev --force

View file

@ -1,50 +0,0 @@
name: Build and Deploy Static Site (Pride Theme)
on:
push:
branches:
- main
jobs:
build:
container: node:20-bookworm
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: |
apt update
apt install -y python3 python3-pip
python3 -m pip install -r requirements.txt --break-system-packages
- name: Generate static site
run: python3 main.py --theme pride
- name: Deploy to pages branch
run: |
# Configure Git
git config --global user.name "Forgejo"
git config --global user.email "noreply@private.coffee"
# Move generated static site files to a temporary location
mv build ../static_site_temp
cp .gitignore ../static_site_temp
# Create a new orphan branch named 'pages-pride'
git checkout --orphan pages-pride
# Remove all files from the working directory
git rm -rf .
# Move the static site files back to the working directory
mv ../static_site_temp/* ./
mv ../static_site_temp/.* ./ 2>/dev/null || true
# Add and commit the static site files
git add .
git commit -m "Deploy static site"
# Force push to the 'pages-pride' branch
git push origin pages-pride --force

View file

@ -3,7 +3,7 @@ name: Build and Deploy Static Site
on:
push:
branches:
- main
- static
jobs:
build:
@ -30,7 +30,6 @@ jobs:
# Move generated static site files to a temporary location
mv build ../static_site_temp
cp .gitignore ../static_site_temp
# Create a new orphan branch named 'pages'
git checkout --orphan pages

View file

@ -1,5 +0,0 @@
{
"files.associations": {
"*.html": "jinja-html"
}
}

View file

@ -5,9 +5,8 @@
This is the source code for the [Private.coffee](https://private.coffee)
website.
It is a simple Jinja2 static website generator that compiles the templates in
the `templates` directory in conjunction with the JSON files in the `data`
directory to generate the static HTML files in the `build` directory.
It is a simple Flask application that generates the HTML for the website based
on the services defined in the `services.json` file.
## Development
@ -19,9 +18,7 @@ pip install -r requirements.txt
python main.py
```
The website will be built into the `build` directory, and you can view it by
opening the `index.html` file in your browser or using the included HTTP server
(`python main.py --serve`).
The website will be available at `http://localhost:9810`.
## License

View file

@ -37,10 +37,6 @@
color: #fff;
}
.button-wrapper:not(:last-child) {
margin-bottom: 1rem;
}
.btn-outline-primary {
--bs-btn-color: #f570b9;
--bs-btn-border-color: #f570b9;
@ -85,7 +81,7 @@ h5 {
font-size: x-large;
}
.card-body :not(p):not(:first-child):not(.dropdown-content):not(.dropdown-toggle-area) {
.card-body .btn-primary:not(:first-child) {
margin-top: 10px;
}
@ -123,36 +119,6 @@ h5 {
color: #604c2e;
}
/* Image Styles */
#logoContainer {
background-size: contain;
background-repeat: no-repeat;
max-width: 400px;
max-height: 400px;
width: 80vh;
height: 80vh;
}
#smallLogoContainer {
background-size: contain;
background-repeat: no-repeat;
width: 64px;
height: 64px;
}
.homemade,
.fork {
right: -0.5rem;
height: 1.5rem;
width: 1.5rem;
position: absolute;
}
.homemade svg,
.fork svg {
fill: var(--bs-primary-bg-subtle) !important;
}
.bs-icon.bs-icon-primary svg {
fill: var(--bs-primary-bg-subtle);
}
@ -165,6 +131,10 @@ h5 {
fill: var(--bs-primary-bg-subtle);
}
.bg-pride-gradient {
background: linear-gradient(45deg, #FF7878, #FFC898, #FFF89A, #CDF2CA, #A2CDCD, #D1E8E4, #CAB8FF);
}
/* Responsive Styles */
@media (max-width: 991px) {
p.text-center.special-header {
@ -253,7 +223,7 @@ h5 {
position: absolute;
background-color: #f9f9f9;
min-width: 100%;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
@ -292,53 +262,4 @@ h5 {
.btn-primary .main-link:hover {
text-decoration: none;
color: black;
}
/* Accordion Styles */
.accordion {
border: 1px solid #ddd;
border-radius: 5px;
}
.accordion-item {
border-bottom: 1px solid #ddd;
}
.accordion-header {
display: flex;
align-items: center;
padding: 1rem;
cursor: pointer;
background-color: #f9f9f9;
font-size: 1.25rem;
font-weight: bold;
border-bottom: 1px solid #ddd;
}
.accordion-header:hover {
background-color: #e9e9e9;
}
.icon-container {
display: flex;
align-items: center;
margin-right: 1rem;
}
.bs-icon {
position: relative;
}
.accordion-body {
padding: 1rem;
display: none;
}
.accordion-item[open] .accordion-body {
display: block;
}
.accordion-header .bs-icon svg {
width: 32px;
}

View file

@ -1,7 +0,0 @@
#logoContainer {
background-image: url(../../img/logo-inv_grad.svg);
}
#smallLogoContainer {
background-image: url(../../img/logo-inv_grad.svg);
}

View file

@ -1,11 +0,0 @@
.bg-primary-gradient {
background: linear-gradient(45deg, #FF7878, #FFC898, #FFF89A, #CDF2CA, #A2CDCD, #D1E8E4, #CAB8FF);
}
#logoContainer {
background-image: url(../../img/logo-white.svg);
}
#smallLogoContainer {
background-image: url(../../img/logo-inv_grad.svg);
}

View file

@ -1,6 +0,0 @@
Unless otherwise specified, the files in this directory are taken from
[Phosphor Icons](https://phosphoricons.com/) and are licensed under the
MIT License. For details, please see the Phosphor Icons website.
The file `rainbow.svg` was created by us at [Private.coffee](https://private.coffee)
and is also licensed under the MIT License.

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M231.65,194.55,198.46,36.75a16,16,0,0,0-19-12.39L132.65,34.42a16.08,16.08,0,0,0-12.3,19l33.19,157.8A16,16,0,0,0,169.16,224a16.25,16.25,0,0,0,3.38-.36l46.81-10.06A16.09,16.09,0,0,0,231.65,194.55ZM136,50.15c0-.06,0-.09,0-.09l46.8-10,3.33,15.87L139.33,66Zm6.62,31.47,46.82-10.05,3.34,15.9L146,97.53Zm6.64,31.57,46.82-10.06,13.3,63.24-46.82,10.06ZM216,197.94l-46.8,10-3.33-15.87L212.67,182,216,197.85C216,197.91,216,197.94,216,197.94ZM104,32H56A16,16,0,0,0,40,48V208a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V48A16,16,0,0,0,104,32ZM56,48h48V64H56Zm0,32h48v96H56Zm48,128H56V192h48v16Z"></path></svg>

Before

Width:  |  Height:  |  Size: 700 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M208,56H180.28L166.65,35.56A8,8,0,0,0,160,32H96a8,8,0,0,0-6.65,3.56L75.71,56H48A24,24,0,0,0,24,80V192a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V80A24,24,0,0,0,208,56Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H80a8,8,0,0,0,6.66-3.56L100.28,48h55.43l13.63,20.44A8,8,0,0,0,176,72h32a8,8,0,0,1,8,8ZM128,88a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,88Zm0,72a28,28,0,1,1,28-28A28,28,0,0,1,128,160Z"></path></svg>

Before

Width:  |  Height:  |  Size: 523 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M224,152V136a96.37,96.37,0,0,0-64-90.51V40a16,16,0,0,0-16-16H112A16,16,0,0,0,96,40v5.49A96.37,96.37,0,0,0,32,136v16a16,16,0,0,0-16,16v24a16,16,0,0,0,16,16H224a16,16,0,0,0,16-16V168A16,16,0,0,0,224,152Zm-16-16v16H160V62.67A80.36,80.36,0,0,1,208,136ZM144,40V152H112V40ZM48,136A80.36,80.36,0,0,1,96,62.67V152H48Zm176,56H32V168H224v24Z"></path></svg>

Before

Width:  |  Height:  |  Size: 455 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M128,112a28,28,0,0,0-8,54.83V184a8,8,0,0,0,16,0V166.83A28,28,0,0,0,128,112Zm0,40a12,12,0,1,1,12-12A12,12,0,0,1,128,152Zm80-72H176V56a48,48,0,0,0-96,0V80H48A16,16,0,0,0,32,96V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V96A16,16,0,0,0,208,80ZM96,56a32,32,0,0,1,64,0V80H96ZM208,208H48V96H208V208Z"></path></svg>

Before

Width:  |  Height:  |  Size: 417 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M228.92,49.69a8,8,0,0,0-6.86-1.45L160.93,63.52,99.58,32.84a8,8,0,0,0-5.52-.6l-64,16A8,8,0,0,0,24,56V200a8,8,0,0,0,9.94,7.76l61.13-15.28,61.35,30.68A8.15,8.15,0,0,0,160,224a8,8,0,0,0,1.94-.24l64-16A8,8,0,0,0,232,200V56A8,8,0,0,0,228.92,49.69ZM104,52.94l48,24V203.06l-48-24ZM40,62.25l48-12v127.5l-48,12Zm176,131.5-48,12V78.25l48-12Z"></path></svg>

Before

Width:  |  Height:  |  Size: 454 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M244.24,60a8,8,0,0,0-7.75-.4c-42.93,21-73.59,11.16-106,.78-34-10.89-69.25-22.14-117.95,1.64A8,8,0,0,0,8,69.24V189.17a8,8,0,0,0,11.51,7.19c42.93-21,73.59-11.16,106.05-.78,19.24,6.15,38.84,12.42,61,12.42,17.09,0,35.73-3.72,56.91-14.06a8,8,0,0,0,4.49-7.18V66.83A8,8,0,0,0,244.24,60ZM232,181.67c-40.6,18.17-70.25,8.69-101.56-1.32-19.24-6.15-38.84-12.42-61-12.42a122,122,0,0,0-45.4,9V74.33c40.6-18.17,70.25-8.69,101.56,1.32S189.14,96,232,79.09ZM128,96a32,32,0,1,0,32,32A32,32,0,0,0,128,96Zm0,48a16,16,0,1,1,16-16A16,16,0,0,1,128,144ZM56,96v48a8,8,0,0,1-16,0V96a8,8,0,1,1,16,0Zm144,64V112a8,8,0,1,1,16,0v48a8,8,0,1,1-16,0Z"></path></svg>

Before

Width:  |  Height:  |  Size: 740 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm0,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48ZM200,40H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-64,72V144a8,8,0,0,1,16,0v32a8,8,0,0,1-16,0Zm80-16a8,8,0,0,1-8,8H184v40a8,8,0,0,1-8,8H144a8,8,0,0,1,0-16h24V144a8,8,0,0,1,16,0v8h24A8,8,0,0,1,216,160Zm0,32v16a8,8,0,0,1-16,0V192a8,8,0,0,1,16,0Z"></path></svg>

Before

Width:  |  Height:  |  Size: 654 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180ZM128,72c-22.06,0-40,16.15-40,36v4a8,8,0,0,0,16,0v-4c0-11,10.77-20,24-20s24,9,24,20-10.77,20-24,20a8,8,0,0,0-8,8v8a8,8,0,0,0,16,0v-.72c18.24-3.35,32-17.9,32-35.28C168,88.15,150.06,72,128,72Zm104,56A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"></path></svg>

Before

Width:  |  Height:  |  Size: 466 B

View file

@ -1,16 +1,13 @@
<svg xmlns="http://www.w3.org/2000/svg" width="135" height="20" role="img" aria-label="LGBTIQ+">
<!-- This file was created as part of the Private.coffee project
It is licensed under the MIT license
For more information, please visit https://private.coffee -->
<title>LGBTIQ+</title>
<rect rx="3" width="135" height="20" fill="#555"></rect>
<rect x="53" width="82" height="20" fill="#e05d44"></rect>
<rect x="66.5" width="68.5" height="20" fill="#fecc00"></rect>
<rect x="80" width="55" height="20" fill="#61c354"></rect>
<rect x="93.5" width="41.5" height="20" fill="#007ec6"></rect>
<rect x="107" width="28" height="20" fill="#744ca1"></rect>
<rect x="120.5" width="14.5" height="20" rx="3" ry="3" fill="#8b00ff"></rect>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="8">
<text x="27" y="15" fill="#fff">LGBTIQ+</text>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="94" height="20" role="img" aria-label="LGBTIQ+">
<title>LGBTIQ+</title>
<rect rx="3" width="94" height="20" fill="#555"/>
<rect x="37" width="57" height="20" fill="#e05d44"/>
<rect x="46.5" width="47.5" height="20" fill="#fecc00"/>
<rect x="56" width="37" height="20" fill="#61c354"/>
<rect x="65.5" width="27" height="20" fill="#007ec6"/>
<rect x="75" width="17" height="20" fill="#744ca1"/>
<rect x="84.5" width="9.5" height="20" rx="3" ry="3" fill="#8b00ff"/>
<g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="8">
<text x="18.5" y="15" fill="#fff">LGBTIQ+</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 956 B

After

Width:  |  Height:  |  Size: 757 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M106.91,149.09A71.53,71.53,0,0,1,128,200a8,8,0,0,1-16,0,56,56,0,0,0-56-56,8,8,0,0,1,0-16A71.53,71.53,0,0,1,106.91,149.09ZM56,80a8,8,0,0,0,0,16A104,104,0,0,1,160,200a8,8,0,0,0,16,0A120,120,0,0,0,56,80Zm118.79,1.21A166.9,166.9,0,0,0,56,32a8,8,0,0,0,0,16A151,151,0,0,1,163.48,92.52,151,151,0,0,1,208,200a8,8,0,0,0,16,0A166.9,166.9,0,0,0,174.79,81.21ZM60,184a12,12,0,1,0,12,12A12,12,0,0,0,60,184Z"></path></svg>

Before

Width:  |  Height:  |  Size: 516 B

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="#000000" viewBox="0 0 256 256"><path d="M184,24H72A32,32,0,0,0,40,56V184a32,32,0,0,0,32,32h8L65.6,235.2a8,8,0,1,0,12.8,9.6L100,216h56l21.6,28.8a8,8,0,1,0,12.8-9.6L176,216h8a32,32,0,0,0,32-32V56A32,32,0,0,0,184,24ZM56,120V80h64v40Zm80-40h64v40H136ZM72,40H184a16,16,0,0,1,16,16v8H56V56A16,16,0,0,1,72,40ZM184,200H72a16,16,0,0,1-16-16V136H200v48A16,16,0,0,1,184,200ZM96,172a12,12,0,1,1-12-12A12,12,0,0,1,96,172Zm88,0a12,12,0,1,1-12-12A12,12,0,0,1,184,172Z"></path></svg>

Before

Width:  |  Height:  |  Size: 536 B

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -1,44 +0,0 @@
{
"bridges": [
{
"name": "Telegram",
"mxid": "@telegrambot:private.coffee"
},
{
"name": "WhatsApp",
"mxid": "@whatsappbot:private.coffee"
},
{
"name": "Signal",
"mxid": "@signalbot:private.coffee"
},
{
"name": "Discord",
"mxid": "@discordbot:private.coffee"
},
{
"name": "Slack",
"mxid": "@slackbot:private.coffee"
},
{
"name": "LinkedIn",
"mxid": "@linkedinbot:private.coffee"
},
{
"name": "GPT-4o",
"mxid": "@gptbot:private.coffee"
},
{
"name": "RSS/Atom feeds",
"mxid": "@rssbot:private.coffee"
},
{
"name": "Instagram",
"mxid": "@instagrambot:private.coffee"
},
{
"name": "Facebook",
"mxid": "@facebookbot:private.coffee"
}
]
}

View file

@ -1,18 +1,19 @@
{
"2024": {
"04": {
"4": {
"Membership Fees": {
"EUR": 365
},
"Server Costs": {
"EUR": -216.57
},
"Domain Names": {},
"Administrative Expenses": {
"EUR": -36.10,
"Notes": "Administrative fee for the formation of the association"
}
},
"05": {
"5": {
"Membership Fees": {
"EUR": 390
},
@ -25,7 +26,7 @@
"Notes": "Includes setup costs and two monthly payments for new server"
}
},
"06": {
"6": {
"Membership Fees": {
"EUR": 382.42
},
@ -36,39 +37,9 @@
"EUR": -49.05
}
},
"07": {
"7": {
"Membership Fees": {
"EUR": 422.42
},
"Donations": {
"XMR": 1.0
},
"Server Costs": {
"EUR": -264.99
}
},
"08": {
"Membership Fees": {
"EUR": 402.42
},
"Server Costs": {
"EUR": -416.47
}
},
"09": {
"Membership Fees": {
"EUR": 468.11
},
"Server Costs": {
"EUR": -243.46
},
"Bank Fees": {
"EUR": -53.32
}
},
"10": {
"Membership Fees": {
"EUR": 30.23
"EUR": 20
}
}
}

View file

@ -3,11 +3,8 @@
{
"name": "Matrix",
"url": "https://element.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "decentralized messaging",
"short_description": "Matrix is an open network for secure, decentralized communication.",
"long_description": "Private.coffee runs a Matrix server. You can use it to chat with other people at Private.coffee or around the world. Public registrations are currently disabled, send an email to support@private.coffee to request an account.",
"long_description": "Private.coffee runs a Matrix server. You can use it to chat with other people at Private.coffee or around the world. Use it with a client of your choice, or use our Element web client.",
"status": "OK",
"links": [
{
@ -19,10 +16,6 @@
"url": "http://element.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
}
]
},
{
"name": "Go to Hydrogen",
"url": "https://hydrogen.private.coffee"
}
],
"icon": "matrix-logo",
@ -32,9 +25,6 @@
{
"name": "CryptPad",
"url": "https://cryptpad.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "collaborative document editing",
"short_description": "Private, encrypted, real-time collaborative editor.",
"long_description": "CryptPad is a private, encrypted, zero-knowledge, realtime collaborative editor, similar to Google Docs and Office 365.",
"status": "OK",
@ -48,12 +38,35 @@
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Piped / Invidious",
"url": "https://piped.private.coffee",
"short_description": "Watch YouTube videos without Google tracking.",
"long_description": "Piped and Invidious are alternative front-ends to YouTube. They allow you to watch YouTube videos without Google tracking you.",
"status": "OK",
"links": [
{
"name": "Go to Piped",
"url": "https://piped.private.coffee"
},
{
"name": "Go to Invidious",
"url": "https://invidious.private.coffee",
"alternatives": [
{
"name": "Tor",
"url": "http://invidious.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
}
]
}
],
"icon": "video",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Transfer.coffee",
"url": "https://transfer.coffee",
"homemade": "https://git.private.coffee/PrivateCoffee/transfer.coffee",
"fork": false,
"tiny_description": "secure direct file transfer",
"short_description": "Transfer files securely using peer-to-peer connections.",
"long_description": "Transfer.coffee allows you to transfer files securely using peer-to-peer connections. Your files are never stored on our servers.",
"status": "OK",
@ -70,9 +83,6 @@
{
"name": "MyIP.Coffee",
"url": "https://myip.coffee",
"homemade": "https://git.private.coffee/PrivateCoffee/myip.coffee",
"fork": false,
"tiny_description": "check your IP address",
"short_description": "Check your IP address.",
"long_description": "MyIP.Coffee allows you to check your current IPv4 and IPv6 addresses.",
"status": "OK",
@ -86,33 +96,11 @@
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Overleaf",
"url": "https://overleaf.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "collaborative LaTeX editor",
"short_description": "Overleaf is an online LaTeX editor for writing and sharing documents.",
"long_description": "Overleaf is an online LaTeX editor for writing and sharing documents. It allows you to write documents in LaTeX, and to collaborate with others.",
"status": "OK",
"links": [
{
"name": "Go to Overleaf",
"url": "https://overleaf.private.coffee"
}
],
"icon": "leaf",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Mastodon",
"url": "https://cuddly.space",
"homemade": false,
"fork": false,
"tiny_description": "decentralized social network",
"short_description": "Mastodon is a decentralized social network.",
"long_description": "Mastodon is a decentralized social network. You can use it to post short messages, follow other people, and more. Registrations are open to everyone on Cuddly Space.",
"long_description": "Mastodon is a decentralized social network. You can use it to post short messages, follow other people, and more.",
"status": "OK",
"links": [
{
@ -131,9 +119,6 @@
{
"name": "Forgejo",
"url": "https://git.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "self-hosted Git forge",
"short_description": "Forgejo is our in-house Git forge.",
"long_description": "Forgejo is our in-house Git forge. You can use it to host your Git repositories, and to collaborate with others.",
"status": "OK",
@ -150,9 +135,6 @@
{
"name": "BigBlueButton",
"url": "https://bbb.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "video conferencing",
"short_description": "BigBlueButton is an open-source video conferencing system.",
"long_description": "BigBlueButton is an open-source video conferencing system. You can use it to hold video conferences, webinars, and more.",
"status": "OK",
@ -169,9 +151,6 @@
{
"name": "HedgeDoc",
"url": "https://hedgedoc.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "collaborative markdown editor",
"short_description": "HedgeDoc is an open-source collaborative markdown editor.",
"long_description": "HedgeDoc is an open-source collaborative markdown editor. You can use it to write and edit documents in markdown, and to collaborate with others.",
"status": "OK",
@ -185,88 +164,9 @@
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "FacilMap",
"url": "https://facilmap.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "open-source map editor",
"short_description": "FacilMap is an open-source map editor.",
"long_description": "FacilMap is an open-source map editor. You can use it to create and edit maps, and to share them with others.",
"status": "OK",
"links": [
{
"name": "Go to FacilMap",
"url": "https://facilmap.private.coffee"
}
],
"icon": "map-trifold",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "OTS - One Time Secrets",
"url": "https://ots.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "share secrets securely",
"short_description": "OTS is a service for sharing secrets securely.",
"long_description": "OTS is a service for sharing secrets securely. You can use it to share passwords, API keys, and other sensitive information.",
"status": "OK",
"links": [
{
"name": "Go to OTS",
"url": "https://ots.private.coffee"
}
],
"icon": "lock-key",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "QRMaker",
"url": "https://qrmaker.private.coffee",
"homemade": "https://git.private.coffee/PrivateCoffee/QRMaker",
"fork": false,
"tiny_description": "QR code generator",
"short_description": "QRMaker is a service for generating QR codes.",
"long_description": "QRMaker is a service for generating QR codes. You can use it to create QR codes for URLs, text, and more, directly in your browser.",
"status": "OK",
"links": [
{
"name": "Go to QRMaker",
"url": "https://qrmaker.private.coffee"
}
],
"icon": "qr-code",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "FreshRSS",
"url": "https://freshrss.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "RSS feed reader",
"short_description": "FreshRSS is a RSS feed reader.",
"long_description": "FreshRSS is a RSS feed reader. You can use it to subscribe to RSS feeds and read the latest articles from your favorite websites.",
"status": "OK",
"links": [
{
"name": "Go to FreshRSS",
"url": "https://freshrss.private.coffee"
}
],
"icon": "rss",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "redlib",
"url": "https://redlib.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "tracking-free Reddit",
"short_description": "redlib is a privacy-friendly alternative front-end to Reddit.",
"long_description": "redlib is a privacy-friendly alternative front-end to Reddit. It allows you to browse Reddit without being tracked.",
"status": "OK",
@ -280,50 +180,9 @@
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "CyberChef",
"url": "https://cyberchef.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "Web app for encryption and encoding",
"short_description": "CyberChef is a web app for encryption, encoding, compression, and data analysis.",
"long_description": "CyberChef is a web app for encryption, encoding, compression, and data analysis. It allows you to perform a wide range of operations on your data within your browser.",
"status": "OK",
"links": [
{
"name": "Go to CyberChef",
"url": "https://cyberchef.private.coffee"
}
],
"icon": "lock-key",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Travelynx",
"url": "https://traveling.coffee",
"homemade": false,
"fork": false,
"tiny_description": "rail journey logger (German)",
"short_description": "Travelynx is a service for logging your rail journeys. (German)",
"long_description": "Travelynx is a service for logging your rail journeys, primarily for Germany and surrounding Europe. You can use it to keep track of the trains you've taken, and to view statistics about your trips.",
"status": "OK",
"links": [
{
"name": "Go to Travelynx",
"url": "https://traveling.coffee"
}
],
"icon": "train",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "AllTube",
"url": "https://alltube.private.coffee",
"homemade": false,
"fork": "https://git.private.coffee/PrivateCoffee/alltube",
"tiny_description": "universal video downloader",
"short_description": "Download videos from YouTube, Vimeo, and more.",
"long_description": "AllTube is a video downloader powered by yt-dlp. It allows you to download videos from YouTube, Vimeo, and many other sites. You can also stream the download through our server for extra privacy.",
"status": "OK",
@ -337,56 +196,9 @@
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Invidious",
"url": "https://invidious.private.coffee",
"homemade": false,
"fork": "https://git.private.coffee/PrivateCoffee/invidious",
"tiny_description": "tracking-free YouTube",
"short_description": "Watch YouTube videos without Google tracking.",
"long_description": "Invidious is an alternative front-end to YouTube. Unfortunately, it is under attack from Google, and is mostly unusable at the moment.",
"status": "NOK",
"links": [
{
"name": "Go to Invidious",
"url": "https://invidious.private.coffee",
"alternatives": [
{
"name": "Tor",
"url": "http://invidious.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
}
]
}
],
"icon": "video",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Piped",
"url": "https://piped.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "tracking-free YouTube",
"short_description": "Watch YouTube videos without Google tracking.",
"long_description": "Piped is an alternative front-end to YouTube. Unfortunately, it is under attack from Google, and is mostly unusable at the moment.",
"status": "NOK",
"links": [
{
"name": "Go to Piped",
"url": "https://piped.private.coffee"
}
],
"icon": "video",
"exclude_from_index": true,
"exclude_from_simple": true
},
{
"name": "Structables",
"url": "https://structables.private.coffee",
"homemade": "https://git.private.coffee/PrivateCoffee/structables",
"fork": false,
"tiny_description": "tracking-free Instructables",
"short_description": "Browse Instructables without being tracked.",
"long_description": "Structables allows you to browse Instructables without being tracked.",
"status": "OK",
@ -400,144 +212,9 @@
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Quetre",
"url": "https://quetre.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "tracking-free Quora",
"short_description": "Quetre is a privacy-friendly alternative front-end to Quora.",
"long_description": "Quetre is a privacy-friendly alternative front-end to Quora. It allows you to browse Quora without being tracked or having to log in.",
"status": "OK",
"links": [
{
"name": "Go to Quetre",
"url": "https://quetre.private.coffee",
"alternatives": [
{
"name": "Tor",
"url": "http://quetre.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
}
]
}
],
"icon": "question",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Wikimore",
"url": "https://wikimore.private.coffee",
"homemade": "https://git.private.coffee/PrivateCoffee/wikimore",
"fork": false,
"tiny_description": "censorship-free Wikipedia",
"short_description": "Wikimore is a privacy-friendly alternative front-end to Wikimedia wikis.",
"long_description": "Wikimore is a privacy-friendly alternative front-end to Wikipedia and other Wikimedia wikis.",
"status": "OK",
"links": [
{
"name": "Go to Wikimore",
"url": "https://wikimore.private.coffee",
"alternatives": [
{
"name": "Tor",
"url": "http://wikimore.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
}
]
}
],
"icon": "books",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Priviblur",
"url": "https://priviblur.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "tracking-free Tumblr",
"short_description": "Priviblur is a privacy-friendly alternative front-end to Tumblr.",
"long_description": "Priviblur is a privacy-friendly alternative front-end to Tumblr. It allows you to browse Tumblr without being tracked.",
"status": "OK",
"links": [
{
"name": "Go to Priviblur",
"url": "https://priviblur.private.coffee",
"alternatives": [
{
"name": "Tor",
"url": "http://priviblur.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
}
]
}
],
"icon": "camera",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "BiblioReads",
"url": "https://biblioreads.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "tracking-free Goodreads",
"short_description": "BiblioReads is a privacy-friendly alternative front-end to Goodreads.",
"long_description": "BiblioReads is a privacy-friendly alternative front-end to Goodreads. It allows you to browse Goodreads without being tracked.",
"status": "OK",
"links": [
{
"name": "Go to BiblioReads",
"url": "https://biblioreads.private.coffee"
}
],
"icon": "books",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Small",
"url": "https://small.private.coffee",
"homemade": "https://git.private.coffee/PrivateCoffee/small",
"fork": false,
"tiny_description": "tracking-free Medium",
"short_description": "Small is a privacy-friendly alternative front-end to Medium.",
"long_description": "Small is a privacy-friendly alternative front-end to Medium. It allows you to browse Medium without being tracked.",
"status": "OK",
"links": [
{
"name": "Go to Small",
"url": "https://small.private.coffee"
}
],
"icon": "pencil-ruler",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Scribe",
"url": "https://scribe.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "tracking-free Medium",
"short_description": "Scribe is a privacy-friendly alternative front-end to Medium.",
"long_description": "Scribe is a privacy-friendly alternative front-end to Medium. It allows you to browse Medium without being tracked.",
"status": "OK",
"links": [
{
"name": "Go to Scribe",
"url": "https://scribe.private.coffee"
}
],
"icon": "pencil-ruler",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "LibreTranslate",
"url": "https://translate.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "self-hosted translation",
"short_description": "LibreTranslate is a self-hosted translation service powered by Argos Translate.",
"long_description": "LibreTranslate is a self-hosted translation service powered by Argos Translate. It allows you to translate text between many languages.",
"status": "OK",
@ -548,16 +225,13 @@
}
],
"icon": "translate",
"exclude_from_index": true,
"exclude_from_simple": true
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "wishthis",
"url": "https://wishthis.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "create and share wishlists",
"short_description": "wishthis is a service for creating and sharing wishlists.",
"short_description": "wishthis is a service for creating wishlists.",
"long_description": "wishthis is a service for creating wishlists. You can use it to create wishlists for yourself, or to share them with others.",
"status": "OK",
"links": [
@ -570,56 +244,9 @@
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "BreezeWiki",
"url": "https://breezewiki.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "tracking-free Fandom",
"short_description": "BreezeWiki is a privacy-friendly alternative front-end to Fandom.",
"long_description": "BreezeWiki is a privacy-friendly alternative front-end to Fandom. It allows you to browse Fandom wikis without ads or tracking.",
"status": "OK",
"links": [
{
"name": "Go to BreezeWiki",
"url": "https://breezewiki.private.coffee",
"alternatives": [
{
"name": "Tor",
"url": "http://breezewiki.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
}
]
}
],
"icon": "books",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Ducks for Ducks",
"url": "https://ducksforducks.private.coffee",
"homemade": "https://git.private.coffee/PrivateCoffee/ducksforducks",
"fork": false,
"tiny_description": "a private front-end to Geeks for Geeks",
"short_description": "Ducks for Ducks is a privacy-friendly alternative front-end to Geeks for Geeks.",
"long_description": "Ducks for Ducks is a privacy-friendly alternative front-end to Geeks for Geeks. It allows you to browse Geeks for Geeks without ads or tracking.",
"status": "OK",
"links": [
{
"name": "Go to Ducks for Ducks",
"url": "https://ducksforducks.private.coffee"
}
],
"icon": "books",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "NocoDB",
"url": "https://nocodb.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "Airtable alternative",
"short_description": "NocoDB is a self-hosted alternative to Airtable.",
"long_description": "NocoDB is a self-hosted alternative to Airtable. It allows you to create databases and tables, and to view and edit them in a spreadsheet-like interface. (Note: If you are unable to create tables upon registration, simply wait a minute or two, log out and then log in again. Note that your email address will be visible to all registered users!)",
"status": "OK",
@ -636,9 +263,6 @@
{
"name": "Penpot",
"url": "https://penpot.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "open-source design platform",
"short_description": "Penpot is an open-source design and prototyping platform.",
"long_description": "Penpot is an open-source design and prototyping platform. It allows you to create designs and prototypes, and to collaborate with others.",
"status": "OK",
@ -649,34 +273,12 @@
}
],
"icon": "pencil-ruler",
"exclude_from_index": true,
"exclude_from_simple": true
},
{
"name": "tldraw",
"url": "https://tldraw.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "collaborative whiteboard",
"short_description": "tldraw is a collaborative whiteboard.",
"long_description": "tldraw is a collaborative whiteboard. You can use it to draw and write with others in real-time.",
"status": "OK",
"links": [
{
"name": "Go to tldraw",
"url": "https://tldraw.private.coffee"
}
],
"icon": "pencil-ruler",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "YOURLS",
"url": "https://pcof.fi",
"homemade": false,
"fork": false,
"tiny_description": "URL shortener",
"short_description": "URL shortener for creating handy links.",
"long_description": "Use our URL shortener at pcof.fi to turn long, complicated URLs into something more handy.",
"status": "OK",
@ -693,9 +295,6 @@
{
"name": "Rallly",
"url": "https://rallly.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "collaborative scheduling (Doodle)",
"short_description": "Rallly is a free collaborative scheduling service for voting and polls.",
"long_description": "Rallly is a free collaborative scheduling service. It allows you to create polls and vote on them, similar to Doodle. Pro features are enabled for free after signing in.",
"status": "OK",
@ -712,38 +311,38 @@
{
"name": "LibreY",
"url": "https://librey.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "search engine",
"short_description": "Privacy-friendly metasearch engine.",
"long_description": "LibreY is an open-source, privacy-friendly metasearch engine. It allows you to search for web, image, video, torrents, and more, and it can also search onion sites.",
"status": "OK",
"links": [
{
"name": "Go to LibreY",
"url": "https://librey.private.coffee",
"alternatives": [
{
"name": "Tor",
"url": "http://librey.coffee2m3bjsrrqqycx6ghkxrnejl2q6nl7pjw2j4clchjj6uk5zozad.onion"
},
{
"name": "I2P",
"url": "http://xna5ydrj54ncvujz3f4c6y5i547hjwywygnr4uz6shz3f62suxwq.b32.i2p"
}
]
"url": "https://librey.private.coffee"
}
],
"icon": "magnifying-glass",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Overleaf",
"url": "https://overleaf.private.coffee",
"short_description": "Overleaf is an online LaTeX editor for writing and sharing documents.",
"long_description": "Overleaf is an online LaTeX editor for writing and sharing documents. It allows you to write documents in LaTeX, and to collaborate with others.",
"status": "OK",
"links": [
{
"name": "Go to Overleaf",
"url": "https://overleaf.private.coffee"
}
],
"icon": "leaf",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "GotHub",
"url": "https://gothub.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "tracking-free GitHub",
"short_description": "Alternative GitHub interface that respects privacy.",
"long_description": "Gothub is an alternative GitHub interface that respects your privacy. It is currently in alpha, but you can browse and download repositories, and you can also clone them using git+https (although the text on the main page would disagree).",
"status": "OK",
@ -760,9 +359,6 @@
{
"name": "Binternet",
"url": "https://binternet.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "tracking-free Pinterest",
"short_description": "Binternet is a privacy-friendly alternative front-end to Pinterest.",
"long_description": "Binternet is a privacy-friendly alternative front-end to Pinterest. It allows you to browse Pinterest without being tracked.",
"status": "OK",
@ -775,120 +371,6 @@
"icon": "images",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Moner.ooo",
"url": "https://monerooo.private.coffee",
"homemade": false,
"fork": "https://git.private.coffee/kumi/moner.ooo",
"tiny_description": "Monero/fiat exchange rates",
"short_description": "Moner.ooo is a service for checking Monero/fiat exchange rates.",
"long_description": "Moner.ooo is a service for checking Monero/fiat exchange rates. It allows you to see the current exchange rates for Monero in various fiat currencies.",
"status": "OK",
"links": [
{
"name": "Go to Moner.ooo",
"url": "https://monerooo.private.coffee"
}
],
"icon": "money-wavy",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "httpbin",
"url": "https://httpbin.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "HTTP request testing service",
"short_description": "httpbin is a service for testing HTTP requests.",
"long_description": "httpbin is a service for testing HTTP requests. You can use it to see what your browser sends to a server, and to test various HTTP methods.",
"status": "OK",
"links": [
{
"name": "Go to httpbin",
"url": "https://httpbin.private.coffee"
}
],
"icon": "network",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "Overpass",
"url": "https://overpass.private.coffee",
"homemade": false,
"fork": false,
"tiny_description": "OpenStreetMap API",
"short_description": "Overpass is an API for OpenStreetMap.",
"long_description": "Overpass is an API for OpenStreetMap. You can use it to query OpenStreetMap data, and to get the results in various formats.",
"status": "OK",
"links": [
{
"name": "Go to Overpass",
"url": "https://overpass.private.coffee"
}
],
"icon": "map-trifold",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "GoogleDonts",
"url": "https://googledonts.private.coffee",
"homemade": "https://git.private.coffee/PrivateCoffee/googledonts",
"fork": false,
"tiny_description": "privacy-friendly Google Fonts proxy",
"short_description": "GoogleDonts is a privacy-friendly proxy to Google Fonts.",
"long_description": "GoogleDonts is a privacy-friendly proxy to Google Fonts. It allows you to use Google Fonts without being tracked by Google.",
"status": "OK",
"links": [
{
"name": "Go to GoogleDonts",
"url": "https://googledonts.private.coffee"
}
],
"icon": "hard-hat",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "nocdnbs",
"url": "https://nocdnbs.private.coffee",
"homemade": "https://git.private.coffee/PrivateCoffee/nocdnbs",
"fork": false,
"tiny_description": "privacy-friendly cdnjs proxy",
"short_description": "nocdnbs is a privacy-friendly proxy to cdnjs.cloudflare.com",
"long_description": "nocdnbs is a privacy-friendly proxy to cdnjs.cloudflare.com. It allows you to use the cdnjs.cloudflare.com library without being tracked by Cloudflare.",
"status": "OK",
"links": [
{
"name": "Go to nocdnbs",
"url": "https://nocdnbs.private.coffee"
}
],
"icon": "hard-hat",
"exclude_from_index": false,
"exclude_from_simple": false
},
{
"name": "nobsdelivr",
"url": "https://nobsdelivr.private.coffee",
"homemade": "https://git.private.coffee/PrivateCoffee/nobsdelivr",
"fork": false,
"tiny_description": "privacy-friendly jsDelivr proxy",
"short_description": "nobsdelivr is a privacy-friendly proxy to cdn.jsdelivr.net",
"long_description": "nobsdelivr is a privacy-friendly proxy to cdn.jsdelivr.net. It allows you to use the cdn.jsdelivr.net library without being tracked by jsDelivr.",
"status": "OK",
"links": [
{
"name": "Go to nobsdelivr",
"url": "https://nobsdelivr.private.coffee"
}
],
"icon": "hard-hat",
"exclude_from_index": false,
"exclude_from_simple": false
}
]
}

View file

@ -30,12 +30,12 @@ def get_transparency_data(data, year=None, month=None, allow_current=False):
month = max(data[year].keys())
year = str(year)
month = str(month).zfill(2)
month = str(month)
if (
not allow_current
and year == str(datetime.now().year)
and month == str(datetime.now().month).zfill(2)
and month == str(datetime.now().month)
):
try:
month = max([m for m in data[year].keys() if m != str(datetime.now().month)])

115
main.py
View file

@ -1,13 +1,10 @@
from jinja2 import Environment, FileSystemLoader, TemplateNotFound
import json
import pathlib
import os
import datetime
import shutil
from http.server import SimpleHTTPRequestHandler
from socketserver import TCPServer
from threading import Thread
from argparse import ArgumentParser
from helpers.finances import (
@ -16,60 +13,37 @@ from helpers.finances import (
get_latest_month,
)
class StaticPageHandler(SimpleHTTPRequestHandler):
def __init__(self, *args, **kwargs):
super().__init__(*args, directory="build", **kwargs)
# Configure Jinja2 environment
env = Environment(loader=FileSystemLoader("templates"))
env = Environment(loader=FileSystemLoader('templates'))
# Set up the output directory for static files
output_dir = pathlib.Path("build")
output_dir = pathlib.Path('build')
output_dir.mkdir(exist_ok=True, parents=True)
# Define the icon filter
def icon(icon_name):
icon_path = pathlib.Path("assets") / f"dist/icons/{icon_name}.svg"
icon_path = pathlib.Path('assets') / f"dist/icons/{icon_name}.svg"
try:
with open(icon_path, "r", encoding="utf-8") as file:
with open(icon_path, 'r', encoding='utf-8') as file:
file_content = file.read()
except FileNotFoundError:
file_content = ""
file_content = ''
return file_content
env.filters["icon"] = icon
# Filter for rendering a month name from a number
def month_name(month_number):
return datetime.date(1900, int(month_number), 1).strftime("%B")
env.filters["month_name"] = month_name
env.filters['icon'] = icon
def render_template_to_file(template_name, output_name, **kwargs):
try:
template = env.get_template(template_name)
output_path = output_dir / output_name
kwargs.setdefault("theme", "plain")
with open(output_path, "w", encoding="utf-8") as f:
with open(output_path, 'w', encoding='utf-8') as f:
f.write(template.render(**kwargs))
except TemplateNotFound:
print(f"Template {template_name} not found.")
def generate_static_site(development_mode=False, theme="plain"):
def generate_static_site(development_mode=False):
# Common context
kwargs = {
"timestamp": int(datetime.datetime.now().timestamp()),
"theme": theme,
}
kwargs = {}
if development_mode:
kwargs.update(
{
@ -87,41 +61,27 @@ def generate_static_site(development_mode=False, theme="plain"):
(pathlib.Path(__file__).parent / "data" / "finances.json").read_text()
)
# Load bridges data
bridges = json.loads(
(pathlib.Path(__file__).parent / "data" / "bridges.json").read_text()
)
# Iterate over all templates in the templates directory
templates_path = pathlib.Path("templates")
for template_file in templates_path.glob("*.html"):
templates_path = pathlib.Path('templates')
for template_file in templates_path.glob('*.html'):
template_name = template_file.stem
context = kwargs.copy()
context["path"] = f"{template_name}.html" if template_name != "index" else ""
if template_name in ["index", "simple"]:
context.update({"services": services})
if template_name == "bridges":
context.update({"bridges": bridges})
if template_name.startswith("membership"):
if template_name == "membership":
allow_current = development_mode
finances_month, finances_year = get_latest_month(finances, allow_current)
finances_period = datetime.date(finances_year, finances_month, 1)
finances_period_str = finances_period.strftime("%B %Y")
finances_table = generate_transparency_table(
get_transparency_data(
finances, finances_year, finances_month, allow_current
)
)
context.update(
{
"finances": finances_table,
"finances_period": finances_period_str,
}
get_transparency_data(finances, finances_year, finances_month, allow_current)
)
context.update({
"finances": finances_table,
"finances_period": finances_period_str,
})
if template_name == "transparency":
finance_data = {}
@ -130,13 +90,11 @@ def generate_static_site(development_mode=False, theme="plain"):
if year not in finance_data:
finance_data[year] = {}
finance_data[year][month] = generate_transparency_table(
get_transparency_data(finances, year, month, True)
get_transparency_data(finances, year, month)
)
context.update({"finances": finance_data})
render_template_to_file(
f"{template_name}.html", f"{template_name}.html", **context
)
render_template_to_file(f"{template_name}.html", f"{template_name}.html", **context)
# Generate metrics
balances = get_transparency_data(finances, allow_current=True)["end_balance"]
@ -150,40 +108,21 @@ def generate_static_site(development_mode=False, theme="plain"):
response += f'privatecoffee_balance{{currency="{currency}"}} {balance}\n'
metrics_path = output_dir / "metrics.txt"
with open(metrics_path, "w", encoding="utf-8") as f:
with open(metrics_path, 'w', encoding='utf-8') as f:
f.write(response)
# Copy static assets
for folder in ["assets", "data"]:
src = pathlib.Path(folder)
dst = output_dir / folder
if dst.exists():
shutil.rmtree(dst)
shutil.copytree(src, dst)
assets_src = pathlib.Path('assets')
assets_dst = output_dir / 'assets'
if assets_dst.exists():
shutil.rmtree(assets_dst)
shutil.copytree(assets_src, assets_dst)
print("Static site generated successfully.")
if __name__ == "__main__":
parser = ArgumentParser(description="Generate the private.coffee static site.")
parser.add_argument("--dev", action="store_true", help="Enable development mode")
parser.add_argument(
"--serve", action="store_true", help="Serve the site after building"
)
parser.add_argument(
"--port", type=int, default=8000, help="Port to serve the site on"
)
parser.add_argument(
"--theme", type=str, default="plain", help="Theme to use for the site"
)
args = parser.parse_args()
generate_static_site(development_mode=args.dev, theme=args.theme)
if args.serve:
server = TCPServer(("", args.port), StaticPageHandler)
print(f"Serving on http://localhost:{args.port}")
thread = Thread(target=server.serve_forever)
thread.start()
thread.join()
generate_static_site(development_mode=args.dev)

View file

@ -1 +1,2 @@
flask
jinja2

View file

@ -3,116 +3,94 @@
<!-- This file was created as part of the Private.coffee project
It is licensed under the MIT license
For more information, please visit https://private.coffee -->
<head>
<meta charset="utf8" />
<meta name="viewport"
content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
<meta name="description"
content="Private.coffee is a privacy-focused non-profit association, dedicated to supporting privacy and digital sovereignty." />
<meta name="keywords"
content="privacy, digital sovereignty, non-profit, association, privacy-focused" />
<meta name="author" content="Private.coffee" />
<meta property="og:title"
content="Private.coffee - Empowering Privacy with Open Source" />
<meta property="og:description"
content="Private.coffee is a privacy-focused non-profit association, dedicated to supporting privacy and digital sovereignty." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://private.coffee/" />
<meta property="og:image"
content="https://private.coffee/assets/img/logo-inv_grad.png" />
<meta property="og:site_name" content="Private.coffee" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:title" content="Private.coffee" />
<meta name="twitter:description"
content="Private.coffee is a privacy-focused non-profit association, dedicated to supporting privacy and digital sovereignty." />
<meta name="twitter:image"
content="https://private.coffee/assets/img/logo-inv_grad.png" />
<link rel="icon" type="image/png" href="assets/img/logo-inv_grad.png" />
<title>
{% block title %}{% endblock title %}
- Private.coffee</title>
<link rel="stylesheet" href="assets/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/base.css?v={{ timestamp }}" />
<link rel="stylesheet"
href="assets/css/theme/{{ theme }}.css?v={{ timestamp }}" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, shrink-to-fit=no"
/>
<title>{% block title %}{% endblock %} - Private.coffee</title>
<link rel="stylesheet" href="/assets/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="/assets/css/base.css" />
</head>
<body>
<nav class="navbar navbar-expand-md py-3 navbar-light" id="mainNav">
<nav
class="navbar navbar-expand-md py-3 navbar-light"
id="mainNav"
>
<div class="container">
<div class="row d-lg-flex align-items-lg-center">
<div class="col p-0">
<a href="/">
<div id="smallLogoContainer"></div>
</a>
<a href="/"
><img src="/assets/img/logo-inv_grad.svg" style="height: 60px"
/></a>
</div>
<div class="col d-flex">
<a class="navbar-brand d-flex align-items-center" href="/">
<p class="mb-0"
style="line-height: 1.2rem;
color: var(--bs-tertiary-color)">
<span class="ps-2 fancy-text-primary"><span style="color: rgb(35, 35, 35)">Private.coffee</span></span>
<br class="that-br" />
<span class="ps-2 slogan">Empowering Privacy with Open Source</span>
<p
class="mb-0"
style="line-height: 1.2rem; color: var(--bs-tertiary-color)"
>
<span class="ps-2 fancy-text-primary"
><span style="color: rgb(35, 35, 35)"
>Private.coffee</span
></span
><br class="that-br" /><span class="ps-2 slogan"
>Empowering Privacy with Open Source</span
>
</p>
</a>
</div>
</div>
<div class="navbar" id="navcol-1">
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link active" href="/index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://status.private.coffee/">Status</a>
</li>
</ul>
<a class="btn btn-primary shadow navbar-btn"
role="button"
href="/membership.html">JOIN &amp; SUPPORT</a>
<ul class="navbar-nav mx-auto">
<li class="nav-item"><a class="nav-link active" href="/index.html">Home</a></li>
<li class="nav-item"><a class="nav-link" href="https://status.private.coffee/">Status</a></li>
</ul><a class="btn btn-primary shadow navbar-btn" role="button" href="/membership.html">JOIN &amp; SUPPORT</a>
</div>
</div>
</nav>
{% if warning %}{{ warning|safe }}{% endif %}
{% block content %}{% endblock %}
<footer class="bg-primary-gradient">
<div class="container py-4 py-lg-5">
<div class="row justify-content-center">
<div class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column">
<div
class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column"
>
<h3 class="fs-6 fw-bold">Legal Stuff</h3>
<ul class="list-unstyled">
<li>
<a href="/legal.html">Legal Notice</a>
</li>
<li>
<a href="/privacy.html">Privacy Notice</a>
</li>
<li>
<a href="/terms.html">Terms of Service</a>
</li>
<li><a href="/legal.html">Legal Notice</a></li>
<li><a href="/privacy.html">Privacy Notice</a></li>
<li><a href="/terms.html">Terms of Service</a></li>
</ul>
</div>
<div class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column"></div>
<div class="col-lg-3 text-center text-lg-start d-flex flex-column align-items-center order-first align-items-lg-start order-lg-last">
<div
class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column"
></div>
<div
class="col-lg-3 text-center text-lg-start d-flex flex-column align-items-center order-first align-items-lg-start order-lg-last"
>
<div class="fw-bold d-flex align-items-center mb-2">
<span class="bs-icon-sm bs-icon-circle bs-icon-primary d-flex justify-content-center align-items-center bs-icon me-2">{{ "coffee" | icon | safe }}</span><span>Private.coffee</span>
<span
class="bs-icon-sm bs-icon-circle bs-icon-primary d-flex justify-content-center align-items-center bs-icon me-2"
>{{ "coffee" | icon | safe }}</span
><span>Private.coffee</span>
</div>
<p class="text-muted">
Private.coffee is a privacy-focused non-profit association,
dedicated to supporting privacy and digital sovereignty.
Private.coffee is a privacy-focused non-profit association, dedicated
to supporting privacy and digital sovereignty.
</p>
</div>
</div>
<hr />
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
<div
class="text-muted d-flex justify-content-between align-items-center pt-3"
>
<p class="mb-0">Made with ❤️ and ☕ by Private.coffee</p>
<p class="mb-0">
<a href="https://git.private.coffee/privatecoffee/privatecoffee-website">
<img src="https://shields.private.coffee/gitea/last-commit/privatecoffee/privatecoffee-website?gitea_url=https://git.private.coffee&logo=forgejo" />
</a>
<a href="https://pride.coffee">{{ "rainbow" | icon | safe }}</a>
</p>
<p class="mb-0">{{ "rainbow" | icon | safe }}</p>
</div>
</div>
</footer>
</body>
</html>

View file

@ -1,29 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bridges and bots</title>
</head>
<body>
<div style="font-family: Arial, sans-serif;
background-color: #f2f2f2;
color: #333;
line-height: 1.6;
padding: 20px;
max-width: 600px;
margin: auto">
<h2 style="color: #333;">Bridges and bots</h2>
<p>These are the bridges and bots available to Private.coffee Matrix users:</p>
<ul style="list-style: none; padding: 0;">
{% for bridge in bridges.bridges %}
<li style="padding: 8px 0;">
<a style="color: #1a5dab;
text-decoration: none"
href="https://matrix.pcof.fi/#/{{ bridge.mxid }}">{{ bridge.name }}</a> - {{ bridge.mxid }}
</li>
{% endfor %}
</ul>
</div>
</body>
</html>

View file

@ -1,168 +1,186 @@
{% extends "base.html" %}
{% block title %}Home{% endblock title %}
{% block content
%}
<header class="bg-primary-gradient">
<div class="container pt-4 pt-xl-5 pb-4 pb-xl-5">
{% extends "base.html" %} {% block title %}Home{% endblock %} {% block content
%}
<header class="bg-primary-gradient">
<div class="container pt-4 pt-xl-5 pb-4 pb-xl-5">
<div class="row gy-5 pt-5">
<div class="col-md-8 col-xl-6 text-center text-md-start mx-auto">
<div class="text-center">
<h2>Empowering Privacy with Open Source</h2>
<div class="col-md-8 col-xl-6 text-center text-md-start mx-auto">
<div class="text-center">
<h2>Empowering Privacy with Open Source</h2>
</div>
<p class="text-center special-header fancy-text-primary mb-0" style="font-weight: 500;">Private.coffee</p>
</div>
<p class="text-center special-header fancy-text-primary mb-0"
style="font-weight: 500">Private.coffee</p>
</div>
<div class="col-12 col-lg-10 mx-auto justify-content-center d-flex">
<div id="logoContainer"></div>
</div>
<div class="col-12 col-lg-10 mx-auto justify-content-center d-flex"><img class="mx-auto" src="/assets/img/logo-inv_grad.svg" style="max-width: 400px;width: 80vw;"></div>
</div>
</div>
</header>
<section class="bg-white">
<div class="container bg-white py-5">
<div class="row">
<div class="col-md-8 col-xl-6 text-center mx-auto">
<p class="fw-bold mb-2 text-primary">Our self-hosted Services</p>
<h3 class="fw-bold">
Private.coffee provides a collection of services that respect your
privacy.
</h3>
</div>
</div>
</header>
<section class="bg-white">
<div class="container bg-white py-5">
<div class="row">
<div class="col-md-8 col-xl-6 text-center mx-auto">
<p class="fw-bold mb-2 text-primary">Our self-hosted Services</p>
<h3 class="fw-bold">
Private.coffee provides a collection of services that respect your
privacy.
</h3>
</div>
</div>
<div class="py-5 p-lg-5">
<div class="accordion">
{% for service in services.services %}
{% if not
service.exclude_from_index %}
<details class="accordion-item">
<summary class="accordion-header">
{% if service.icon %}
<div class="bs-icon-lg d-flex justify-content-center align-items-center bs-icon"
title="{{ service.name }}">{{ service.icon | icon | safe }}</div>
{% endif %}
{{ service.name }}
{% if service.tiny_description %}
- {{
service.tiny_description }}
{% endif %}
{% if service.homemade %}
<a href="{{ service.homemade }}">
<div class="bs-icon-sm bs-icon-circle bs-icon-primary shadow d-flex flex-shrink-0 justify-content-center align-items-center d-inline-block bs-icon bs-icon-sm homemade"
title="Made by Private.coffee">{{ "coffee" | icon | safe }}</div>
</a>
{% endif %}
{% if service.fork %}
<a href="{{ service.fork }}">
<div class="bs-icon-sm bs-icon-circle bs-icon-primary shadow d-flex flex-shrink-0 justify-content-center align-items-center d-inline-block bs-icon bs-icon-sm fork"
title="Runs on a fork of the original software">{{ "git-branch" | icon | safe }}</div>
</a>
{% endif %}
</summary>
<div class="accordion-body">
<p class="text-muted card-text mb-4">{{ service.long_description }}</p>
{% for link in service.links %}
{% if link.alternatives %}
<div class="button-wrapper dropdown">
<div class="btn btn-primary w-100 shadow">
<a class="main-link" href="{{ link.url }}">{{ link.name }}</a>
<div class="dropdown-toggle-area">&#9660;</div>
</div>
<div class="dropdown-content">
{% for alternative in link.alternatives %}<a href="{{ alternative.url }}">{{ alternative.name }}</a>{% endfor %}
</div>
</div>
{% else %}
<a class="button-wrapper btn btn-primary shadow w-100 text-center"
href="{{ link.url }}">{{ link.name }}</a>
{% endif %}
<div class="py-5 p-lg-5">
<div
class="row row-cols-1 row-cols-md-2 row-cols-lg-3 mx-auto"
style="max-width: 1200px"
>
{% for service in services.services %} {% if not
service.exclude_from_index %}
<div class="col mb-5">
<div class="card shadow-sm">
<div class="card-body px-4 py-5 px-md-5">
{% if service.icon %}
<div
class="bs-icon-lg d-flex justify-content-center align-items-center mb-3 bs-icon"
style="top: 1rem; right: 1rem; position: absolute"
>
{{ service.icon | icon | safe }}
</div>
{% endif %}
<h5 class="fw-bold card-title">{{ service.name }}</h5>
<p class="text-muted card-text mb-4">
{{ service.long_description }}
</p>
{% for link in service.links %} {% if link.alternatives %}
<div class="dropdown">
<div class="btn btn-primary shadow">
<a class="main-link" href="{{ link.url }}">
{{ link.name }}
</a>
<div class="dropdown-toggle-area">&#9660;</div>
</div>
<div class="dropdown-content">
{% for alternative in link.alternatives %}
<a href="{{ alternative.url }}">{{ alternative.name }}</a>
{% endfor %}
</div>
</details>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</section>
<section class="bg-primary-gradient">
<div class="container py-5">
<div class="row align-items-center">
<div class="col">
<p class="text-end special-header fancy-text-primary mb-0">Privacy</p>
</div>
<div class="col">
<p class="text-start mb-1" style="font-size: 1.6rem">
from the <strong>community</strong>
</p>
<p class="text-start mb-0" style="font-size: 1.6rem">
for the <strong>community</strong>
</p>
</div>
</div>
<div class="mx-auto" style="max-width: 900px">
<div class="row row-cols-1 row-cols-md-2 d-flex justify-content-center">
<div class="col mb-4">
<div class="card bg-primary-subtle">
<div class="card-body text-center px-4 py-5 px-md-5">
<p class="fw-bold text-primary card-text mb-2">Join or donate</p>
<h5 class="fw-bold card-title mb-3">Be a part of the open source community!</h5>
<a class="btn btn-primary btn-sm" href="/membership.html">Learn more</a>
</div>
{% else %}
<a
class="btn btn-primary shadow w-100 text-center"
href="{{ link.url }}"
>{{ link.name }}</a
>
{% endif %} {% endfor %}
</div>
</div>
<div class="col mb-4">
<div class="card bg-secondary-subtle">
<div class="card-body text-center px-4 py-5 px-md-5">
<p class="fw-bold text-secondary card-text mb-2">Private Hosting</p>
<h5 class="fw-bold card-title mb-3">Interested in Hosting Services?</h5>
<a class="btn btn-secondary btn-sm" href="mailto:support@private.coffee">Get in touch</a>
</div>
</div>
{% endif %} {% endfor %}
</div>
</div>
</div>
</section>
<section class="bg-primary-gradient">
<div class="container py-5">
<div class="row align-items-center">
<div class="col">
<p class="text-end special-header fancy-text-primary mb-0">Privacy</p>
</div>
<div class="col">
<p class="text-start mb-1" style="font-size: 1.6rem">
from the <strong>community</strong>
</p>
<p class="text-start mb-0" style="font-size: 1.6rem">
for the <strong>community</strong>
</p>
</div>
</div>
<div class="mx-auto" style="max-width: 900px">
<div class="row row-cols-1 row-cols-md-2 d-flex justify-content-center">
<div class="col mb-4">
<div class="card bg-primary-subtle">
<div class="card-body text-center px-4 py-5 px-md-5">
<p class="fw-bold text-primary card-text mb-2">Join or donate</p>
<h5 class="fw-bold card-title mb-3">
Be a part of the open source community!
</h5>
<a class="btn btn-primary btn-sm" href="/membership.html"
>Learn more</a
>
</div>
</div>
</div>
<div class="col mb-4">
<div class="card bg-secondary-subtle">
<div class="card-body text-center px-4 py-5 px-md-5">
<p class="fw-bold text-secondary card-text mb-2">
Private Hosting
</p>
<h5 class="fw-bold card-title mb-3">
Interested in Hosting Services?
</h5>
<a
class="btn btn-secondary btn-sm"
href="mailto:support@private.coffee"
>Get in touch</a
>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="py-5">
<div class="container">
<div class="row mb-5">
<div class="col-md-8 col-xl-6 text-center mx-auto">
<p class="fw-bold mb-2 text-primary">Contacts</p>
<h2 class="fw-bold">How you can reach us</h2>
</div>
</div>
</section>
<section class="py-5">
<div class="container">
<div class="row mb-5">
<div class="col-md-8 col-xl-6 text-center mx-auto">
<p class="fw-bold mb-2 text-primary">Contacts</p>
<h2 class="fw-bold">How you can reach us</h2>
</div>
<div class="row d-flex justify-content-center">
<div class="col-md-4 col-xl-4 d-flex justify-content-center justify-content-xl-start">
<div class="d-flex flex-wrap flex-md-column justify-content-md-start align-items-md-start h-100">
<div class="d-flex align-items-center p-3">
<div class="bs-icon-md bs-icon-circle bs-icon-primary shadow d-flex flex-shrink-0 justify-content-center align-items-center d-inline-block bs-icon bs-icon-md">
{{ "envelope" | icon | safe }}
</div>
<div class="px-2">
<h6 class="fw-bold mb-0">Email</h6>
<p class="text-muted mb-0">support@private.coffee</p>
</div>
</div>
<div class="row d-flex justify-content-center">
<div
class="col-md-4 col-xl-4 d-flex justify-content-center justify-content-xl-start"
>
<div
class="d-flex flex-wrap flex-md-column justify-content-md-start align-items-md-start h-100"
>
<div class="d-flex align-items-center p-3">
<div
class="bs-icon-md bs-icon-circle bs-icon-primary shadow d-flex flex-shrink-0 justify-content-center align-items-center d-inline-block bs-icon bs-icon-md"
>
{{ "envelope" | icon | safe }}
</div>
</div>
</div>
</div>
<div class="row d-flex justify-content-center">
<div class="col-md-4 col-xl-4 d-flex justify-content-center justify-content-xl-start">
<div class="d-flex flex-wrap flex-md-column justify-content-md-start align-items-md-start h-100">
<div class="d-flex align-items-center p-3">
<div class="bs-icon-md bs-icon-circle bs-icon-primary shadow d-flex flex-shrink-0 justify-content-center align-items-center d-inline-block bs-icon bs-icon-md">
{{ "matrix-logo" | icon | safe }}
</div>
<div class="px-2">
<h6 class="fw-bold mb-0">Matrix</h6>
<p class="text-muted mb-0">
<a href="https://matrix.pcof.fi/#/#private.coffee:private.coffee">#private.coffee:private.coffee</a>
</p>
</div>
<div class="px-2">
<h6 class="fw-bold mb-0">Email</h6>
<p class="text-muted mb-0">support@private.coffee</p>
</div>
</div>
</div>
</div>
</div>
</section>
{% endblock content %}
<div class="row d-flex justify-content-center">
<div
class="col-md-4 col-xl-4 d-flex justify-content-center justify-content-xl-start"
>
<div
class="d-flex flex-wrap flex-md-column justify-content-md-start align-items-md-start h-100"
>
<div class="d-flex align-items-center p-3">
<div
class="bs-icon-md bs-icon-circle bs-icon-primary shadow d-flex flex-shrink-0 justify-content-center align-items-center d-inline-block bs-icon bs-icon-md"
>
{{ "matrix-logo" | icon | safe }}
</div>
<div class="px-2">
<h6 class="fw-bold mb-0">Matrix</h6>
<p class="text-muted mb-0">
<a
href="https://matrix.pcof.fi/#/#private.coffee:private.coffee"
>#private.coffee:private.coffee</a
>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{% endblock %}

View file

@ -1,43 +1,41 @@
{% extends "base.html" %}
{% block title %}Legal Notice{% endblock title %}
{% extends "base.html" %}
{% block title %}Legal Notice{% endblock %}
{% block content %}
<section>
<div class="container py-5">
<div class="row align-items-center">
<div class="col">
<p class="text-end special-header fancy-text-primary mb-0">Legal Notice</p>
</div>
<div class="col">
<p class="text-start mb-1" style="font-size: 1.6rem">
from the <strong>community</strong>
</p>
<p class="text-start mb-0" style="font-size: 1.6rem">
for the <strong>community</strong>
</p>
</div>
<section>
<div class="container py-5">
<div class="row align-items-center">
<div class="col">
<p class="text-end special-header fancy-text-primary mb-0">
Legal Notice
</p>
</div>
<div class="container">
<p>This is a legal notice for the website private.coffee</p>
<p>The website private.coffee is run by the following entity:</p>
<address>
Private.coffee &dash; Verein zur Förderung von Privatsphäre und
digitaler Souver&auml;nit&auml;t
<br />
c/o Klaus-Uwe Mitterer
<br />
Gartengasse 22/7/3
<br />
8010 Graz
<br />
Austria
<br />
</address>
<p>Central Register of Associations (ZVR) Number: 1758485319</p>
<p>
Email:
<a href="mailto:support@private.coffee">support@private.coffee</a>
<div class="col">
<p class="text-start mb-1" style="font-size: 1.6rem">
from the <strong>community</strong>
</p>
<p class="text-start mb-0" style="font-size: 1.6rem">
for the <strong>community</strong>
</p>
</div>
</div>
</section>
{% endblock content %}
<div class="container">
<p>This is a legal notice for the website private.coffee</p>
<p>The website private.coffee is run by the following entity:</p>
<address>
Private.coffee &dash; Verein zur Förderung von Privatsphäre und
digitaler Souver&auml;nit&auml;t<br />
c/o Klaus-Uwe Mitterer<br />
Gartengasse 22/7/3<br />
8010 Graz<br />
Austria<br />
</address>
<p>Central Register of Associations (ZVR) Number: 1758485319</p>
<p>
Email:
<a href="mailto:support@private.coffee">support@private.coffee</a>
</p>
</div>
</div>
</section>
{% endblock %}

View file

@ -1,11 +0,0 @@
{% extends "membership.html" %}
{% block serviceinfo %}
<div class="alert alert-info">
<p>
<strong>Welcome to Private.coffee!</strong> Rallly Pro is free for all logged-in users. Upon first login, it may take up to five minutes for your account to be upgraded. If you have any issues, please contact us at <a href="mailto:support@private.coffee">support@private.coffee</a>
</p>
<p>
If you find our services useful, please consider supporting us through a donation or becoming a supporting member. This will help us keep our free services running and improve our offerings. See below for more information.
</p>
</div>
{% endblock serviceinfo %}

View file

@ -1,115 +1,123 @@
{% extends "base.html" %}
{% block title %}
Membership / Donations
{% endblock title %}
{% extends "base.html" %} {% block title %}Membership / Donations{% endblock %}
{% block content %}
<div class="container my-5">
<div class="text-center mb-5">
<h1 class="special-header fancy-text-primary">Membership/Donations</h1>
<p class="lead">
Private.coffee is a non-profit organization dedicated to supporting
privacy and digital sovereignty. We fund our activities and running
infrastructure costs through membership fees. Donations allow us to expand
our services and reach more people.
</p>
</div>
{% block serviceinfo %}{% endblock serviceinfo %}
<div class="row">
<div class="col-md-4 mb-4">
<div class="card shadow-sm">
<div class="card-body">
<h5 class="card-title">Membership</h5>
<p class="card-text">
Membership fees help cover the costs of our day-to-day activities,
server infrastructure, domain names, and other running operating
expenses. This allows us to provide services to our members and the
public.
</p>
<p class="card-text">Membership starts at € 5 / month!</p>
<a href="https://pcof.fi/join" class="btn btn-primary">Join us now!</a>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card shadow-sm">
<div class="card-body">
<h5 class="card-title">Bank Donations</h5>
<p class="card-text">
Even if you're not a member, you can still support us by making a
direct donation to our bank account. Your donation will be used to
fund our activities and expand our services.
</p>
<p class="card-text">
<b>Account holder:</b> Private.coffee
</p>
<p class="card-text">
<b>IBAN:</b> AT35 2081 5000 4554 0812
</p>
<p class="card-text">
<b>BIC:</b> STSPAT2GXXX
</p>
</div>
</div>
</div>
<div class="col-md-4 mb-4">
<div class="card shadow-sm">
<div class="card-body">
<h5 class="card-title">Crypto Donations</h5>
<p class="card-text">
While our expenses are generally in fiat currency, we accept
donations in cryptocurrencies, too.
</p>
<p class="card-text">
<b>Bitcoin (BTC):</b>
<code>bc1qnu7r5sed4afacfpgx5za8hsyhaj4rs45dpm26k</code>
</p>
<p class="card-text">
<b>Monero (XMR):</b>
<code>487Ny4iBk2pKGJwjyYrumFD8xFmrS6jCSXNA8e5EvVJ49GyS54CRDVz514MBnXgNT1EioKYiagHs33sLzUAFj8i3Pwg3AMS</code>
</p>
<p class="card-text">
<b>Ethereum (ETH):</b> <code>Coming soon&trade;</code>
</p>
<p class="card-text">
If your client supports OpenAlias, you can just send your donation
to <code>private.coffee</code>.
</p>
</div>
<div class="container my-5">
<div class="text-center mb-5">
<h1 class="special-header fancy-text-primary">Membership/Donations</h1>
<p class="lead">
Private.coffee is a non-profit organization dedicated to supporting
privacy and digital sovereignty. We fund our activities and running
infrastructure costs through membership fees. Donations allow us to expand
our services and reach more people.
</p>
</div>
<div class="row">
<div class="col-md-4 mb-4">
<div class="card shadow-sm">
<div class="card-body">
<h5 class="card-title">Membership</h5>
<p class="card-text">
Membership fees help cover the costs of our day-to-day activities,
server infrastructure, domain names, and other running operating
expenses. This allows us to provide services to our members and the
public.
</p>
<p class="card-text">
Membership starts at € 5 / month!
</p>
<a href="https://pcof.fi/join" class="btn btn-primary">
Join us now!
</a>
</div>
</div>
</div>
<div class="card shadow-sm mt-4">
<div class="card-body">
<h5 class="card-title">Transparency Report for {{ finances_period }}</h5>
<p class="card-text">
We believe in transparency and accountability. Below is a summary of our
income and expenses for the last month, so you can see how your
donations are being used.
</p>
<div class="table-responsive">{{ finances|safe }}</div>
<p class="card-text">
Want to know how we got here? Check out all of our
<a href="/transparency.html">transparency reports</a> for more
information.
</p>
<div class="col-md-4 mb-4">
<div class="card shadow-sm">
<div class="card-body">
<h5 class="card-title">Bank Donations</h5>
<p class="card-text">
Even if you're not a member, you can still support us by making a
direct donation to our bank account. Your donation will be used to
fund our activities and expand our services.
</p>
<p class="card-text"><b>Account holder:</b> Private.coffee</p>
<p class="card-text"><b>IBAN:</b> AT35 2081 5000 4554 0812</p>
<p class="card-text"><b>BIC:</b> STSPAT2GXXX</p>
</div>
</div>
</div>
<div class="card shadow-sm mt-4">
<div class="card-body">
<h5>Central Register of Associations (ZVR) Number: 1758485319</h5>
<p>
Our statutes can be found in our Git
<a href="https://git.private.coffee/PrivateCoffee/statuten">in German (legally binding)</a>
and
<a href="https://git.private.coffee/PrivateCoffee/Statuten/src/branch/english">in English</a>.
</p>
<p class="contact-info" id="contact-info">
Interested in joining the association? Reach out via
<a href="mailto:support@private.coffee">email</a> or
<a href="https://matrix.pcof.fi/#/#private.coffee:private.coffee">Matrix</a>
for more information.
</p>
<div class="col-md-4 mb-4">
<div class="card shadow-sm">
<div class="card-body">
<h5 class="card-title">Crypto Donations</h5>
<p class="card-text">
While our expenses are generally in fiat currency, we accept
donations in cryptocurrencies, too.
</p>
<p class="card-text">
<b>Bitcoin (BTC):</b>
<code>bc1qnu7r5sed4afacfpgx5za8hsyhaj4rs45dpm26k</code>
</p>
<p class="card-text">
<b>Monero (XMR):</b>
<code
>487Ny4iBk2pKGJwjyYrumFD8xFmrS6jCSXNA8e5EvVJ49GyS54CRDVz514MBnXgNT1EioKYiagHs33sLzUAFj8i3Pwg3AMS</code
>
</p>
<p class="card-text">
<b>Ethereum (ETH):</b> <code>Coming soon&trade;</code>
</p>
<p class="card-text">
If your client supports OpenAlias, you can just send your donation
to <code>private.coffee</code>.
</p>
</div>
</div>
</div>
</div>
{% endblock content %}
<div class="card shadow-sm mt-4">
<div class="card-body">
<h5 class="card-title">Transparency Report for {{ finances_period }}</h5>
<p class="card-text">
We believe in transparency and accountability. Below is a summary of our
income and expenses for the last month, so you can see how your
donations are being used.
</p>
<div class="table-responsive">{{ finances|safe }}</div>
<p class="card-text">
Want to know how we got here? Check out all of our
<a href="/transparency.html">transparency reports</a> for more
information.
</p>
</div>
</div>
<div class="card shadow-sm mt-4">
<div class="card-body">
<h5>Central Register of Associations (ZVR) Number: 1758485319</h5>
<p>
Our statutes can be found in our Git
<a href="https://git.private.coffee/PrivateCoffee/statuten"
>in German (legally binding)</a
>
and
<a
href="https://git.private.coffee/PrivateCoffee/Statuten/src/branch/english"
>in English</a
>.
</p>
<p class="contact-info" id="contact-info">
Interested in joining the association? Reach out via
<a href="mailto:support@private.coffee">email</a> or
<a href="https://matrix.pcof.fi/#/#private.coffee:private.coffee"
>Matrix</a
>
for more information.
</p>
</div>
</div>
</div>
{% endblock %}

View file

@ -1,188 +1,187 @@
{% extends "base.html" %}
{% block title %}Privacy Policy{% endblock %}
{% extends "base.html" %} {% block title %}Privacy Policy{% endblock %}
{% block content %}
<div class="container">
<div class="text-center mb-5">
<h1 class="special-header fancy-text-primary">Privacy Policy</h1>
<p class="lead">
This is the privacy policy for the website private.coffee. It describes
how we collect and use your personal data.
</p>
</div>
<div class="section">
<p>
This privacy policy is effective as of 2024-04-26. It may be updated from
time to time, so please check back regularly.
</p>
<p>
If you have any questions about this privacy policy, please contact us at
<a href="mailto:support@private.coffee">support@private.coffee</a>.
</p>
</div>
<div class="section">
<h2>Who are we?</h2>
<p>The data controller for private.coffee is:</p>
<address>
Private.coffee &dash; Verein zur Förderung von Privatsphäre und digitaler
Souver&auml;nit&auml;t
<br />
c/o Klaus-Uwe Mitterer
<br />
Gartengasse 22/7/3
<br />
8010 Graz
<br />
Austria
<br />
</address>
<p>Central Register of Associations (ZVR) Number: 1758485319</p>
<p>
Email:
<a href="mailto:support@private.coffee">support@private.coffee</a>
</p>
</div>
<div class="section">
<h2>What data do we collect?</h2>
<p>We collect the following data from you:</p>
<ul>
<li>
Your IP address, which is automatically collected by our web server for
some of our services.
</li>
<li>
Any data you provide to us, such as your email address, when you create
an account on one of our services.
</li>
<li>
Usage data that is collected automatically by our services, such as the
time you last logged in, or the number of times you have logged in, as
well as any content you create using our services.
</li>
<li>
Any information, including personal data and payment information, that
you provide to us when you make a donation or join our association.
</li>
</ul>
</div>
<div class="section">
<h2>How do we use your data?</h2>
<p>
We use your data to provide you with the services you requested. This
includes:
</p>
<ul>
<li>Communication between our web server and your browser</li>
<li>Storing your preferences or your created content</li>
<li>Detection of abuse or resource exhaustion on our servers</li>
<li>Providing support to you</li>
<li>Processing donations and memberships</li>
</ul>
<p>All of those are what is called "legitimate interests" in legal speak.</p>
<p>
We do not use your data for any other purposes, including marketing,
advertising, or tracking, we do not share your data with third parties
(unless required by law), we do not use your data to create profiles or
make automated decisions, and we do not cross-reference your data between
different services or any other sources.
</p>
</div>
<div class="section">
<h2>Where do we store your data?</h2>
<p>
We store your data on our web servers, which are located in Austria. We
also use servers in Germany, but those are not public-facing and do not
store or process any personal data.
</p>
</div>
<div class="section">
<h2>How long do we store your data?</h2>
<ul>
<li>
IP addresses collected by our web server are stored for up to 48 hours.
After that, the log files that contain them are deleted automatically.
</li>
<li>
Data associated with an account you have on one of our services is
stored for as long as you have an account on that service. If you delete
your account, your data will be deleted automatically. The service will
have a dedicated privacy policy, please consult that if you have any
specific questions.
</li>
<li>
If you send a support request to us, we will store your email address
and any other data you provide to us for up to 30 days in our support
system. After that, the data will be deleted automatically.
</li>
<li>
Data associated with a donation is stored for as long as required by
law, which is currently 7 years in Austria. After that, the data will be
deleted.
</li>
<li>
Data associated with a membership is stored for as long as you are a
member of our association. If you leave the association, your data will
be deleted automatically. This does not apply to data that is required
by law to be stored for a longer period of time, such as financial
records, which are stored for 7 years regardless of your membership
status.
</li>
</ul>
</div>
<div class="section">
<h2>What are your data protection rights?</h2>
<p>You have the following data protection rights:</p>
<ul>
<li>You have the right to request access to your personal data.</li>
<li>You have the right to request correction of your personal data.</li>
<li>You have the right to request erasure of your personal data.</li>
<li>
You have the right to request restriction of processing of your personal
data.
</li>
<li>You have the right to object to processing of your personal data.</li>
<li>You have the right to request transfer of your personal data.</li>
</ul>
<p>If you make a request, we have one month to respond to you.</p>
<p>
If you would like to exercise any of these rights, please contact us at
<a href="mailto:support@private.coffee">support@private.coffee</a>.
</p>
<p>
Your privacy is important to us - after all, that's why we're all here -
and we will do our best to respond to your request as soon as possible.
Please note that we may need to verify your identity before we can respond
to your request - we will not share your data with anyone else.
</p>
<p>
If you are not satisfied with our response, or believe that we are
processing your data in a way that is not compliant with the law, you have
the right to lodge a complaint with the supervisory authority in your
country. In Austria, this is the Austrian Data Protection Authority (<a href="https://www.dsb.gv.at/">https://www.dsb.gv.at/</a>). However, we like to think of ourselves as nice people and will try to
help you out directly, and are always open to suggestions for improvement,
so please do get in touch with us if you have any questions or concerns.
</p>
</div>
<div class="section">
<h2>What are cookies?</h2>
<p>
Cookies are small text files that are placed on your computer or mobile
device when you visit a website. They are widely used to make websites
work, or work more efficiently, as well as to provide information to the
owners of the site. Cookies are stored on your device, and can be accessed
by the website that created them. They are not harmful to your device, and
do not directly contain any personal data, but are used by our services to
identify you between multiple visits.
</p>
<p>
Cookies are used on some of our services to provide you with a better
experience. For example, we use cookies to remember your preferences and
settings - for example, to allow you to login to our services - and to
provide you with a better experience when browsing our services. We do not
use cookies to track your activity, either on our services or on other
websites. In legal/technical terms, we exclusively use "strictly
necessary" first-party cookies, which is also why you don't see any cookie
banners on our website.
</p>
</div>
<div class="container">
<div class="text-center mb-5">
<h1 class="special-header fancy-text-primary">Privacy Policy</h1>
<p class="lead">
This is the privacy policy for the website private.coffee. It describes
how we collect and use your personal data.
</p>
</div>
<div class="section">
<p>
This privacy policy is effective as of 2024-04-26. It may be updated from
time to time, so please check back regularly.
</p>
<p>
If you have any questions about this privacy policy, please contact us at
<a href="mailto:support@private.coffee">support@private.coffee</a>.
</p>
</div>
<div class="section">
<h2>Who are we?</h2>
<p>The data controller for private.coffee is:</p>
<address>
Private.coffee &dash; Verein zur Förderung von Privatsphäre und digitaler
Souver&auml;nit&auml;t<br />
c/o Klaus-Uwe Mitterer<br />
Gartengasse 22/7/3<br />
8010 Graz<br />
Austria<br />
</address>
<p>Central Register of Associations (ZVR) Number: 1758485319</p>
<p>
Email:
<a href="mailto:support@private.coffee">support@private.coffee</a>
</p>
</div>
<div class="section">
<h2>What data do we collect?</h2>
<p>We collect the following data from you:</p>
<ul>
<li>
Your IP address, which is automatically collected by our web server for
some of our services.
</li>
<li>
Any data you provide to us, such as your email address, when you create
an account on one of our services.
</li>
<li>
Usage data that is collected automatically by our services, such as the
time you last logged in, or the number of times you have logged in, as
well as any content you create using our services.
</li>
<li>
Any information, including personal data and payment information, that
you provide to us when you make a donation or join our association.
</li>
</ul>
</div>
<div class="section">
<h2>How do we use your data?</h2>
<p>
We use your data to provide you with the services you requested. This
includes:
</p>
<ul>
<li>Communication between our web server and your browser</li>
<li>Storing your preferences or your created content</li>
<li>Detection of abuse or resource exhaustion on our servers</li>
<li>Providing support to you</li>
<li>Processing donations and memberships</li>
</ul>
<p>
All of those are what is called "legitimate interests" in legal speak.
</p>
<p>
We do not use your data for any other purposes, including marketing,
advertising, or tracking, we do not share your data with third parties
(unless required by law), we do not use your data to create profiles or
make automated decisions, and we do not cross-reference your data between
different services or any other sources.
</p>
</div>
<div class="section">
<h2>Where do we store your data?</h2>
<p>
We store your data on our web servers, which are located in Austria. We
also use servers in Germany, but those are not public-facing and do not
store or process any personal data.
</p>
</div>
<div class="section">
<h2>How long do we store your data?</h2>
<ul>
<li>
IP addresses collected by our web server are stored for up to 48 hours.
After that, the log files that contain them are deleted automatically.
</li>
<li>
Data associated with an account you have on one of our services is
stored for as long as you have an account on that service. If you delete
your account, your data will be deleted automatically. The service will
have a dedicated privacy policy, please consult that if you have any
specific questions.
</li>
<li>
If you send a support request to us, we will store your email address
and any other data you provide to us for up to 30 days in our support
system. After that, the data will be deleted automatically.
</li>
<li>
Data associated with a donation is stored for as long as required by
law, which is currently 7 years in Austria. After that, the data will be
deleted.
</li>
<li>
Data associated with a membership is stored for as long as you are a
member of our association. If you leave the association, your data will
be deleted automatically. This does not apply to data that is required
by law to be stored for a longer period of time, such as financial
records, which are stored for 7 years regardless of your membership
status.
</li>
</ul>
</div>
<div class="section">
<h2>What are your data protection rights?</h2>
<p>You have the following data protection rights:</p>
<ul>
<li>You have the right to request access to your personal data.</li>
<li>You have the right to request correction of your personal data.</li>
<li>You have the right to request erasure of your personal data.</li>
<li>
You have the right to request restriction of processing of your personal
data.
</li>
<li>You have the right to object to processing of your personal data.</li>
<li>You have the right to request transfer of your personal data.</li>
</ul>
<p>If you make a request, we have one month to respond to you.</p>
<p>
If you would like to exercise any of these rights, please contact us at
<a href="mailto:support@private.coffee">support@private.coffee</a>.
</p>
<p>
Your privacy is important to us - after all, that's why we're all here -
and we will do our best to respond to your request as soon as possible.
Please note that we may need to verify your identity before we can respond
to your request - we will not share your data with anyone else.
</p>
<p>
If you are not satisfied with our response, or believe that we are
processing your data in a way that is not compliant with the law, you have
the right to lodge a complaint with the supervisory authority in your
country. In Austria, this is the Austrian Data Protection Authority (<a
href="https://www.dsb.gv.at/"
>https://www.dsb.gv.at/</a
>). However, we like to think of ourselves as nice people and will try to
help you out directly, and are always open to suggestions for improvement,
so please do get in touch with us if you have any questions or concerns.
</p>
</div>
<div class="section">
<h2>What are cookies?</h2>
<p>
Cookies are small text files that are placed on your computer or mobile
device when you visit a website. They are widely used to make websites
work, or work more efficiently, as well as to provide information to the
owners of the site. Cookies are stored on your device, and can be accessed
by the website that created them. They are not harmful to your device, and
do not directly contain any personal data, but are used by our services to
identify you between multiple visits.
</p>
<p>
Cookies are used on some of our services to provide you with a better
experience. For example, we use cookies to remember your preferences and
settings - for example, to allow you to login to our services - and to
provide you with a better experience when browsing our services. We do not
use cookies to track your activity, either on our services or on other
websites. In legal/technical terms, we exclusively use "strictly
necessary" first-party cookies, which is also why you don't see any cookie
banners on our website.
</p>
</div>
</div>
{% endblock %}

View file

@ -1,5 +1,6 @@
<div class="alert alert-warning text-center" role="alert">
This is a development version of the Private.coffee website. For the live
version, please visit
<a href="https://private.coffee" class="alert-link">https://private.coffee</a>.
<a href="https://private.coffee" class="alert-link">https://private.coffee</a
>.
</div>

View file

@ -1,60 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Private.coffee</title>
</head>
<body>
<div style="font-family: Arial, sans-serif;
background-color: #f2f2f2;
color: #333;
line-height: 1.6;
padding: 20px;
max-width: 600px;
margin: auto">
<h2 style="color: #333;">Welcome to Private.coffee</h2>
<p>Thanks for using our Element instance! Now, why don't you join our rooms?</p>
<ul style="list-style: none; padding: 0;">
<li style="padding: 8px 0;">
<a style="color: #1a5dab;
text-decoration: none"
href="https://element.private.coffee/#/#coffeespace:private.coffee">#coffeespace:private.coffee</a> - The Private.coffee Space, containing all rooms
</li>
<li style="padding: 8px 0;">
<a style="color: #1a5dab;
text-decoration: none"
href="https://element.private.coffee/#/#private.coffee:private.coffee">#private.coffee:private.coffee</a> - General support for our services
</li>
<li style="padding: 8px 0;">
<a style="color: #1a5dab;
text-decoration: none"
href="https://element.private.coffee/#/#matrix:private.coffee">#matrix:private.coffee</a> - Support for our Matrix server
</li>
<li style="padding: 8px 0;">
<a style="color: #1a5dab;
text-decoration: none"
href="https://element.private.coffee/#/#coffeebreak:private.coffee">#coffeebreak:private.coffee</a> - ☕ Coffee Break ☕ - our off-topic room
</li>
</ul>
<hr>
<p>Private.coffee operates a collection of services that respect your privacy, here are some others:</p>
<ul style="list-style: none; padding: 0;">
{% for service in services.services %}
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Private.coffee</title>
</head>
<body>
<div style="font-family: Arial, sans-serif; background-color: #f2f2f2; color: #333; line-height: 1.6; padding: 20px; max-width: 600px; margin: auto;">
<h2 style="color: #333;">Welcome to Private.coffee</h2>
<p>Thanks for using our Element instance! Now, why don't you join our rooms?</p>
<ul style="list-style: none; padding: 0;">
<li style="padding: 8px 0;"><a style="color: #1a5dab; text-decoration: none;" href="https://element.private.coffee/#/#coffeespace:private.coffee">#coffeespace:private.coffee</a> - The Private.coffee Space, containing all rooms</li>
<li style="padding: 8px 0;"><a style="color: #1a5dab; text-decoration: none;" href="https://element.private.coffee/#/#private.coffee:private.coffee">#private.coffee:private.coffee</a> - General support for our services</li>
<li style="padding: 8px 0;"><a style="color: #1a5dab; text-decoration: none;" href="https://element.private.coffee/#/#matrix:private.coffee">#matrix:private.coffee</a> - Support for our Matrix server</li>
<li style="padding: 8px 0;"><a style="color: #1a5dab; text-decoration: none;" href="https://element.private.coffee/#/#coffeebreak:private.coffee">#coffeebreak:private.coffee</a> - ☕ Coffee Break ☕ - our off-topic room</li>
</ul>
<hr>
<p>Private.coffee operates a collection of services that respect your privacy, here are some others:</p>
<ul style="list-style: none; padding: 0;">
{% for service in services.services %}
{% if not service.exclude_from_simple %}
<li style="padding: 8px 0;">
<a style="color: #1a5dab;
text-decoration: none"
href="{{ service.url }}">{{ service.name }}</a> - {{ service.short_description }}
</li>
<li style="padding: 8px 0;"><a style="color: #1a5dab; text-decoration: none;" href="{{ service.url }}">{{ service.name }}</a> - {{ service.short_description }}</li>
{% endif %}
{% endfor %}
</ul>
<p>
For hosting inquiries for privacy-related, social, or wholesome projects, <a href="mailto:support@private.coffee"
style="color: #1a5dab;
text-decoration: none">get in touch</a>!
</p>
</div>
</body>
{% endfor %}
</ul>
<p>For hosting inquiries for privacy-related, social, or wholesome projects, <a href="mailto:support@private.coffee" style="color: #1a5dab; text-decoration: none;">get in touch</a>!</p>
</div>
</body>
</html>

View file

@ -1,160 +1,155 @@
{% extends "base.html" %}
{% block title %}Terms of Service{% endblock %}
{% block content %}
<div class="container">
<div class="text-center mb-5">
<h1 class="special-header fancy-text-primary">Terms of Service</h1>
<p class="lead">
These are the terms of service for the website private.coffee and all
services provided under this domain and its subdomains. Please read them
carefully.
</p>
</div>
<div class="section">
<h2>1. Who are we?</h2>
<p>The website private.coffee is run by:</p>
<address>
Private.coffee &dash; Verein zur Förderung von Privatsphäre und digitaler
Souver&auml;nit&auml;t
<br />
c/o Klaus-Uwe Mitterer
<br />
Gartengasse 22/7/3
<br />
8010 Graz
<br />
Austria
<br />
</address>
<p>Central Register of Associations (ZVR) Number: 1758485319</p>
<p>
Email:
<a href="mailto:support@private.coffee">support@private.coffee</a>
</p>
</div>
<div class="section">
<h2>2. What services do we provide?</h2>
<p>
The website private.coffee provides a collection of services that respect
your privacy. These services include:
</p>
<ul>
<li>Information about the Private.coffee association</li>
<li>
Proxy servers to several proprietary services (like YouTube, Twitter,
etc.)
</li>
<li>Matrix server</li>
<li>etc.</li>
</ul>
<p>
You can find more information about these services on the
<a href="/">main page</a>.
</p>
</div>
<div class="section">
<h2>3. What are your obligations?</h2>
<p>
a. We provide these services to you for free. In return, we ask you to
respect our terms of service. If you do not respect our terms of service, we
reserve the right to terminate your account and delete your data.
</p>
<p>
b. We hope that our community will be diverse, respectful and friendly. As
such, any form of harassment, bullying, or abuse will not be tolerated. If
you are found to be harassing, bullying, or abusing other users, spreading
hate, lies or misinformation, we will terminate your account and delete your
data. Note that we may and will report you to the appropriate authorities if
we find your actions to be illegal. If you find yourself on the receiving
end of harassment, bullying, or abuse, please report it to us as soon as
possible.
</p>
<p>
c. You are responsible for your own actions and any content you post on our
services.
</p>
<p>
d. You are responsible for keeping your passwords, devices, private keys,
etc., secure. If you lose access, we may not be able to recover your data.
If third parties gain access to your account, we will not be able to prevent
them from accessing your data or restore any data that was lost.
</p>
<p>
e. You are required to follow the laws governing our platform (especially
the laws of Austria and the European Union) as well as any laws or
regulations that apply to you personally. If you are found to be violating
the law, we will terminate your account and delete your data. If we are
required to do so by law, we will also report you to the authorities, or
cooperate with the authorities in any way necessary.
</p>
<p>
f. You are responsible for any damage you cause to our services or other
users. This includes, but is not limited to, denial of service attacks,
spamming, etc. If you are found to be causing damage to our services or
other users, we will terminate your account and delete your data. We may
also report you to the appropriate authorities and request compensation for
any damage you caused, including legal fees.
</p>
<p>
g. If you are a minor, you may be legally required to have a parent's or
guardian's permission to use our services. Unless otherwise stated, our
services are not intended for minors.
</p>
<p>
h. In the end, this is our platform, and you are our guest. We reserve the
right to terminate your account and delete your data at any time for any
reason. We will try to give you as much notice as possible before doing so,
but we are not required to do so.
</p>
</div>
<div class="section">
<h2>4. What are our obligations?</h2>
<p>
a. We will do our best to provide you with a stable and reliable service.
However, we cannot guarantee that our services will be available at all
times. We may need to take our services offline for maintenance or other
reasons. In case of scheduled outages, will try to give you as much notice
as possible.
</p>
<p>
b. We will do our best to keep your data secure. However, we cannot
guarantee that your data will be secure at all times. We will do our best to
prevent unauthorized access to your data, but we cannot guarantee that we
will be able to do so. If we become aware of any unauthorized access to your
data, we will notify you as soon as possible and take all reasonable steps
to prevent further unauthorized access. However, we are not responsible for
any damage that may result from unauthorized access to your data.
</p>
<p>
c. We will do our best to prevent data loss. However, we cannot guarantee
that your data will not be lost at any time. We will do our best to prevent
data loss, but we cannot guarantee that we will be able to do so. If we
become aware of any data loss, we will take all reasonable steps to restore
your data. If we are unable to restore your data, we are not responsible for
any damage that may result from the loss of your data.
</p>
<p>
d. We will do our best to keep our services available free of charge. If at
any time we decide to cease our operations, or start charging for our
services, we will give you as much notice as possible. We will also try to
find a suitable replacement for our services and, where possible, help you
migrate your data to the new service.
</p>
<p>
e. We commit to providing you with a service that respects your privacy. We
will not sell your data to third parties, and we will not use your data for
any purpose other than providing you with our services. We will not share
your data with third parties unless we are required to do so by law.
</p>
<p>
f. We commit to keeping our community diverse, respectful and friendly. As
such, we will actively monitor and moderate our community. We will not
tolerate any form of harassment, bullying, or abuse. If we become aware of
any harassment, bullying, or abuse, we will take all reasonable steps to
prevent it from continuing. If we are unable to prevent it from continuing,
we will terminate the accounts of the users involved and delete their data.
We may also report the users involved to the appropriate authorities.
</p>
</div>
<div class="container">
<div class="text-center mb-5">
<h1 class="special-header fancy-text-primary">Terms of Service</h1>
<p class="lead">
These are the terms of service for the website private.coffee and all
services provided under this domain and its subdomains. Please read them
carefully.
</p>
</div>
{% endblock %}
<div class="section">
<h2>1. Who are we?</h2>
<p>The website private.coffee is run by:</p>
<address>
Private.coffee &dash; Verein zur Förderung von Privatsphäre und digitaler
Souver&auml;nit&auml;t<br />
c/o Klaus-Uwe Mitterer<br />
Gartengasse 22/7/3<br />
8010 Graz<br />
Austria<br />
</address>
<p>Central Register of Associations (ZVR) Number: 1758485319</p>
<p>
Email:
<a href="mailto:support@private.coffee">support@private.coffee</a>
</p>
</div>
<div class="section">
<h2>2. What services do we provide?</h2>
<p>
The website private.coffee provides a collection of services that respect
your privacy. These services include:
</p>
<ul>
<li>Information about the Private.coffee association</li>
<li>
Proxy servers to several proprietary services (like YouTube, Twitter,
etc.)
</li>
<li>Matrix server</li>
<li>etc.</li>
</ul>
<p>
You can find more information about these services on the
<a href="/">main page</a>.
</p>
</div>
<div class="section">
<h2>3. What are your obligations?</h2>
<p>
a. We provide these services to you for free. In return, we ask you to
respect our terms of service. If you do not respect our terms of service, we
reserve the right to terminate your account and delete your data.
</p>
<p>
b. We hope that our community will be diverse, respectful and friendly. As
such, any form of harassment, bullying, or abuse will not be tolerated. If
you are found to be harassing, bullying, or abusing other users, spreading
hate, lies or misinformation, we will terminate your account and delete your
data. Note that we may and will report you to the appropriate authorities if
we find your actions to be illegal. If you find yourself on the receiving
end of harassment, bullying, or abuse, please report it to us as soon as
possible.
</p>
<p>
c. You are responsible for your own actions and any content you post on our
services.
</p>
<p>
d. You are responsible for keeping your passwords, devices, private keys,
etc., secure. If you lose access, we may not be able to recover your data.
If third parties gain access to your account, we will not be able to prevent
them from accessing your data or restore any data that was lost.
</p>
<p>
e. You are required to follow the laws governing our platform (especially
the laws of Austria and the European Union) as well as any laws or
regulations that apply to you personally. If you are found to be violating
the law, we will terminate your account and delete your data. If we are
required to do so by law, we will also report you to the authorities, or
cooperate with the authorities in any way necessary.
</p>
<p>
f. You are responsible for any damage you cause to our services or other
users. This includes, but is not limited to, denial of service attacks,
spamming, etc. If you are found to be causing damage to our services or
other users, we will terminate your account and delete your data. We may
also report you to the appropriate authorities and request compensation for
any damage you caused, including legal fees.
</p>
<p>
g. If you are a minor, you may be legally required to have a parent's or
guardian's permission to use our services. Unless otherwise stated, our
services are not intended for minors.
</p>
<p>
h. In the end, this is our platform, and you are our guest. We reserve the
right to terminate your account and delete your data at any time for any
reason. We will try to give you as much notice as possible before doing so,
but we are not required to do so.
</p>
</div>
<div class="section">
<h2>4. What are our obligations?</h2>
<p>
a. We will do our best to provide you with a stable and reliable service.
However, we cannot guarantee that our services will be available at all
times. We may need to take our services offline for maintenance or other
reasons. In case of scheduled outages, will try to give you as much notice
as possible.
</p>
<p>
b. We will do our best to keep your data secure. However, we cannot
guarantee that your data will be secure at all times. We will do our best to
prevent unauthorized access to your data, but we cannot guarantee that we
will be able to do so. If we become aware of any unauthorized access to your
data, we will notify you as soon as possible and take all reasonable steps
to prevent further unauthorized access. However, we are not responsible for
any damage that may result from unauthorized access to your data.
</p>
<p>
c. We will do our best to prevent data loss. However, we cannot guarantee
that your data will not be lost at any time. We will do our best to prevent
data loss, but we cannot guarantee that we will be able to do so. If we
become aware of any data loss, we will take all reasonable steps to restore
your data. If we are unable to restore your data, we are not responsible for
any damage that may result from the loss of your data.
</p>
<p>
d. We will do our best to keep our services available free of charge. If at
any time we decide to cease our operations, or start charging for our
services, we will give you as much notice as possible. We will also try to
find a suitable replacement for our services and, where possible, help you
migrate your data to the new service.
</p>
<p>
e. We commit to providing you with a service that respects your privacy. We
will not sell your data to third parties, and we will not use your data for
any purpose other than providing you with our services. We will not share
your data with third parties unless we are required to do so by law.
</p>
<p>
f. We commit to keeping our community diverse, respectful and friendly. As
such, we will actively monitor and moderate our community. We will not
tolerate any form of harassment, bullying, or abuse. If we become aware of
any harassment, bullying, or abuse, we will take all reasonable steps to
prevent it from continuing. If we are unable to prevent it from continuing,
we will terminate the accounts of the users involved and delete their data.
We may also report the users involved to the appropriate authorities.
</p>
</div>
</div>
{% endblock %}

View file

@ -1,24 +1,25 @@
{% extends "base.html" %}
{% block title %}Membership / Donations{% endblock %}
{% extends "base.html" %} {% block title %}Membership / Donations{% endblock %}
{% block content %}
<div class="container my-5">
<div class="text-center mb-5">
<h1 class="special-header fancy-text-primary">Transparency</h1>
<p class="lead">
Private.coffee is funded by its members and donations. We believe in
transparency and accountability. Below you can find financial reports for
each month since our inception.
</p>
</div>
{% for year, year_data in finances.items() %}
{% for month, month_data in year_data.items() %}
<div class="card shadow-sm mt-4">
<div class="card-body">
<h5 class="card-title">Transparency Report for {{ month|month_name }} {{ year }}</h5>
<div class="table-responsive">{{ month_data|safe }}</div>
</div>
</div>
{% endfor %}
{% endfor %}
<div class="container my-5">
<div class="text-center mb-5">
<h1 class="special-header fancy-text-primary">Transparency</h1>
<p class="lead">
Private.coffee is funded by its members and donations. We believe in
transparency and accountability. Below you can find financial reports for
each month since our inception.
</p>
</div>
{% for year, year_data in finances.items() %}
{% for month, month_data in year_data.items() %}
<div class="card shadow-sm mt-4">
<div class="card-body">
<h5 class="card-title">Transparency Report for {{ month }}/{{ year }}</h5>
<div class="table-responsive">{{ month_data|safe }}</div>
</div>
</div>
{% endfor %}
{% endfor %}
</div>
{% endblock %}