Skip to content

OpenCoven/open-sesame

Repository files navigation

OpenSesame

Generic macOS application shell template for OpenCoven projects.

This is a stripped-down native translation of the durable shape from BunsDev/previewer:

  • a small site catalog
  • selectable preview targets
  • browser-style chrome
  • embedded WKWebView
  • reload and open-in-browser controls

It intentionally does not include the Next.js/v0 stack, share-link compression, Radix UI, Tailwind, or generated asset bundle. Those belong to the web preview app, not the native template shell.

Run

swift run OpenSesame

Configure Sites

The app falls back to SiteCatalog.defaultCatalog. To customize it without editing Swift source, copy the example configuration:

cp open-sesame-sites.example.json open-sesame-sites.json
swift run OpenSesame

Each site must use an http or https URL:

{
  "sites": [
    {
      "name": "Local App",
      "url": "http://localhost:3000"
    }
  ]
}

Test

swift test

Template Notes

The reusable model lives in Sources/OpenSesameCore. The macOS shell lives in Sources/OpenSesameApp.

Start new variants by replacing SiteCatalog.defaultCatalog, adding persistence, or swapping the BrowserWebView pane for a project-specific surface.

About

A SwiftUI macOS shell that pins web apps with a Dia-style sidebar.

Resources

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors