Skip to content
Projects

About

Turn any build into a lightweight desktop app with one click, on macOS, Windows

AI & Machine Learning

How these counts are measured

17 stars0 Forks +1 in 24h

Measured star growth

in 24h
+1
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

OpenVaffel

CI License: MIT

Describe an app. Your model builds it, and it installs as a real app on your Mac or Windows PC.

It gets its own window, name and icon, in the Dock or the Start menu. Change it later by asking, from inside the app, and go back to any earlier version.

https://github.com/user-attachments/assets/5ff544c2-524e-4947-a73e-48eabcb872ff

Bring your own model: Claude, an open model through a provider (OpenRouter, Hugging Face, Together, Groq, Fireworks), or one running on your own computer (Ollama, LM Studio, vLLM). No account, no server, no subscription. You see what an app will cost before anything is spent.

Status: early. Works on macOS. Windows is in preview: it builds and passes its tests there, but only a few people have used it yet.

Install

There's no download yet: you build OpenVaffel from this repository, once. The first build takes a few minutes. OpenVaffel keeps using the folder you cloned, so leave it where it is.

macOS

  1. Install Rust from rustup.rs and Apple's command line tools (xcode-select --install in Terminal).

  2. In Terminal:

    git clone https://github.com/openvaffel/openvaffel
    cd openvaffel
    ./install.sh
    
  3. OpenVaffel opens when it's done. Later, open it from ~/Applications or Spotlight.

To update: git pull, then ./install.sh again.

Windows (preview)

  1. Install Git.

  2. Install Rust with rustup-init.exe from rustup.rs. When it offers to install the Visual Studio C++ build tools, say yes (they're needed to build).

  3. Windows 11 already has the WebView2 runtime. On Windows 10, get it from Microsoft.

  4. Open a new PowerShell window (so it sees Rust) and run:

    git clone https://github.com/openvaffel/openvaffel
    cd openvaffel
    powershell -ExecutionPolicy Bypass -File .\install.ps1
    

    (-ExecutionPolicy Bypass lets this one script run; PowerShell blocks downloaded scripts by default.)

  5. OpenVaffel opens when it's done. Later, open it from the Start menu: search for OpenVaffel. It lives in %LOCALAPPDATA%\Programs\OpenVaffel\OpenVaffel\OpenVaffel.exe.

No admin rights are needed. OpenVaffel and every app it makes get their own Start menu entry. The programs aren't signed yet, so Windows may show a SmartScreen warning the first time one opens: choose More info, then Run anyway.

To update: close OpenVaffel, git pull, then run the install line again.

First app

  1. Describe it. "A screen recorder that saves to Downloads", "flashcards to learn Spanish".
  2. Choose who builds it (the first time only). Pick Claude, an open model or a model on this computer, paste a key if it needs one, and see the price of an app with that model. OpenVaffel tries the key with one tiny request before saving it in your Keychain (Credential Manager on Windows).
  3. Watch it being made. A window opens with the app on the left and the build on the right: the plan, each part, and the model trying its own work. You can add notes while it builds, or stop it. At the end, try it and choose Save as App or Discard.
  4. Use it. It's in your Applications folder (on Windows, the Start menu) like any other app.
  5. Change it. Open the column on the right of the app and ask for a change. The last 20 versions are kept; go back to any of them. Going back changes the app's code, not what it has saved, and a change never rewrites your app's data.

Building stops at two limits you set under Spending (click the model name under the text box): $50 a month and $10 per app by default. They're there so a build that goes wrong can't keep spending. Models on your own computer have no limit.

What apps may do

There are three levels (details and limits in SECURITY.md):

  • Default: an offline web page. The camera, microphone and screen (macOS asks you first) and files you pick or drop in. An app's files load only from its own folder, and it has no internet.
  • App permissions, asked when the app needs them: the internet, notifications, a menu bar item, staying on top, global keyboard shortcuts, and one folder you choose. An app that shows live data (weather, prices) asks for the internet when it opens; Allow Internet Access in its menu turns it on or off at any time.
  • Full access to your computer: running programs and reading or changing any file, which includes reading your provider key from the Keychain. Asked in its own warning, and only when an app really needs it.

Permissions belong to a version of the app: after any change, it asks again, also while you try a change before saving it (a yes given while trying it carries over when you save that change). Apps made before the internet became a permission keep it until they change.

What your model sees. Your description, the app's code, and, when you change an app, screenshots and test results of it running with its saved data. All of it goes only to the model provider you chose.

How it works

describe ──► the builder (a model, in steps) ──► a draft folder ──► Save as App
                plan · write files · check            │
                in a simulated desktop                 ▼
                                           ~/Applications/<Name>.app
                                           (a renamed copy of the Runner)

Every app is the same small window program, the Runner, showing its own folder. Changing an app runs the builder again on a copy, checks it, and swaps it in as a new version; the app's saved data is never touched.

Sharing

Share… in an app's menu writes <App>.vaffel (its code and icon, never its data). Opening that file in OpenVaffel shows the app and its code before you save it. A shared app starts with no permissions and can never get full access.

The command line

target/release/openvaffel new "A tracker for my plants and when to water them"
target/release/openvaffel change "Plant Watering" "Add a 'water all' button"
target/release/openvaffel undo "Plant Watering"
target/release/openvaffel list
target/release/openvaffel reinstall      # after rebuilding: update every app's Runner

How it's built

  • runner/: the one window type (Tauri 2, the system's web view: WebKit on a Mac, WebView2 on Windows). It serves an app's folder (serve.rs), gives its page window.app (api.rs), enforces what it may do (powers/), and holds the making and change column (talk.rs). Every installed app is a renamed copy of it.
  • core/: providers and keys (Keychain, or Credential Manager on Windows), the builder in agent/ (the loop in turn.rs, its tools in tools.rs, spending in spend.rs), installing, versions and shared files.
  • cli/: the openvaffel command and the Helper, a local socket (a named pipe on Windows) that apps talk to for changes. It only answers OpenVaffel's own window and apps whose code it installed (cli/tests/helper_refuses.rs checks that).
  • runner/src/snap.rs (Runner --snap): a simulated desktop where the builder checks apps (screenshots, clicks, a fake camera, a sample folder) without touching anything real.
  • platform/: everything that differs between macOS and Windows (installing a copy, the Helper's line, child processes). No other part checks the system.

An app is a plain folder in ~/Library/Application Support/OpenVaffel/apps/ (%APPDATA%\OpenVaffel\apps\ on Windows):

app/            the app's code (HTML, CSS, JavaScript)
data/           what the app saves; changes never rewrite it
history/<n>/    the last 20 versions
icon.svg  app.json  grants.json  version.json

Testing without touching your apps

OPENVAFFEL_ROOT, OPENVAFFEL_INSTALL_DIR and OPENVAFFEL_ID_PREFIX give a separate setup; installed copies carry them in their bundle.

Uninstall

  1. Delete OpenVaffel.app and the apps it made from ~/Applications (each made app has OAAppFolder in its Info.plist).
  2. Delete ~/Library/Application Support/OpenVaffel (the apps' code, data and versions, and the spending record).
  3. In Keychain Access, delete the items named OpenVaffel (your provider keys).
  4. Delete the folder you cloned.

On Windows: delete %LOCALAPPDATA%\Programs\OpenVaffel and %APPDATA%\OpenVaffel, the apps' entries in the Start menu, and the OpenVaffel items in Credential Manager.

Contributing

See CONTRIBUTING.md. Security problems: SECURITY.md.

License

MIT. See LICENSE.

Explore related projects

Loading…