Giter VIP home page Giter VIP logo

deskpot's Introduction

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"
        }
    }
}

deskpot's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.