https://github.com/ezaco-dev/devmode
devmode is a programming tool when you are coding on your phone, it helps to filter files with symlinks.
https://github.com/ezaco-dev/devmode
android filter filtering handphone shell symlink termux termux-tool tool
Last synced: 3 months ago
JSON representation
devmode is a programming tool when you are coding on your phone, it helps to filter files with symlinks.
- Host: GitHub
- URL: https://github.com/ezaco-dev/devmode
- Owner: ezaco-dev
- License: mit
- Created: 2025-05-27T14:21:25.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-03T02:20:26.000Z (4 months ago)
- Last Synced: 2025-06-03T06:11:58.079Z (4 months ago)
- Topics: android, filter, filtering, handphone, shell, symlink, termux, termux-tool, tool
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# devmode 🛠️
---
## 🎯 About
`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.---
## ⚡ Features
- 📂 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---
## 🚀 Installation
### Android application required
- #### Text editor (Spck Editor, Spck Editor for Nodejs, Acode)
- #### Command Line Termux### 1. Setup Termux
```bash
pkg update && pkg upgrade
pkg install git rsync jq
```### 2. Clone Github
```bash
git clone https://github.com/ezaco-dev/devmode.git
cd devmode
mkdir config
```### 3. Give file permission
```bash
chmod +x devmode.sh
```### 4. Create a shortcut
```bash
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)
```
---
## 🗨️ Command List
### 1. Creating workspace
```bash
devmode set-new-workspace
```
```bash
devmode set
```### 2. Remove workspaces
```bash
devmode remove-workspace
```
```bash
devmode rm
```### 3. Run the program
```bash
devmode run
```
```bash
devmode
```
---## 🛠️ Usage
1. When creating a new workspace, select which files/folders to include.
2. Choose the default editor (SPCK, SPCK Node.js, or Acode).
3. Run the workspace — devmode copies files and starts automatic sync.
4. Press Ctrl+C to stop syncing.
5. Use the delete workspace command to remove workspaces you no longer need.
---
## ⚙️ Configuration
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.
---
## 📄 License
MIT License