App Manager for GOLEM to install, delete or kill app in Terminal.


Keywords
native-app, linux-desktop-app, linux, cli, terminal-based, app-manager, golem-apps, golem-cli
License
MIT
Install
npm install golem-cli@2.0.24

Documentation

golem-cli 2.0.24

(!!) UPDATE NOW! NEW APP INSTALL AND BUILD LOCALLY WITH SDK. NO MORE LARGE FILE DOWNLOAD.

golem-cli is an App Manager for GOLEM to install, delete or kill app in Terminal.

_enhanced

2.x.x has higher contrast and more vivid color for video and images in every GOLEM apps. Web surfing should be look beautiful and entertaining.

When the app is in half window on the screen will enable the thin scrollbar feature, which giving a little more spacious look when the 2 app windows in the half-window put together on the screen.

install

You need nodejs to be installed in order for it to work. If you already have, now install with npm. If you have permission issue, add sudo before the npm will helps.

$ npm install -g golem-cli

To upgrade,

$ npm i -g golem-cli --upgrade

_try

$ golem install --app artstation

cli

$ golem help

_commands

flags explain
help display help messages
id --app name get app id
list list installed apps
cache-list display all apps cache size
cache --app name display app cache size
flush-all delete all apps cache
flush --app name delete app cache
fetch-list list downloadable apps
install --app name install app (new SDK build & install)
remove --app name delete app
kill --app name kill running app
run --app name run app with full performance
run-1c --app name run app with 1-core cpu
run-2c --app name run app with 2-core cpu
create-icon --app name create/repair icon link
remove-icon --app name remove icon link
mock-fetch-list --app name test fetch app list offline (developer)
mock-sdk-install --app name (beta) build and install app with SDK

_mock

Mock server is here. If you want to contribute to the project. You can run simulation offline completely.

To testing mock-sdk-install, you need to install golem-sdk,

$ sudo npm i -g --unsafe-perm=true --allow-root golem-sdk

mock-sdk-install is in beta.

_upgrade

(!!) Whenever you upgraded golem-sdk, you should upgrade all installed app with,

$ golem upgrade-all

_facts

The only file size will growing is the app cache which located in ~/.config/golem-APPNAME-hash.

flush-cache option will never deletes cookies, but flush app data option in the app will delete everything.

To trim the all apps cache,

$ golem flush-all

To trim selected app cache,

$ golem flush-cache --app <name>

automate

_cleaning

To automate the cache trimming after using them for a very long time. You can add lines to crontab to create jobs.

To flush all apps cache,

@monthly golem flush-all

To specificic app, repeat the lines with different name to flush more apps,

@monthly golem flush-cache --app <name>
@monthly golem flush-cache --app <name>

debug

Provided a good convenience when you need to test your own code, you can simply using the dedicated devSwitch in golem_core.js. Which GOLEM mostly is a BASH language at it's core.

/**
 * Developer Options.
 * `console.log` is testing mode.
 * `exec` is live mode.
 */
const devSwitch = exec

MIT