ScriptKitty
Install

Install

ScriptKitty installs on Windows and on Linux today. In testing The source is on GitHub; there is no installer download on this page yet. A Mac version has run on Apple's macOS 15 in GitHub's cloud, but not yet on a person's own Mac.

Today it has run only in throwaway test machines. Until it leaves testing, put it on a machine you can lose.

Windows

In testing The Setup program has been run, as described here, on Windows 11 in a test machine, not yet on a person's own PC. It needs 64-bit Windows. Setup 0.2.728, a test build, has also run without its screens on Windows 10 22H2 in a test machine. There 200 of 200 files came back in a race test, 100 of 100 renames over a file worked, and 60 of 60 writes to a file another program held went through once it let go. The screens below were seen on Windows 11.

The Setup file is not signed yet, because a signing certificate costs money and we have not bought one. That is why Windows stops it twice before it starts. Both stops are expected. This is what they say and what to click.

  1. Download the Setup file. Its name is ScriptKitty-Setup-, then the version number, then .exe, for example ScriptKitty-Setup-0.2.537.exe. It is about 12 MB (11.5 MB in Explorer). There is no download link on this page yet.
  2. Double-click it in your Downloads folder. A blue screen says Windows protected your PC. Under it: Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk. The only choices are a link, More info, and a button, Don't run. Click More info.
    The blue Windows screen titled Windows protected your PC, with the SmartScreen sentence, a More info link and a Don't run button.
  3. Check the name, then click Run anyway. The screen now shows the file's name, for example App: ScriptKitty-Setup-0.2.537.exe, and Publisher: Unknown publisher, and a second button, Run anyway. The numbers are the version. If the name does not start with ScriptKitty-Setup-, click Don't run.
    The same screen after More info: App ScriptKitty-Setup-0.2.537.exe, Publisher Unknown publisher, and two buttons, Run anyway and Don't run.
  4. Answer the Windows question with Yes. It reads Do you want to allow this app from an unknown publisher to make changes to your device? with the file's name (ScriptKitty-Setup-0.2.537.exe), Publisher: Unknown and File origin: Hard drive on this computer. Setup needs it to install a service for the whole PC.
    The User Account Control question: Do you want to allow this app from an unknown publisher to make changes to your device? ScriptKitty-Setup-0.2.537.exe, Publisher Unknown, File origin Hard drive on this computer.

    On an administrator account, as most people's own PCs are, the question has only Yes and No (seen 21 Nov). On a standard account Windows also asks for an administrator's name and password under the question (seen 16 Nov).

  5. Click Install. The first page is Welcome to ScriptKitty Setup: This puts ScriptKitty on this computer: a diary of every change to your files, with the old version kept first, so a change can be undone. It then says: It runs quietly in the background and puts a cat in the notification area. Removing it later leaves the diary and the kept old versions in place. The install took under a minute in our test.
    The Setup window: Welcome to ScriptKitty Setup, a pixel cat, and Install and Cancel buttons.
  6. Click Finish. The last page is Completing ScriptKitty Setup: ScriptKitty is on and keeping old versions of your files now. It goes on: The cat lives in the notification area, bottom right (click the little arrow if you do not see it). Double-click it to open the window, or find ScriptKitty in the Start menu.

Windows: after it is installed

ScriptKitty is running as soon as Setup ends. Double-click the cat in the notification area, or open ScriptKitty from the Start menu, to see the window. The first time, give it a few seconds to open. ScriptKitty also appears in Settings, under Apps, then Installed apps.

Open Command Prompt or PowerShell and type sk to see the same facts as on Linux.

Windows: remove it

Open Settings, then Apps, then Installed apps, find ScriptKitty and choose Uninstall. Or run Uninstall.exe from C:\Program Files\ScriptKitty. Windows asks the same Yes question again.

The uninstall screen says what stays: The diary and the kept old versions of deleted and replaced files stay where they are (C:\ProgramData\ScriptKitty and the .scriptkitty folder on each drive). It also says that Windows' restore points are not touched. Delete those folders yourself if you want the old versions gone too.

Windows: check the file

Before you run Setup you can check that the file is the one we made. Open PowerShell in the folder that holds it and type the line below. Compare the 64 characters it prints with the SHA-256 published next to the download. If they differ in even one character, do not run the file.

Get-FileHash .\ScriptKitty-Setup-*.exe -Algorithm SHA256

No release has a published SHA-256 yet, because nothing is published yet.

Linux: requirements

These are the requirements for the Linux build.

  • A kernel with fanotify permission events. It has run on 6.12 only.
  • Root, for the service.
  • Python 3, with only its standard library.
  • Disks formatted ext4, xfs or btrfs.

Linux: install and check

Run the installer from the source folder. It installs and starts the service.

sudo ./install.sh            # from the source folder; installs and starts the service
sudo env SK_WINDOW=1 ./install.sh   # the same, plus the desktop cat window and tray (Linux; off by default)
sk                           # how things are, and the latest changes
sk status                    # what is covered, what is left out, room held

See the first minute for what these show.

Linux: uninstall

The same script removes it.

sudo ./install.sh --uninstall

Commands

An ordinary user can undo only what they could have changed by hand, and sudo includes everyone's changes.

CommandWhat it does
skShows how things are, and the latest changes.
sk statusShows what is covered, what is left out, and the room held.
sk listLists the changes it saw lately, newest at the bottom.
sk show 12Shows which files change 12 touched.
sk undo 12Puts one change back.
sk undo --lastUndoes the latest change.
sk back 10m, sk back 14:32, sk back m1234Puts everything back as it was ten minutes ago, at a clock time, or at a bookmark.
sk back 1h --only ~/projectThe same, for one folder.
sk back 10m --dry-runShows what that go-back would put back and what it could not, and changes nothing. It does not foresee database, container or cloud changes, or a write that fails partway.
sk markSaves a bookmark.
sk spaceShows how much room the old copies take.
sudo sk keep 3dChanges the keep time from the default 24 hours to three days.
sk heldLists files that had no room for a copy, and changes waiting for room right now.
sudo sk free PATHLets go of one file's old copies.
sudo sk free --disk /mnt/diskLets go of everything kept on one disk, oldest first. It shows what that costs, and does it only with --yes.
sudo sk keep DISKCovers a disk that is not covered on its own, such as a USB stick.
sudo sk letgo DISKStops covering a disk. Until then, a covered disk answers "target is busy" to umount.

Cloud commands

In testing The cloud engine has been tried with made-up data, the last run of each case once, against three real hosted services (MinIO's public S3 playground, a Neon Postgres database and dynv6 DNS) and four open-source APIs in a test machine. It has not been tried against AWS, Google Cloud, Azure or GitHub. The commands exist as follows.

CommandWhat it does
sudo sk cloud setupMakes the engine's certificate and starts it.
sudo sk cloud add-key GITHUB_TOKEN --host api.github.comGives the engine a real key for one host, read from input. It prints the stand-in the agent gets.
sudo sk cloud envPrints the lines to give the agent: the proxy, the certificate and the stand-ins.
sk cloud statusShows the state of the cloud engine.
sk cloud listLists the cloud calls it wrote down.
sudo sk cloud undo IDPuts one call back. If the thing changed after the agent's call, it stops and says so; --anyway puts it back over the change.

Mac

Mac: run in the cloud only The Mac installer has run on real macOS 15 on Apple silicon, rented from GitHub, where it was installed, used and removed. On that Mac, deleted files came back and the safety checks passed. Edits made inside a file did not come back there, because that Mac would not take disk snapshots. ScriptKitty now also keeps a copy of each file for those edits; on that Mac, with no snapshot, it brought edits made inside files back. It has not run on a person's own Mac, so what is below is what was tried on that Mac, not on yours.

Start with Terminal, not with a download. Open Terminal (in Applications, then Utilities), paste this one line and press Return. It asks for your password once.

curl -fsSL <address>/install-mac.sh | sudo bash

There is no address to put in place of <address> yet, because nothing is published yet. When there is, this is the line.

Why Terminal first: the installer package is not signed, because Apple's signing certificate costs money and we have not bought one. macOS only questions a file that carries the mark that says it came from the internet. A browser puts that mark on what it downloads. curl in Terminal does not, so this line never meets the “Not Opened” screen below. Everything it puts on the Mac is checked first (the program and ScriptKitty's launcher by their SHA-256, the Python it brings by its SHA-256), the mark is taken off every file it installs, and it says so if one stayed. To remove it: sudo sk uninstall.

If you were given the .pkg file instead, macOS will first say it was “Not Opened”. The installer is not signed yet, so macOS 15 says “Apple could not verify … is free of malware” and offers only Done and Move to Trash (seen on that Mac). The way past: press Done, open System Settings > Privacy & Security, scroll down to Security, press Open Anyway next to the line about ScriptKitty, then confirm with your password. This is Apple's way past for macOS 15; it has not been seen working yet: on the Mac in GitHub's cloud, the Open Anyway line did not show. Each new version will ask this again until the installer is signed. The Terminal line above avoids all of it.

Next: what it cannot undo, read before you install.