Skip to content

NovodoOfficial/novodo-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Novodo app template

Making an app

Follow the steps below to create an app

Fork the repo

Fork this repo

Fork image

You will see this screen

Fork UI

Add a description (optional)

Fork description

Create the fork

Create fork

Configure app

Open the app.json file, it should look like this:

{
    "details": {
        "name": "My app",
        "description": "Template app",
        "snapshotting": {
            "version": "1.0.0",
            "name": "First release!",
            "notes": "This is the first release of my app"
        }
    },
    "supported": [
        "Windows",
        "Linux",
        "Mac"
    ],
    "buttons": [
        {
            "name": "Run",
            "color": {
                "text": "#ffffff",
                "bg": "9cda4a"
            },
            "file": "run"
        },
        {
            "name": "Open UI",
            "color": {
                "text": "fff",
                "bg": "#1aa3e8"
            },
            "file": "ui"
        }
    ]
}

Details

Use the details key to add info like the app name and description with snapshotting features to discribe the latest version and the updates

Operating systems

The supported key is a supported OS (operating system) list, users can filter for different OS types

Buttons

The buttons key is how the user can execute scripts related to your program


Each button has its own settings:

{
    "name": "Run",
    "color": {
        "text": "#ffffff",
        "bg": "#05a000"
    },
    "file": "run"
}

This would be displayed as:

<style> .actions { display: flex; gap: 15px; } .actions button { border: none; color: white; font-size: 18px; padding: 10px; flex-grow: 1; cursor: pointer; border-radius: 5px; font-weight: bold; } </style>
Run

And would run:

scripts/run.py


Another example:

{
    "name": "Open UI",
    "color": {
        "text": "white",
        "bg": "#1aa3e8"
    },
    "file": "ui"
}

This would be displayed as:

Open UI

And would run:

scripts/ui.py


Another example:

{
    "name": "Send request",
    "color": {
        "text": "#333",
        "bg": "#f7f700"
    },
    "file": "request"
}

This would be displayed as:

Send request

And would run:

scripts/request.py


Multiple buttons look like this:

Run Open UI Send request

A uninstall button will be added automatically at the end like this:

Run Open UI Send request Uninstall

Programming the app

After adding buttons to trigger functions in the app, you need to make the scripts that are triggered, all button scripts are in scripts/[script key].py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages