Repository navigation
Releases
OWN DevKit 0.20.0
Open a server's backup here.
- Open on a copy of a Project OWN server's backups (Backups, Copies of your servers' backups), then pick the server's recovery kit: the .json file from its Backups page. Pick a site or app, one of its backups, and browse it folder by folder, its databases listed with its files.
- Bring back all of it, or what you pick. Its files come back as a new project in your projects folder (
shop.example.com, or-2beside it), so it opens in your editor and runs here. Its databases are loaded into MariaDB (or PostgreSQL) here, with their users and passwords as on the server, so the site's own settings (wp-config.php,.env) work unchanged; their dumps are kept too. Untick Load its databases here to only get the dumps. - Nothing is replaced, and nothing is written into the copy (restic reads it without locks). The recovery kit is held only while OWN DevKit runs, never saved next to the copy it opens; Forget the recovery kit lets go of it sooner.
- On Windows, links from the Linux server (such as a Git deploy's
current) need Developer Mode to be made; the rest comes back, and it says so. - Tested with a store laid out as a server's backup (a wrong kit refused, a wrong key told apart, folders and the database listed, all of it and one folder brought back, nothing outside it taken, no locks left in the copy), and with a real Project OWN server's copy, its site and database brought back and loaded.
- The website's release list had v0.19.0 out of place; fixed.
OWN DevKit 0.19.0
Copies of your servers' backups, here.
- Keep a copy of a Project OWN server's backups on this PC, a drive or a NAS share. On the Backups page, Copies of your servers' backups: pick a connected server and a folder. Every 6 hours (12, or once a day) while OWN DevKit runs, in the tray too, it asks the server for its backup stores and fetches only what's new, carrying on where a broken download stopped. Every file is checked: each is named after the SHA-256 of its contents. A file the server's keep rule removed stays here 30 more days.
- Why here: your PC asks and the server answers, so it works behind a home router with nothing to open, and the server holds no key to this copy, so a break-in there can't delete it. The files stay encrypted as on the server: its recovery kit opens them, and a site comes back from them on a new server (put its folder in
/var/backups/ownthere). A README in the folder says how. - Needs Project OWN v0.29.0 or newer, connected with a token of an owner or admin (read-only is enough).
- Tested against a stand-in panel (a broken download carried on, a spoiled file fetched again, a file the server removed kept and then let go, a wrong token refused) and a real Project OWN server.
OWN DevKit 0.18.0
Publish to a staging copy.
- Try it on a staging copy first. On the Publish tab of a project linked to a site, Or try it on a staging copy first has the server copy the site (its files and its databases) to another domain (
staging.and the site's, by default), and links the project to the copy (for a private repository it shows the copy's own deploy key to add first: sites keep their own keys). Publish then deploys there, from whatever branch the project is on: a staging copy deploys the branch you publish (it says so), while a live site still refuses a branch it doesn't deploy. - Push to the live site. On a project linked to a staging copy, Push to the live site sends the copy's files, databases or both; the server keeps a safety snapshot of the live site first, and puts it back if the push fails. When the copy deploys another branch than the live site, it says to merge it, as the live site's next deploy would go back to its own. The site list marks staging copies. Needs Project OWN v0.25.0 or newer.
- A new branch is pushed for you. Publish on a branch that isn't on the remote yet pushes it, with its upstream set, instead of skipping the push; the Publish tab says it's a new branch.
OWN DevKit 0.17.1
Downloads that get there on slow, lossy routes.
- A download that breaks off carries on where it stopped. Some download servers have no copy near you (wordpress.org's, from much of Asia, comes over a long route that drops packets, at tens of KB/s), and on such a route a big download often breaks. OWN DevKit now tries again, asking the server for the rest only (where it allows it, as wordpress.org does), instead of starting over or giving up. It gives up after three tries that bring nothing new, or twenty in all, and the finished file is still checked against its SHA-256.
- A download that goes silent is noticed after a minute and tried again, instead of waiting for ever. A slow one that keeps moving is left to finish, however long it takes.
OWN DevKit 0.17.0
Publish with PostgreSQL.
- A PostgreSQL project gets a PostgreSQL database on the server. Making a project's site from the Publish tab gives it a database on the same engine it uses here: PostgreSQL for a Rails, Laravel or other app on the kit's PostgreSQL (Project OWN v0.24.0 or newer makes them), MariaDB as before. A Rails, Django or Node.js app gets
DATABASE_URLaspostgresql://...@127.0.0.1:5432/...; a Laravel app's.envgetsDB_CONNECTION=pgsqland port 5432. An older server says to update rather than make the site without its database. The plan names the engine. - Pull and push a PostgreSQL database. Database sync works for PostgreSQL projects: Pull brings the site's database here (this project's saved first), Push sends this one there (the server keeps its own first). The dump goes as plain SQL without owners, grants or statistics, so it loads into the server's older PostgreSQL and belongs to the site's own database user there. A project and a site on different engines are told so, not synced.
OWN DevKit 0.16.0
Backups off this PC.
- S3-compatible storage. Backups, Where they go, now has three choices: a folder (as before), S3-compatible storage or an SFTP server. For S3 (AWS S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and others), give the endpoint, the bucket, a folder in it, the region if the storage needs one, and an access key. The first backup makes the bucket if it isn't there.
- An SFTP server. Give the user, the server, the port and a folder (in that user's home folder, or a full path). OWN DevKit signs in with an SSH key of its own, made in the kit, and shows its public half with Copy, to add to that user's
authorized_keyson the server, so no password is kept. The server's own key is pinned the first time it connects, and shown; a server that answers with another key gets nothing, with Forget it for a server you know was set up again. A Project OWN (Open Web Node) site's SFTP takes the key too (Sign in with an SSH key instead, then Add key): give a folder besidepublic, such asbackups, so the backups are never on the web. It uses Windows' own OpenSSH, or the one that comes with Git in My kit. - Test it reaches where the backups go and opens them there, or makes them the first time, and says plainly what's wrong when it can't: a key the storage refused, the kit's key missing on the server, or a server whose key changed.
- Secrets stay in the kit. The access key's secret is kept in the kit's
data\backup, like the backups' password: never insettings.json, never shown again, and never on a command line, where other programs could read it (restic gets it in its environment). The kit's SSH key, the pinned server key and the ssh settings OWN DevKit uses are kept there too, so your own ssh config isn't used or changed. - Everything else works the same wherever they go: the schedule, how long they're kept, browsing and restoring, the password or none. How much room the backups take is asked of restic for remote ones. Folder backups set up before keep working as they are.
- Scheduled backups to a server that's out of reach try again after a while (at most every 15 minutes), not every minute.
- The README and the website's privacy list name the new places backups can go.
OWN DevKit 0.15.0
New tool versions without waiting for OWN DevKit.
- A signed tool list, every day. A workflow on GitHub makes the tool list again each day (every build from its makers' own downloads, pinned to its SHA-256), signs it with a key only the workflow holds, and publishes it when a tool has a new version. With its daily look at GitHub, OWN DevKit fetches it and takes newer versions of its tools from it, so a PHP, Node.js or Python security release reaches you the day it's out, not with the next OWN DevKit.
- Taken only when it checks out. The list's signature is checked with the public key built into OWN DevKit, and a list that isn't newer than the one in use is refused, so an old list can't be played back to hold you on old versions. Only versions of tools this OWN DevKit already knows are taken, in kinds of download it can unpack; how each tool is set up stays as this OWN DevKit knows it. Every download is still checked against its SHA-256 before it's unpacked, as always.
- The list in use is kept in the kit, checked again each time it opens, and shared by the window and
own. Settings, Updates shows its date and Check for new tool versions;own catalogshows it andown catalog updatefetches the newest. Turning the daily check off turns this off too. - The README says how to check the list's signature by hand.
catalog-genreuses the SHA-256 of any download it has pinned before (-prev), so a daily run downloads only what's new; with-tolerant, a tool whose download site is down keeps its last versions instead of holding back every other tool. Lists are dated to the second.- The code signing section of the README and the website also points to the signed tool list.
OWN DevKit 0.14.0
From here to a live site, database included.
-
Publish makes the site on your server. A project's Publish tab, Or make its site on your server: give it a domain, see what it makes, and Make it. On your Project OWN (Open Web Node) server, OWN DevKit makes the site the project needs:
- the kind and version it runs on: PHP (the nearest version the server has), or a Ruby, Node.js, Python or Go app, or static files;
- its own MariaDB database, when the project uses one;
- its repository, connected with the build its framework needs (Laravel, WordPress, Symfony, Rails, Sinatra and Rack, Next.js, Nuxt, SvelteKit, Express, Django, Flask, FastAPI, Go, Vite and Astro builds);
- the files a deploy keeps, written for the server: a Laravel app's
.env(this one's settings, made for production: the server's database, its address, a new app key, the kit's local mail and cache taken out), WordPress'swp-config.php(the server's database and new secret keys), or an app'sDATABASE_URL.
Then it publishes. A public GitHub repository is fetched as it is; for a private one, OWN DevKit shows the key the server reads it with, and opens GitHub's page for adding it. Needs a token with your own access ("Same access as me"), and Project OWN v0.23.0 or newer on the server.
-
The database, both ways. Once a project publishes to a site with a database, its Publish tab has Pull from the server and Push to the server (MariaDB and MySQL projects):
- Pull saves this project's database first (the last three, in the kit's
data\db-sync), then brings the live one here. - Push sends this one there; the server keeps its database as it was first, and puts it back if the dump doesn't load.
- WordPress keeps its address right: the site's address is stored inside its database, so it's changed on the way, everywhere, PHP's serialized settings included, with WP-CLI (added to the kit the first time, from its GitHub releases, pinned to its SHA-256). A push leaves this database as it is.
- Pull saves this project's database first (the last three, in the kit's
-
WP-CLI is in the catalogue, for this and for your own use.
OWN DevKit 0.13.1
- The Rails template keeps Rails' own production settings (its SQLite databases in
storage), so a new app is ready to publish; v0.12.0 left them commented out. Rails' Kamal setup step still reports an error on Windows with Ruby 4.0 (net-ssh wantsfiddle):rails newcarries on past it and the app runs. - Installed with winget too, OWN DevKit leaves its updates to the package manager, and says the command (
winget upgrade zaimzamzuri.OWNDevKit).
OWN DevKit 0.13.0
Laravel's workers, and Scoop.
- A Laravel project runs its queue and its scheduler, as Laravel's own dev script does, beside the site and Vite:
php artisan queue:listen --tries=1(it picks up code changes as you make them) unless the queue issync, andphp artisan schedule:workwhen the app schedules something (Schedule::inroutes/console.php,->withSchedule(inbootstrap/app.php, or a Console Kernel with tasks in it). Their output is in Pulse, and they stop with the project. - Install with Scoop:
scoop bucket add own https://github.com/zaimzamzuri/scoop-bucket, thenscoop install own/own-devkit. Scoop keeps the programs; your tools, databases and settings stay in%LOCALAPPDATA%\OWN DevKit, soscoop update own-devkitchanges nothing else. Installed this way, OWN DevKit still says when a new release is out, and leaves the update to Scoop.