September 4, 2024

Create a self-deploying” website (no server to manage) with Codeberg Pages

You can create a website without coding, using freely distributed software only.

I tell you how to do it.

  1. First create an account with https://codeberg.org1.

  2. Once you have created an account, go to https://codeberg.org/your_username/

  3. Then, in the top right menu, click on +, and then select New Repository.

You should be a new webpage.

  1. On this page, write pages as the name of the repository, write a few words as the description, and pick a license (if you don’t know pick AGPL v3 or later).

  2. Then scroll down and click on the blue button Create Repository.

  3. Now, in this newly created repository, click on the button Add file, then in the drop-down menu select New file.

You should be on a page with a frame in which you can type text.

  1. Type the name of this newly created file, for example, index.html.

  2. Copy the following text in the file:

<!DOCTYPE html>
<p>This is a plaint text website</p>

<p>To build your own follow the instructions from <a href="https://yctct.com/codeberg-pages">https://yctct.com/codeberg-pages</a>.</p>

<p>CC BY-ND-SA 4.0</p> 

Scroll down.

  1. Then click on the blue button Commit Changes.

You are done, you’ve created a website.

You should be back on the homepage” of the repository.

To see what this website looks like: click on the button Visit Page, on the top left below the menu bar. The page you just created should be on the web.

There is a few more things you can do.

  • You can use your own domain name; the instructions are on the homepage of Codeberg Pages.
  • you can set up SSH between your local machine and the repository so you can edit the file locally using git.

Note: When you create a webpage with Codeberg Pages your site is hosted by Codeberg e.V. (eingetragener Verein), a German registered non-profit association.


  1. which is an instance of Forgejo, a freely distributed software↩︎


personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki website development

No affiliate links, no analytics, no tracking, no cookies. This work © 2016-2024 by yctct is licensed under CC BY-ND 4.0 .   about me   contact me   all entries & tags   FAQ   GPG public key

GPG fingerprint: 2E0F FB60 7FEF 11D0 FB45 4DDC E979 E52A 7036 7A88