WebDesk App Market client
Go to file
2024-11-21 12:31:38 +01:00
go.mod purgin git history cause accidentally upload vscode 2024-11-21 12:31:38 +01:00
go.sum purgin git history cause accidentally upload vscode 2024-11-21 12:31:38 +01:00
LICENSE purgin git history cause accidentally upload vscode 2024-11-21 12:31:38 +01:00
main.go purgin git history cause accidentally upload vscode 2024-11-21 12:31:38 +01:00
README.md purgin git history cause accidentally upload vscode 2024-11-21 12:31:38 +01:00

WebDesk 3rd party App Market client

This allows you to interact with custom (known as 3rd party) App Market repositories of WebDesk applications.

Features

  • Listing currently uploaded apps
  • Uploading new apps
  • Editing app info
  • Delete apps

Prerequisites

  • Go (1.23.1 or later, older will work with go.mod changes to the version)

Installation

  1. Clone the repository:

    git clone https://git.fluffy.pw/matu6968/webdesk-app-market-client
    
  2. Go to the project directory:

    cd webdesk-app-market-client
    
  3. Build the binary:

    go build -o appmarketcli
    
  4. Execture the binary:

    ./appmarketcli
    

Configuration

In the .env file this is the only thing you can set

SERVER_URL=https://localhost:8080
AUTH_TOKEN=bearer-token-here # Grab token from .env file of the server

How does this work

Command usage is explained in the program if you don't specify any command.

!IMPORTANT!

You will need to set a token to interact with your server on anything outside of viewing apps in your .env file otherwaise actions like deleting apps will fail.