devmode
is a shell script that simplifies managing local coding workspaces on Android or Linux devices. With devmode, you can create a workspace by selecting specific files and folders, run the workspace using popular editors (SPCK, SPCK Node.js, Acode), and automatically sync changes between your workspace and the original directory.
- 📂 Create a workspace by selecting files/folders from the current directory
- 🖥️ Choose your default editor: SPCK, SPCK Node.js, or Acode
- 🔄 Automatic file synchronization between the workspace and original directory using
rsync
- 🗑️ Easily delete workspaces along with synced files in the editor folder
- 🚫 Automatically filter out unnecessary files/folders like
node_modules
,.git
, and log files - 🛡️ Protect config files and build artifacts from being synced
-
Text editor (Spck Editor, Spck Editor for Nodejs, Acode)
-
Command Line Termux
pkg update && pkg upgrade
pkg install git rsync jq
git clone https://github.com/ezaco-dev/devmode.git
cd devmode
mkdir config
chmod +x devmode.sh
export DEVMODE_ALIAS="alias devmode='~/devmode/devmode.sh'"
[ -n "$PS1" ] && eval "$DEVMODE_ALIAS"
[ -n "$ZSH_VERSION" ] && source ~/.zshrc || ([ -n "$BASH_VERSION" ] && source ~/.bashrc || [ -f ~/.profile ] && source ~/.profile)
devmode set-new-workspace
devmode set
devmode remove-workspace
devmode rm
devmode run
devmode
-
When creating a new workspace, select which files/folders to include.
-
Choose the default editor (SPCK, SPCK Node.js, or Acode).
-
Run the workspace — devmode copies files and starts automatic sync.
-
Press Ctrl+C to stop syncing.
-
Use the delete workspace command to remove workspaces you no longer need.
Workspaces are saved as JSON files under ~/devmode/config/.
Editor folders are configured for Android (SPCK, Acode) or Linux paths.
File/folder filters exclude large folders, symlinks, and unwanted directories like node_modules.
MIT License