{"id":"totaljs-developer-guides-install-ubuntu","url":"https://totaljs.es/docs/totaljs-developer/1-0/guides/install-ubuntu/","project":"totaljs-developer","version":"1-0","section":"guides","language":"en","title":"Install Total.js Developer on Ubuntu","summary":"Total.js Developer is **Ubuntu 26.04 LTS with a development environment for Total.js** that is installed together with it. There are two ways to install it:","markdown":"---\ntitle: Install Total.js Developer on Ubuntu\nproject: Total.js Developer\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/totaljs-developer/1-0/guides/install-ubuntu/\nupdated: 2026-12-02T06:22:33.735Z\n---\n\n# Install Total.js Developer on Ubuntu\n\n> Total.js Developer is **Ubuntu 26.04 LTS with a development environment for Total.js** that is installed together with it. There are two ways to install it:\n\n- **The Total.js Developer ISO (recommended).** Download `totaljs-ubuntu-amd64.iso` or `totaljs-ubuntu-arm64.iso` from the [Ubuntu release](https://github.com/totaljs-es/developer-distros/releases), start the machine from it, choose **Desktop** or **Server** in the graphical installer and answer its questions (disk, keyboard, time zone, account). The installer needs an internet connection: it downloads Ubuntu and Total.js Developer while it installs. Check the download with `sha256sum -c SHA256SUMS --ignore-missing`. The machine settings below apply to it too, but it needs **one** optical drive: the ISO. Sections 1 and 3 describe the other way.\n- **The official ISO of Ubuntu Server and a seed.** You start a machine with the **official ISO of Ubuntu Server** and one **seed**: a small image (a few hundred kilobytes) that tells the installer of Ubuntu to install Total.js Developer, with the desktop or only the command line. The installer asks you the usual questions.\n\nIt is made to run in a **virtual machine**, which is the easiest way to have it, and it also installs on a real computer in the same way.\n\n## What you need\n\n- An **amd64** machine (Intel or AMD) or an **arm64** one (ARM), virtual or a computer. On a Mac with Apple Silicon, use the arm64 ISO of Ubuntu in UTM, Parallels or VMware Fusion.\n- 4 GB of memory (8 GB or more is better with the desktop), 2 processor cores or more, and 30 GB of disk.\n- **An internet connection during the installation, in a virtual machine as well as on a computer.** The installer downloads Total.js Developer while it installs. A virtual machine gets it from its host with the usual network of the program (NAT or bridge); a computer needs a cable or Wi-Fi that the installer can use.\n\n## 1. Download\n\n1. **The official ISO of Ubuntu Server 26.04 LTS**, unmodified, from Ubuntu: [https://releases.ubuntu.com/26.04/](https://releases.ubuntu.com/26.04/) for amd64 (Intel and AMD) or [https://cdimage.ubuntu.com/ubuntu/releases/26.04/release/](https://cdimage.ubuntu.com/ubuntu/releases/26.04/release/) for arm64 (ARM). Its checksum is on the same page (`SHA256SUMS`).\n2. **One seed**, from the [releases](https://github.com/totaljs-es/developer-distros/releases) of this repository (the one called *seeds*), the same for both processors:\n\n| Edition | File |\n| --- | --- |\n| Desktop (Openbox, Firefox and Chrome) | `totaljs-developer-desktop-seed.iso` |\n| Server (command line only) | `totaljs-developer-server-seed.iso` |\n\nCheck what you downloaded:\n\n```bash\nsha256sum -c SHA256SUMS --ignore-missing\ngh attestation verify totaljs-developer-desktop-seed.iso --repo totaljs-es/developer-distros   # the signed attestation of where the seed was built (GitHub CLI)\n```\n\n## 2. Prepare the machine\n\n### In a virtual machine\n\nCreate a machine with these settings, in the program that you use (VirtualBox, VMware, Hyper-V, QEMU/KVM, Proxmox, Parallels...):\n\n| Setting | Value |\n| --- | --- |\n| Type | Linux, Ubuntu 64-bit (arm64 on an ARM host) |\n| Memory | 4 GB or more (8 GB with the desktop) |\n| Processors | 2 or more |\n| Disk | 30 GB or more |\n| Firmware | UEFI (BIOS also works on amd64; arm64 always uses UEFI) |\n| Network | NAT or bridge, with internet |\n| First optical drive | the ISO of Ubuntu |\n| Second optical drive (or a second removable drive) | the seed |\n\n**UTM on a Mac with Apple Silicon:** when you create the machine (*Virtualize → Linux*), turn on **Use Apple Virtualization** in the advanced options: it is the way to run it on a Mac, and the one that we recommend. With it the boot shows the animation of Total.js. With the default engine of UTM (QEMU) the system installs and works the same, but the screen of the virtual machine stays off until the login appears, and the animation is not seen.\n\nWith the engine QEMU, three more things (they come from QEMU, not from the system, and Apple Virtualization does not have them):\n- **A restart can hang** when the machine has several processors; turning it off and on works, and with 1 processor the restart works too.\n- **The animation of the boot is not seen**, not even with another display card (`virtio-ramfb` was tried and does not show it); with Apple Virtualization it is.\n- The keys of the Mac that close a window are caught by the window: `Cmd + W` (`Super + W`, the shortcut of the wallpaper) closes the machine. `Alt + W` does the same as `Super + W`. The ISO of Intel (x86_64) in UTM can only run with QEMU, because Apple Virtualization does not emulate Intel.\n\nWith QEMU it is:\n\n```bash\nqemu-img create -f qcow2 totaljs.qcow2 30G\nqemu-system-x86_64 -enable-kvm -m 4096 -smp 2 -nic user,model=virtio-net-pci \\\n  -drive file=totaljs.qcow2,if=virtio \\\n  -drive file=ubuntu-26.04-live-server-amd64.iso,media=cdrom \\\n  -drive file=totaljs-developer-desktop-seed.iso,media=cdrom \\\n  -boot d\n```\n\n### On a computer\n\n1. Write the ISO of Ubuntu to a USB stick, and the seed to another one, with [balenaEtcher](https://etcher.balena.io) or with `dd`.\n2. Connect both and start the computer from the one of Ubuntu. Most computers show a boot menu with a key at power on (`F12`, `F10`, `Esc` or `F2`; on a Mac, hold `Option`). Choose the stick, in UEFI mode.\n\nThe computer has to be one on which Ubuntu Server 26.04 runs: if Ubuntu does not see your disk, your network card or your keyboard, Total.js Developer will not either.\n\nSecure Boot is not supported yet: turn it off in the firmware settings before starting the stick. The system you install includes the firmware and CPU microcode updates, so wifi and graphics work after the installation.\n\n## 3. Install\n\n1. Start the machine from the ISO of Ubuntu and choose **Try or Install Ubuntu Server**.\n2. The installer finds the seed and asks whether to continue with the autoinstall: type `yes`. It is the installer of Ubuntu Server, in text mode: simple, and the same one that millions of servers use. You move with the arrow keys, `Tab` and `Enter`.\n3. Answer the questions: language, keyboard, network, disk and who you are (your name, the name of the machine, your user and your password). The guided disk layout with LVM leaves half of the disk free; the seed gives it to the system at the end. On a system that is already installed, you can do it yourself: `sudo lvextend -r -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv`.\n4. Wait. The installer puts the system on the disk and then downloads and installs Total.js Developer. When it finishes it asks you to restart: disconnect the drives (take out the sticks, or eject the virtual drives) and press Enter. The desktop edition starts with the desktop of Total.js.\n\n## After the first start\n\n- **Server edition:** log in on the console or with SSH (`ssh your-user@address`). Open `https://totaljs.developer` from any computer that can reach this one (see *Use it from another computer* in [How to use it](/totaljs-developer/1-0/guides/using/)).\n- **Desktop edition:** the login screen appears. Log in and the desktop opens. The panel on the top has the menu (the mark of Total.js, first), the launcher of applications (the rocket), the terminal, the files and the browser. `Super + B` opens Total.js Center in Firefox.\n- The first time the services start, they download their images (Code, Flow, PostgreSQL and pgAdmin). Give them a few minutes and a connection: Total.js Center shows when each one is ready.\n\n## If something does not work\n\n| What you see | What to do |\n| --- | --- |\n| It says that it cannot reach the repository | The installer needs internet from the start. Check the network of the virtual machine (NAT or bridge), or connect the cable or choose the Wi-Fi when the installer asks about the network, and start again. |\n| It stops with an error | Press Enter to open a shell and read `/var/log/installer/`, or start again. |\n| After restarting, the services do not answer | They download their images in the first minutes. Look at `systemctl status totaljs-proxy totaljs-code totaljs-flow totaljs-postgres`. |\n\n## Remove the installation\n\nTotal.js Developer is a set of packages: `sudo apt remove totaljs-developer-desktop` (or `-server`) removes the layer and keeps your projects in `/www`.\n","entries":[],"license":"MIT","updated":"2026-12-02T06:22:33.735Z"}
{"id":"totaljs-developer-guides-install-arch","url":"https://totaljs.es/docs/totaljs-developer/1-0/guides/install-arch/","project":"totaljs-developer","version":"1-0","section":"guides","language":"en","title":"Install Total.js Developer on Arch","summary":"Choose **Desktop** for the graphical environment, or **Server** for the command line. Both include the Total.js development tools and services.","markdown":"---\ntitle: Install Total.js Developer on Arch\nproject: Total.js Developer\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/totaljs-developer/1-0/guides/install-arch/\nupdated: 2026-12-02T06:22:33.735Z\n---\n\n# Install Total.js Developer on Arch\n\n> Choose **Desktop** for the graphical environment, or **Server** for the command line. Both include the Total.js development tools and services.\n\n## Download\n\n[Arch Linux Edition 1.0.0](https://github.com/totaljs-es/developer-distros/releases/tag/v1.0.0-arch)\n\n| Computer or virtual machine | ISO |\n| --- | --- |\n| Intel or AMD | [x86_64](https://github.com/totaljs-es/developer-distros/releases/download/v1.0.0-arch/totaljs-arch-amd64.iso) |\n| ARM64, including Apple Silicon Macs | [aarch64](https://github.com/totaljs-es/developer-distros/releases/download/v1.0.0-arch/totaljs-arch-arm64.iso) |\n\nDownload `SHA256SUMS` from the same release and run `sha256sum -c SHA256SUMS --ignore-missing` in the directory containing the ISO. Check that the command reports `OK` for the file you downloaded. On macOS, run `shasum -a 256` followed by the ISO filename and compare the result with the matching entry in `SHA256SUMS`.\n\nYou need **4 GB RAM**, a **30 GB disk** and an **internet connection** throughout installation.\n\n## Prepare the machine\n\n**Virtual machine:** create a Linux VM with the matching architecture, attach the ISO as its boot drive and allocate the memory and disk above. Use UEFI and disable Secure Boot. ARM64 requires UEFI.\n\n**UTM on Apple Silicon:** choose **Virtualize → Linux**, select the **aarch64** ISO and use a new virtual disk.\n\n**Intel/AMD computer:** write the **x86_64** ISO to a USB drive with your usual image-writing tool, then boot from that USB drive with Secure Boot disabled.\n\n## Install\n\n1. Boot the ISO and select the installer entry. On ARM64, the boot entry sets the initial edition. Calamares opens automatically.\n2. In **Welcome**, choose the installer language. Set your time zone in **Location** and your layout in **Keyboard**.\n3. In **Edition**, choose **Desktop** or **Server**.\n4. In **Partitions**, select the target disk. For a clean install, choose **Erase disk**. **This deletes all data on the selected disk.**\n5. In **Users**, set your username, computer name and password. Review the selected disk and planned changes in **Summary**, then choose **Install** and confirm with **Install Now**.\n6. After installation finishes, remove the ISO or USB drive and restart from the installed disk.\n\n## First login\n\nLog in with the account you created. On the desktop, open **Total.js Center** or visit `https://totaljs.developer` in the browser.\n\nThe services may take a few minutes to become ready on their first start. Center shows their status and links to Code, Flow and pgAdmin.\n\n[How to use Total.js Developer](/totaljs-developer/1-0/guides/using/)\n\nIf you prefer upstream installation media, see [the alternative installation instructions](/totaljs-developer/1-0/guides/install-arch-upstream/).\n","entries":[],"license":"MIT","updated":"2026-12-02T06:22:33.735Z"}
{"id":"totaljs-developer-guides-repository","url":"https://totaljs.es/docs/totaljs-developer/1-0/guides/repository/","project":"totaljs-developer","version":"1-0","section":"guides","language":"en","title":"Add the repository to your Linux","summary":"You do not need the ISO to use Total.js Developer. If you already have Ubuntu 26.04 LTS or Arch Linux, add its signed repository, install the whole environment or only the packages you want, and get their updates with the rest of your system.","markdown":"---\ntitle: Add the repository to your Linux\nproject: Total.js Developer\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/totaljs-developer/1-0/guides/repository/\nupdated: 2026-12-02T06:22:33.735Z\n---\n\n# Add the repository to your Linux\n\n> You do not need the ISO to use Total.js Developer. If you already have Ubuntu 26.04 LTS or Arch Linux, add its signed repository, install the whole environment or only the packages you want, and get their updates with the rest of your system.\n\nEverything in the repository is signed with one key. Its fingerprint is the same for Ubuntu and Arch:\n\n```text\n9545 4694 523B 8D18 A376  F7D5 D722 BA35 C842 7B40\n```\n\n## Ubuntu\n\nFor **Ubuntu 26.04 LTS** (`resolute`), on `amd64` and `arm64`.\n\n### Add the repository\n\n**1.** Save the key of the repository:\n\n```bash\ncurl -fsSL https://totaljs-es.github.io/developer-distros/repo/totaljs-developer.gpg | sudo tee /usr/share/keyrings/totaljs-developer-archive-keyring.gpg >/dev/null\n```\n\n**2.** Check that its fingerprint is the one above:\n\n```bash\ngpg --show-keys --with-fingerprint /usr/share/keyrings/totaljs-developer-archive-keyring.gpg\n```\n\n**3.** Add the repository and read its packages:\n\n```bash\necho \"deb [signed-by=/usr/share/keyrings/totaljs-developer-archive-keyring.gpg] https://totaljs-es.github.io/developer-distros/repo/ubuntu resolute main\" | sudo tee /etc/apt/sources.list.d/totaljs-developer.list\nsudo apt update\n```\n\n**4.** Install the package that keeps the key and the address of the repository up to date, and remove the line that you added by hand, which is now repeated:\n\n```bash\nsudo apt install totaljs-developer-release\nsudo rm /etc/apt/sources.list.d/totaljs-developer.list\nsudo apt update\n```\n\n### Install the server edition\n\nDocker comes from its own repository, which `apt` has to know first:\n\n```bash\nsudo apt install totaljs-docker-source\nsudo apt update\nsudo apt install totaljs-developer-server\n```\n\n### Install the desktop edition\n\nIt has everything in the server edition, and Firefox and Chrome also come from their own repositories:\n\n```bash\nsudo apt install totaljs-docker-source totaljs-mozilla-source totaljs-chrome-source\nsudo apt update\nsudo apt install totaljs-developer-desktop\n```\n\n### Remove the repository\n\n```bash\nsudo apt purge totaljs-developer-release\nsudo apt update\n```\n\nIf you installed an edition, `apt` also removes `totaljs-developer-server` and `totaljs-developer-desktop`, which need this package: look at the list before you accept. They only group the others, and the packages themselves stay until you remove them by name or with `sudo apt autoremove`.\n\n## Arch Linux\n\nFor **Arch Linux** (`x86_64`) and **Arch Linux ARM** (`aarch64`). The commands are the same: `pacman` puts your architecture in the address.\n\n### Add the repository\n\n**1.** Add the key of the repository to `pacman`:\n\n```bash\ncurl -fsSL https://totaljs-es.github.io/developer-distros/repo/totaljs-developer.gpg | sudo pacman-key --add -\n```\n\n**2.** Check that its fingerprint is the one above, and trust it:\n\n```bash\nsudo pacman-key --finger 95454694523B8D18A376F7D5D722BA35C8427B40\nsudo pacman-key --lsign-key 95454694523B8D18A376F7D5D722BA35C8427B40\n```\n\n**3.** Add the repository at the end of `/etc/pacman.conf`:\n\n```bash\nsudo tee -a /etc/pacman.conf >/dev/null <<'CONF'\n\n[totaljs-developer]\nSigLevel = Required DatabaseOptional\nServer = https://totaljs-es.github.io/developer-distros/repo/arch/$arch\nCONF\n```\n\n**4.** Read its packages and update the system. Arch does not support partial updates, so do both at once:\n\n```bash\nsudo pacman -Syu\n```\n\nTo see what the repository has:\n\n```bash\npacman -Sl totaljs-developer\n```\n\n### Install the server edition\n\n```bash\nsudo pacman -S totaljs-developer-server\n```\n\n### Install the desktop edition\n\n```bash\nsudo pacman -S totaljs-developer-desktop\n```\n\n### Remove the repository\n\nIf you installed an edition, remove it together with the package of the repository. They only group the others, and the packages themselves stay until you remove them by name:\n\n```bash\nsudo pacman -R totaljs-developer-desktop totaljs-developer-server totaljs-developer-release   # without the first one for the server edition\n```\n\nThis also takes the `[totaljs-developer]` section out of `/etc/pacman.conf`. If you only added the repository and installed no edition, delete those lines by hand.\n\n## Only some packages\n\nEach piece is a package of its own, in both systems, and can be installed alone. For example, the summary of the system for your terminal:\n\n```bash\nsudo apt install totaljs-fetch     # Ubuntu\nsudo pacman -S totaljs-fetch       # Arch\n```\n\n[The packages](/totaljs-developer/1-0/guides/packages/) explains what each one does.\n\n## Updates\n\nThe packages are updated with the rest of your system: `sudo apt update && sudo apt upgrade` on Ubuntu and `sudo pacman -Syu` on Arch.\n\n## After installing an edition\n\nRestart, log in and open `https://totaljs.developer`. The first time, Docker downloads the images of Code, Flow, PostgreSQL and pgAdmin: Total.js Center shows when each one is ready. [How to use Total.js Developer](/totaljs-developer/1-0/guides/using/) continues from there.\n","entries":[],"license":"MIT","updated":"2026-12-02T06:22:33.735Z"}
{"id":"totaljs-developer-guides-install-arch-upstream","url":"https://totaljs.es/docs/totaljs-developer/1-0/guides/install-arch-upstream/","project":"totaljs-developer","version":"1-0","section":"guides","language":"en","title":"Install using upstream Arch media","summary":"These instructions are an alternative to the [Total.js Developer installation ISO](/totaljs-developer/1-0/guides/install-arch/).","markdown":"---\ntitle: Install using upstream Arch media\nproject: Total.js Developer\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/totaljs-developer/1-0/guides/install-arch-upstream/\nupdated: 2026-12-02T06:22:33.735Z\n---\n\n# Install using upstream Arch media\n\n> These instructions are an alternative to the [Total.js Developer installation ISO](/totaljs-developer/1-0/guides/install-arch/).\n\n## What you need\n\n- A machine (virtual or real) with an Intel or AMD processor, 4 GB of memory, 30 GB of disk and an internet connection.\n- The official ISO: [https://archlinux.org/download/](https://archlinux.org/download/). Check its signature or its checksum there.\n\n## Install\n\n**1.** Start the machine from the ISO of Arch. When the shell appears (`root@archiso`), make sure that there is internet: `ping -c1 archlinux.org`.\n\n**2.** Tell pacman to trust the key of the repository of Total.js (the fingerprint is `95454694523B8D18A376F7D5D722BA35C8427B40`: check it):\n\n```bash\ncurl -fsSL https://totaljs-es.github.io/developer-distros/repo/totaljs-developer.gpg | pacman-key --add -\npacman-key --lsign-key 95454694523B8D18A376F7D5D722BA35C8427B40\n```\n\n**3.** Start the installer with the configuration of the edition that you want (`desktop.json` or `server.json`):\n\n```bash\narchinstall --config https://totaljs-es.github.io/developer-distros/repo/arch/desktop.json\n```\n\n**4.** Choose what is not decided by the configuration (the disk, the language and keyboard, the time zone, and the root password and your user with the permission of `sudo`) and select **Install**.\n\n**5.** When it finishes, restart and take out the ISO. Log in and open `https://totaljs.developer` from a browser of the same machine, or from another computer that can reach it.\n\nThe first time, Docker downloads the images of Code, Flow, PostgreSQL and pgAdmin: give it a few minutes. How to use it: [How to use it](/totaljs-developer/1-0/guides/using/).\n\n## On ARM (UTM, Parallels or VMware on a Mac with Apple Silicon)\n\nArch Linux has no official ISO for ARM. The ARM edition uses **Arch Linux ARM** (a separate project) and the **Archboot AArch64 ISO**, a minimal Arch environment, to install it:\n\n**1.** Download the ISO from [https://release.archboot.com/aarch64/latest/iso/](https://release.archboot.com/aarch64/latest/iso/) and start a UEFI machine with it (4 GB of memory, 30 GB of disk; in UTM, **Use Apple Virtualization** is the one that works best).\n\n**2.** At its shell, with internet, run:\n\n```bash\ncurl -fsSL https://totaljs-es.github.io/developer-distros/repo/arch/install-arm.sh | bash\n```\n\n**3.** It asks for the edition (desktop or server), the keyboard layout and the time zone (type `list` to see them), the disk (**it erases it**), the name of the machine, your user and your password; it downloads and checks the root filesystem of Arch Linux ARM, trusts the key of the repository of Total.js (it checks the fingerprint) and installs the server edition.\n\n**4.** Take out the ISO and restart. Log in with your user.\n\nThe root account is locked, the user `alarm` of Arch Linux ARM is removed, and your user can use `sudo`.\n\n## Notes\n\n- Based on Arch Linux. It is not an official Arch release. Arch Linux and the Arch logo are trademarks of their owners.\n","entries":[],"license":"MIT","updated":"2026-12-02T06:22:33.735Z"}
{"id":"totaljs-developer-guides-using","url":"https://totaljs.es/docs/totaljs-developer/1-0/guides/using/","project":"totaljs-developer","version":"1-0","section":"guides","language":"en","title":"How to use Total.js Developer","summary":"","markdown":"---\ntitle: How to use Total.js Developer\nproject: Total.js Developer\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/totaljs-developer/1-0/guides/using/\nupdated: 2026-12-02T06:22:33.735Z\n---\n\n# How to use Total.js Developer\n\n## The addresses\n\nEverything is reached by name. The names are answered by the computer itself, so they work from the moment it starts, with no setup.\n\n| Address | What it is |\n| --- | --- |\n| `https://totaljs.developer` | **Total.js Center**: the state of the services, your projects and how to connect to the database |\n| `https://code.totaljs.developer` | **Code**: the editor and the manager of your projects, in the browser |\n| `https://flow.totaljs.developer` | **Flow**: programming with diagrams |\n| `https://pgadmin.totaljs.developer` | **pgAdmin**: the database, in the browser |\n| `https://<project>.totaljs.developer` | each project that you create in Code |\n\nThe first time the system starts, Code, Flow, PostgreSQL and pgAdmin download their images, which needs internet: if it is not there yet, each service tries again every 20 seconds until it works, so nothing has to be started by hand. Total.js Center shows the state of each service, and while the proxy has not started the Center button opens it at `http://127.0.0.1:8010`.\n\n## Your projects\n\nYour projects are in **`/www/www`**, one folder each. Create them in Code: each one gets its own address, `<project>.totaljs.developer`, and the proxy serves it. The folders `/www/proxy`, `/www/code`, `/www/flow` and `/www/services` hold the configuration of the services themselves.\n\n`/www` belongs to the group `totaljs-developer`. The first user that you create in the installer is in it, and in the group `docker`. To add another person:\n\n```bash\nsudo usermod -aG totaljs-developer,docker other-user\n```\n\n> The group `docker` can control Docker, which in practice is the same as being the administrator of the computer. Add only people that you trust.\n\n### HTTPS\n\nEvery address opens with `https://` and no warning: Center, Code, Flow, pgAdmin and the ones of your projects. The buttons, the menu and the links of Total.js Center already use it. The authority that signs the certificate is made on your machine, and the system, Node.js, Firefox and Chrome trust it, so `curl`, `git` and your own code can call `https://something.totaljs.developer` without changes. Plain `http://` keeps working too, and is what the address uses until the certificate is there (the first minutes of a new system).\n\n```bash\ntotaljs-https status      # the certificate and when it ends\ntotaljs-https renew       # a new one (it lasts 800 days, and an update of the package renews it when less than 60 days remain)\n```\n\nA system that was installed before HTTPS has to update `/www/proxy/docker-compose.yml` (the file is yours, so an update does not touch it): add the port `\"443:443\"`, the volume `./data/certs:/etc/nginx/certs:ro` and the variable `HTTPS_METHOD=noredirect`, and run `sudo systemctl restart totaljs-proxy`. Chrome does not read the certificates of the system but its own store (`~/.pki/nssdb`): `totaljs-trust-ca` fills it at the start of every session. For any other browser, import `/usr/local/share/ca-certificates/totaljs-developer.crt` as an authority.\n\n## The database\n\nPostgreSQL runs in a container that is **not published** outside the computer: only the containers of your projects reach it, through the Docker network `proxy`, at the host `postgres` and the port `5432`, with the user `totaljs` and no password.\n\n```text\npostgres://totaljs@postgres:5432/postgres\n```\n\npgAdmin is already connected to it. Its user is `admin@totaljs.developer`, and its password is made when the system is installed, different on each computer. It is in `/www/services/postgres/.env`, which only the people of the group `totaljs-developer` can read.\n\nTo change the version of PostgreSQL or to publish its port, edit `/www/services/postgres/docker-compose.yml` and run `sudo systemctl restart totaljs-postgres`.\n\n## The services\n\nEach service is a unit of systemd that starts at boot:\n\n```bash\nsystemctl status totaljs-proxy totaljs-code totaljs-flow totaljs-postgres totaljs-center totaljs-dns\nsudo systemctl restart totaljs-code\n```\n\nThe Compose files are in `/www`. What you edit there stays: an update of the packages never overwrites the files that you changed.\n\n### More services\n\nRedis, Mailpit and MongoDB are there when you need them, off until you turn them on:\n\n```bash\ntotaljs-service list\ntotaljs-service enable redis      # also: mailpit, mongodb\ntotaljs-service disable redis     # the data stays in its Docker volume\n```\n\nThe projects reach them by name through the network `proxy`: `redis:6379`, `mongodb://mongodb:27017`, and for email SMTP `mailpit:1025` (no user, no password). The emails that your projects send arrive in the inbox of Mailpit, at `https://mailpit.totaljs.developer`, and never leave the machine. Each one has its Compose file in `/www/services/NAME`, to edit.\n\n## Node.js and Total.js\n\nNode.js (LTS) is installed for the whole system, with `total4` and `total5` as global packages and `npm`:\n\n```bash\nnode --version\nnpm ls -g --depth=0\ntotal5 --help          # the commands of Total.js 5 (also flow5), and total4 for Total.js 4\n```\n\n### Another version of Node.js\n\nThe one of the system is the default. **fnm** installs and changes versions for your user:\n\n```bash\nfnm install 22         # download Node.js 22\nfnm use 22             # use it in this terminal\nfnm default 22         # make it the one of every new terminal\nfnm ls                 # the ones that you have\n```\n\nA folder with a `.node-version`, an `.nvmrc` or an `engines.node` in its `package.json` changes the version by itself when you enter it (`fnm install` in that folder gets it). `pnpm` and `yarn` work too (they are downloaded the first time that you use them).\n\n### The tools of the terminal\n\n`psql` and `sqlite3`, the GitHub CLI (`gh`), `rg` (ripgrep), `fd`, `fzf`, `bat`, `http` (HTTPie), `jq`, `nvim`, `tmux`, `htop` and `git-lfs`. The limit of the files that a watcher can follow is raised (524288), so a development server with reload does not stop with `ENOSPC`. To use `psql` against the database of the system, see *The database*.\n\n## The desktop edition\n\n| Keys | What it does |\n| --- | --- |\n| `Super + Enter` | Terminal |\n| `Super + D` | Launcher of applications (type to search) |\n| `Super + E` | Files |\n| `Super + B` | Total.js Center in the browser |\n| `Super + C` | Code in the browser |\n| `Super + W` | Another wallpaper (`Alt + W` does the same: with the engine QEMU of UTM, `Cmd + W` closes the machine) |\n| `Super + Space` | The menu of the desktop (also with the right button on the wallpaper) |\n| `Alt + Tab` | Change of window |\n| `Super + F` | Maximize or restore the window |\n| `Super + Q` or `Alt + F4` | Close the window |\n| `Super + 1` ... `4` | Go to the desktop 1 ... 4 (with `Shift`, send the window there) |\n| `Print` | Screenshot, saved in `~/Pictures` (with `Alt`, of an area) |\n\nThe panel on the top has, from the left: the menu of the desktop (the mark of Total.js), the launcher of applications (the rocket), the terminal, the files and the browser (which opens Total.js Center), then the four desktops (the one that you are in is green; click on one to go to it, or use `Super + 1` to `4`), the list of windows, the trash (click to open it, right click to empty it), the tray (network and volume) and the clock.\n\nThe **widget** on the wallpaper is Conky. It starts with the session with the profile of the system (processor, memory, disk and network). To change it, use *Preferences → Desktop widget* in the menu of the desktop, or the command:\n\n```bash\ntotaljs-conky system      # processor, memory and disk as rings, the network and the processes\ntotaljs-conky services    # Docker, the proxy, Code, Flow, PostgreSQL, Total.js Center and SSH\ntotaljs-conky compact     # a small card with the essentials, at the top right\ntotaljs-conky clock       # a large clock on the wallpaper, with no card\ntotaljs-conky hidden      # no widget\n```\n\nThe one that you choose is kept for the next sessions. The profiles are in `~/.config/conky`: edit them or add your own, with the name `<profile>.conf`.\n\nWallpapers: there are twelve and a different one is chosen on each start. `totaljs-wallpaper pin` keeps the current one, `totaljs-wallpaper shuffle` goes back to\n\n**Your own wallpaper:** *Preferences → Wallpaper → Choose wallpaper...* opens a grid with the twelve of the pack and your own, and what you pick is applied and kept for the next sessions. *Add an image...* copies a picture of yours to `~/Pictures/Wallpapers` (you can also drop images there), and `totaljs-wallpaper set FILE` does the same from the terminal. a random one. The look of windows and applications is changed with *Preferences → Appearance* (in the menu of the desktop).\n\nThe configuration of each person is in `~/.config` (`openbox`, `tint2`, `rofi`...). It is copied from `/etc/skel` when the person is created, and is yours to change.\n\n## The terminal\n\nEvery terminal shows a summary of the system with the mark of Total.js. To turn it off for your user: `mkdir -p ~/.config/totalfetch && touch ~/.config/totalfetch/off`. The command `totalfetch` shows it at any time.\n\n## Use it from another computer\n\nThe names `*.totaljs.developer` are answered by the computer itself, so another computer does not know them. On the other computer, add the address of this one to its file of hosts, for each name that you use:\n\n```text\n192.168.1.50  totaljs.developer code.totaljs.developer flow.totaljs.developer pgadmin.totaljs.developer my-project.totaljs.developer\n```\n\nThe file is `/etc/hosts` on Linux and macOS, and `C:\\Windows\\System32\\drivers\\etc\\hosts` on Windows. The proxy listens on the port 80 of the computer.\n\nThe firewall `ufw` is installed and **not enabled**. To enable it keeping SSH and the web open: `sudo ufw allow OpenSSH && sudo ufw allow 80/tcp && sudo ufw enable`.\n\n## Update\n\nTotal.js Developer is a set of packages. It is updated with the rest of the system:\n\n```bash\nsudo apt update && sudo apt upgrade\n```\n","entries":[],"license":"MIT","updated":"2026-12-02T06:22:33.735Z"}
{"id":"totaljs-developer-guides-packages","url":"https://totaljs.es/docs/totaljs-developer/1-0/guides/packages/","project":"totaljs-developer","version":"1-0","section":"guides","language":"en","title":"The packages of Total.js Developer","summary":"Total.js Developer is not a distribution that patches Ubuntu: it is a **set of packages** in a signed repository, installed on top of Ubuntu Server 26.04 LTS. The installer and any Ubuntu that you already have install the same packages, and they are updated with `apt`.","markdown":"---\ntitle: The packages of Total.js Developer\nproject: Total.js Developer\nversion: 1.0\nsection: guides\nlanguage: en\nlicense: MIT\nurl: https://totaljs.es/docs/totaljs-developer/1-0/guides/packages/\nupdated: 2026-12-02T06:22:33.735Z\n---\n\n# The packages of Total.js Developer\n\n> Total.js Developer is not a distribution that patches Ubuntu: it is a **set of packages** in a signed repository, installed on top of Ubuntu Server 26.04 LTS. The installer and any Ubuntu that you already have install the same packages, and they are updated with `apt`.\n\n## The packages\n\n```text\ntotaljs-developer-server      meta-package: the server edition\n  totaljs-developer-release   the key and the source of apt (and of Pacman) of this repository\n  totaljs-node                Node.js LTS, total4 and total5\n  totaljs-fnm                 fnm, the manager of versions of Node.js (the one of the system stays the default)\n  totaljs-docker-source       the repository of Docker, where Docker Engine and Compose come from\n  totaljs-docker-stack        /www with the Compose files and the units of the services: proxy, Code, Flow, PostgreSQL and pgAdmin\n  totaljs-https               the authority of this machine and the certificate of *.totaljs.developer, trusted by the system, Node.js and Firefox\n  totaljs-services            the optional services (Redis, Mailpit, MongoDB), off until `totaljs-service enable`\n  totaljs-dns                 the local domain: totaljs.developer and everything under it is this computer\n  totaljs-center              Total.js Center, a Total.js 5 application on the port 8010\n  totaljs-fetch               the summary of the system in the terminal\n  totaljs-brand               the boot splash of Plymouth and the quiet boot of GRUB\n\ntotaljs-developer-desktop     meta-package: the server edition plus\n  totaljs-openbox             Openbox with the theme of Total.js, Tint2, Rofi, Alacritty, PCManFM, LightDM, the menu and the shortcuts\n  totaljs-conky               the widget on the wallpaper, with four profiles (system, services, compact and clock)\n  totaljs-wallpapers          the twelve wallpapers\n  totaljs-mozilla-source      the repository of Mozilla, where Firefox comes from (Ubuntu offers only a snap)\n  totaljs-chrome-source       the repository of Google, where Google Chrome comes from\n```\n\nThe meta-packages have only `Depends`: each piece is a package of its own and can be updated alone. To install, add the sources first and then the layer:\n\n```bash\nsudo apt install totaljs-developer-release totaljs-docker-source   # and totaljs-mozilla-source and totaljs-chrome-source for the desktop edition\nsudo apt update\nsudo apt install totaljs-developer-server                          # or totaljs-developer-desktop\n```\n\nDocker and Firefox come from their own repositories, which `apt` has to know before it resolves the layer: that is why there are two steps.\n\n## What each one does\n\n- **totaljs-node.** The Node.js tarball is pinned in `packages/totaljs-node/files/usr/share/totaljs-node/versions` with its SHA-256 for amd64 and arm64, and is downloaded and checked when the package is installed. `total4` and `total5` are installed as global npm packages. The versions are in that file and nowhere else.\n- **totaljs-fnm.** The pinned release of fnm (with its SHA-256, for amd64 and arm64) is downloaded when the package is installed, and `fnm env` goes in `/etc/bash.bashrc` between two marks. The Node.js of `totaljs-node` is still the default: the person installs the others with `fnm install`.\n- **totaljs-https.** An authority is made on the first install (its key stays in `/var/lib/totaljs-developer/ca`, readable only by root, and never leaves the machine) and signs a certificate for `totaljs.developer` and `*.totaljs.developer` that nginx-proxy uses from `/www/proxy/data/certs`. The authority goes to the trust of the system, to `NODE_EXTRA_CA_CERTS` (`/etc/environment`) and to the policies of Firefox.\n- **totaljs-services.** A catalog of Compose files in `/usr/share/totaljs-developer/catalog` and the template unit `totaljs-service@.service`. `totaljs-service enable NAME` copies the file to `/www/services/NAME` (never overwriting) and starts it; nothing is published on the host.\n- **totaljs-docker-stack.** Puts the Compose files in `/www` only when they are missing, and never overwrites what the person edited. Each stack has its own unit (`totaljs-proxy`, `totaljs-code`, `totaljs-flow`, `totaljs-postgres`). The images are pulled when the services start for the first time, not when the package is installed. PostgreSQL is not published: only the containers of the network `proxy` reach it. The password of pgAdmin is made at install time, different on each system.\n- **totaljs-dns.** `dnsmasq` listens on its own address of the loopback (`127.0.0.100`) and answers only `totaljs.developer`, and a drop-in of `systemd-resolved` sends that domain, and nothing else, to it. The rest of the DNS of the system is not touched.\n- **totaljs-center.** A Total.js 5 application that runs as its own user, in no group, with a hardened unit. It reads the state of the services through systemd, so it needs no access to Docker.\n- **totaljs-conky.** The profiles are in `/etc/skel/.config/conky` (copied to each person, who can edit them) and say where the window is and how big; what is drawn (rings, bars, cards) is the Lua and Cairo script `/usr/share/totaljs-conky/totaljs.lua`. The network interface is the one of the default route, and the state of the services comes from systemd, so it needs no access to Docker.\n- **totaljs-openbox.** The configuration of each person is copied from `/etc/skel` when the person is created, and to the people that already exist only if they have none. The compositor is `picom`: GLX on a real computer and xrender in a virtual machine. On a first install it also writes `/etc/netplan/90-totaljs-desktop.yaml` so that NetworkManager (the icon of the network of the panel) manages the network, as in the desktop of Ubuntu; it takes effect at the next start, and is removed with the package.\n\n## The group of the system\n\nThe installer does not create the person in the system it installs: it hands the request to cloud-init, which creates them the first time the new system starts. `totaljs-developer-server` therefore has a unit, `totaljs-developer-first-user.service`, that adds the first regular person to the group `totaljs-developer` (and to `docker`) once the person exists. The marker `/var/lib/totaljs-developer/first-user` stops it from running again, so a person taken out of the group on purpose stays out. `/www` belongs to the group.\n\n## Which Ubuntu\n\nThe repository serves **Ubuntu 26.04 LTS** (`resolute`) for `amd64` and `arm64`, and the packages do not depend on the series.\n\n## Rules of the packages\n\n- They never assume a user called `totaljs`: they own a group, not a person.\n- They download nothing big in the `postinst` and pull no Docker images.\n- They never hardcode an architecture.\n- They never touch what the person owns: the projects, the Compose files that were edited, the configuration of the home directory.\n- A file that another package of Ubuntu owns is never shipped: the configuration goes in a drop-in (`conf.d`) or in `/etc/skel`.\n\n## Tests\n\n`tools/package-repo/test-install.sh` installs the server edition in a clean Ubuntu 26.04, checks what it promises and removes it, checking that nothing stays. `test-desktop.sh` installs the desktop edition, starts its session in a virtual screen and takes screenshots. `iso/ubuntu/test-install.sh` installs the system with the installer in QEMU and boots it.\n\n## Versions\n\napt updates a package only when its version goes up. So **a package whose files change after a release gets a new version**: the revision after the dash for a fix (`1.0.0-1` → `1.0.0-2`), the number before it for a new feature (`1.0.0` → `1.1.0-1`). Packages that depend on another one ask for `>=`, never `=`, so that one can be updated alone. `tools/package-repo/check-versions.sh` compares each package with the last release (the tag `v*`) and fails if one changed with the same version; the CI runs it. Before the first release nothing is compared, and the packages can be rebuilt with the same number.\n","entries":[],"license":"MIT","updated":"2026-12-02T06:22:33.735Z"}
