Core App Development Kit

coreapp-dev: build apps for Federated Core and test them on a real Core running in a VM on your computer.

The Core App Development Kit, coreapp-dev, is the SDK for making Coreapps: your own web apps, or existing open source ones, packaged so any Core can install them. It runs a real Federated Core in a virtual machine on your computer, so you test against the same sign-in, database, proxy, and mail server your users will have.

What’s in the kit

  • coreapp-vm creates and runs the VM with your development Core.
  • coreapp makes, deploys, tests, and publishes apps.
  • The Core’s installer, coreapps, which the kit puts on your development Core. It’s the same installer a Core’s owner uses to install your app.
  • A Claude Code skill, coreapp, that knows how to turn a repository into a Coreapp, and deploys and tests it for you.

Install it

On a computer running CoreDesktop, with VT-x or AMD-V turned on:

sibling add https://gitea.federated.computer/Federated_Computer/coreapp-dev.git

This installs libvirt, QEMU/KVM, and Docker, sets up a private network for the VM, and adds the commands and the Claude Code skill. Log out and back in afterwards. CoreDesktop’s update keeps the kit up to date.

To remove it completely, run bash ~/.local/share/siblings/coreapp-dev/uninstall.sh. (sibling remove only deletes the kit’s files, not what it installed.)

Commands

CommandWhat it does
coreapp-vm createDownloads CoreServer (1.3 GB, the first time) and creates the VM, coreserver, at 10.123.0.10
coreapp-vm start, stop, deleteStarts, stops, or deletes the VM
coreapp-vm ssh, ip, listConnects to the VM, or shows its address and state
coreapp new <name>Makes a new app. Add --postgres, --mysql, --sso, or --email for what it needs.
coreapp deployBuilds the app and installs or updates it on your development Core
coreapp check, signin, inbox, mailTests its address and certificate, sign-in, and email
coreapp status, logs, shellInspects the running app
coreapp coreShows what the Core offers apps, and the names apps can’t use
coreapp list, install, update, removeManages apps installed from repositories, as a Core’s owner would
coreapp login, logout, loginsManages tokens for private repositories
coreapp publishBuilds and pushes a release, and tags it

Source code

gitea.federated.computer/Federated_Computer/coreapp-dev

  1. Setting up coreapp-dev

    Step by step: install the Core App Development Kit, run a Core in a VM on your computer, make it reachable, provision it, and deploy your first app.

  2. Building a Coreapp

    For developers: make an app or port an existing one with coreapp-dev, and test it on a Core on your own computer.

  3. coreapp.toml reference

    Every setting in a Coreapp's coreapp.toml, and what the Core gives the app for each need.

  4. Publishing a Coreapp

    Release a version of your app so any Core can install it from its repository.