add gitea

This commit is contained in:
Kathleen Fitzpatrick
2025-04-20 11:18:43 -04:00
parent 41e368e729
commit a0192ac29e
3 changed files with 422 additions and 5 deletions

View File

@@ -13,12 +13,12 @@
"state": {
"type": "markdown",
"state": {
"file": "blog/2025-04-17-path.md",
"file": "blog/2025-04-20-gitea.md",
"mode": "source",
"source": false
},
"icon": "lucide-file",
"title": "2025-04-17-path"
"title": "2025-04-20-gitea"
}
}
]
@@ -166,8 +166,9 @@
},
"active": "8023859adaab86ea",
"lastOpenFiles": [
"blog/2025-03-18-writing.md",
"blog/2025-04-17-path.md",
"blog/2025-04-20-gitea.md",
"blog/2025-03-18-writing.md",
"blog/2025-02-18-equality.md",
"blog/2024-03-01-reading.md",
"blog/2024-06-30-reading.md",
@@ -191,7 +192,6 @@
"blog/2023-12-31-solidarity.md",
"blog/2024-01-06-anxiety.md",
"blog/2024-02-20-franklin.md",
"blog/2024-11-29-rebuild.md",
"index.njk",
"blog.njk",
"blog/img/msu-paths.jpg",

View File

@@ -0,0 +1,18 @@
---
title: Gitea
date: 2025-04-20T10:56:45-04:00
permalink: /gitea/
tags:
- tinkering
---
This site is running in 11ty and is built locally and then the live site (which gets built into a folder called \_site) is pushed to my Reclaim Hosting account, where it's served up as kfitz.info. As an intermediate step, I have been pushing the code and content that builds the site to a GitHub repository, and then the \_site folder to another GitHub repository, kfitz-site, mostly for preservation/backup purposes; if something happens to the server or to my local repo, there's another version-controlled pile of code out there from which things can be rebuilt. (Technically, I pull kfitz-site from GitHub to Reclaim. Similarly, presentations.kfitz.info, which runs in revealjs, is built locally, pushed to GitHub, and then pulled to Reclaim.)
I've had in my head for a while, though, that GitHub is in and of itself a point of failure, partially because of its ownership structure. On top of which, I haven't been delighted knowing that everything I push there is part of the greater Copilot feeding frenzy.
I'd been thinking for a while about migrating my repos to [Codeberg](https://codeberg.org), a community-governed alternative that -- a key consideration at this hour of the world -- is not hosted in the US. But it turns out that the terms of service on Codeberg highly discourage private repositories, and both kfitz.info and kfitz-site are private, even though the eventual published site is obviously very public and CC BY 4.0 licensed. I've kept those repositories private because they're not the product I'm trying to share -- the website is -- and I want a little freedom to make mistakes without everything being quite that out there. I totally get why Codeberg's TOS is structured the way it is; they're really focused on building open-source communities around FLOSS development, which is a huge part of why I wanted to support them. It's just not the work I'm doing.
So I spent a chunk of yesterday exploring the possibility of self-hosting [GitLab](https://about.gitlab.com), but *holy cats* is it resource-intensive. The instance I spun up on a Digital Ocean droplet would have cost me $32/month to keep in operation, and even so it was pegging 100% memory usage, with just one user. So... no, not unless I were really hosting the service for a bunch of friends who wanted to kick in a little.
This morning, though, I spun up a [Gitea](https://about.gitea.com) instance on a much smaller Digital Ocean droplet, which will run $14/month. It's super zippy and very lightweight, and has allowed me to migrate my repositories from GitHub quite seamlessly. And there's lots of room to grow, resource-wise, so if those friends decide they want to test things out I can invite them to join me.
The next thing I want to investigate in whether I can run that Gitea instance on a shared server, using one droplet to host multiple applications and sites...