The editor
Domains, showcase and source
How an app reaches others - a domain of its own, the installation's showcase, its code published as open source - and how to take it away as an ordinary .NET project.
A domain of its own#
An app in the production or system tier can answer at a domain of its own - tasks.example.com, or a whole domain such as example.com - instead of its address on the installation.
- Point the domain at the server. The Domain section shows the DNS records to add at your DNS provider:
AandAAAArecords with the server’s addresses, or, for a subdomain, aCNAMEto the installation’s host name. - Enter it under Domain, and Use this domain. Requests to it reach the app from then on, and its old address sends visitors there.
- HTTPS for the domain is the operator’s: a certificate in the server or the reverse proxy. Agree on it before you switch, or visitors see a certificate warning. See Custom domains.
A visitor who types www. in front of the domain is sent on to it, so search engines keep one address; add its records too if you want that. Removing the domain makes the app answer at its old address again.
Apps in the sandbox cannot have a domain; the operator moves an app to production on request.
The showcase#
/showcase lists the apps their owners chose to show. In the Showcase section, give the app a title, a short description and a picture - a screenshot or a short animation of it in use, up to 3 MB - and list it. It is shown while the app is online; taking it off is one click.
An agent lists an app only when you ask it to, and does it through the REST API: the picture is too large for a tool call. An agent that cannot make HTTP requests leaves this section to you.
Open source#
The Open source section publishes the app’s code at /source/<public key>, where anybody can read it, star it and download it as a .NET project, and clone it read only from /source/<public key>.git.
- Pick a license: MIT unless you choose Apache 2.0, BSD 3-Clause, MPL 2.0, GPL 3.0 or later, AGPL 3.0 or later, or the Unlicense - and optionally the name the license gives as the copyright holder.
- Every version is published, the earlier ones included, with what each changed - and everything saved from then on.
- Never published: the data - no database, workspace or secret values - and what was asked for in your words, the editor key, and anything about visitors.
- Taking it down is one switch.
Download the project#
Download as a .NET project in the editor’s menu packs the newest version into an ordinary project that needs nothing from the platform:
Shell
dotnet run # with the .NET 10 SDK, on http://localhost:8080/
docker build -t tasks .
docker run -p 8080:8080 -v "$PWD/database:/app/database" -v tasks-data:/app/workspace tasks
- The code is laid out as in a git clone, with a
Dockerfile; the header ofProgram.csrepeats these commands for the app. - The database comes along as an ordinary SQLite file in
database/, which any SQLite tool opens. Where the installation keeps databases in PostgreSQL, the download carries none. - The workspace starts empty; copy what the app keeps from the Workspace section.
- Secrets are read from environment variables of the same name;
Program.csnames the ones the app reads.
The code is yours: nothing in the project ties it to the installation.