Skip to content

gvoze32/codecli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codecli

codecli is a command-line interface tool for creating and managing secure code-server IDE private users using SystemD and Docker services.

Features

  • Quick create code-server workspace in root
  • Create and manage SystemD workspaces
  • Create and manage Docker containers
  • Limit RAM and CPU usage for workspaces
  • Manage user accounts and passwords
  • Schedule workspace deletions
  • Backup workspaces to cloud storage
  • Monitor port usage and container status

Installation

Make sure you have root access before doing this installation.

sudo curl -fsSL https://jayanode.com/api/mirror/codecli/build?raw=true | sudo bash

Usage

codecli must be run as root. The general syntax is:

codecli [command] [argument] [argument]

To see all available commands:

codecli help

To quickly create a code-server workspace in root:

codecli quickcreate

Supported Environments

  • Debian-based systems (Ubuntu 24.04)

Backup

codecli supports backing up workspaces to various cloud storage providers using Rclone.

To set up a backup, use the codecli backup command and follow the prompts.

Updating

To update codecli to the latest version, run:

codecli update

License

This project is licensed under the MIT License.

Information

If you have any problem in using codecli, please open a new issue.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages