Skip to content

codekidX/deskpot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deskpot

Create desktop application UI using React and native webview binding for Go. This is just a tool to help you develop desktop apps faster by scaffolding and providing commands that can run and package your application for different platforms.

Although the deskpot tool creates a pretty basic React boilerplate for you, you can use any UI framework of your choice. The tool only expects you to have a main.go file as your entry point to the application and embed required inlined html with the binary.

See also

Development Status

Feature Mac Windows Linux
Webview binding
Hot reloading: dpot run
Packaging: dpot pack
Menu binding
Notifications
Tray support 📦 📦 📦
Keyboard 📦 📦 📦
Installer

Installing

go get -u github.com/codekidX/deskpot/cmd/dpot

Getting Started

Make sure you have NPM installed.

Create

dpot new myapp

Once the scaffolding is done, run this command to start with your development

Develop

dpot run

This will start your webpack-dev-server with the webview application. This will hot-reload your changes.

Package

Supported currently only for mac.

dpot pack mac

This will create your Deskpot developed app inside out/1.0/myapp. You can drag and drop this to your Applications folder.

Configuration

The configuration file for common Deskpot variables are stored inside deskpot.json. You can change this as per your requirements.

See also

Mac App Categories

The icon will use default deskpot icon or you can specify your own Icon.icns path.

{
    "identifier": "com.deskpot.myapp",
    "name": "Myapp",
    "description": "This application is created with Deskpot",
    "version": "1.0",
    "run_id": "123781212",
    "osx_category": "public.app-category.developer-tools",
    "publish": {
        "icon": "DEFAULT",
        "copyright": {
            "year": "2021",
            "name": "Deskpot Owner"
        }
    }
}

About

Build and ship react application with native webview renderer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages