This is web app version of electerm app, running in browser, almost has the same features as the desktop version.
electerm is open-sourced terminal/ssh/sftp/telnet/serialport/RDP/VNC/Spice/ftp client(Linux, Mac, Windows, Android, HarmonyOS, iOS).
Besides mainstream Windows/macOS/Linux/Android, electerm also supports HarmonyOS, iOS, and older systems — Ubuntu 18, Windows 7, macOS 10+, and special Chinese Linux distributions such as UOS, Kylin, and LoongArch (both old-world and new-world), as well as RISC-V (riscv64) and PowerPC 64-bit little-endian (ppc64le) Linux.
Homepage / Downloads · Theme · Docker · Online demo · Android · Google Play · HarmonyOS · Apple App Store · Huawei AppGallery · Microsoft Store · Snap Store · deb repo · rpm repo
- 🌐 electerm online — Public free online electerm app
- 🤖 electerm AI — Free AI for electerm users
- 💻 electerm-web — Web app version running in browser (including mobile device)
- Works as a terminal/file manager, ssh/sftp/ftp/telnet/serialport/RDP/VNC/Spice client
- 🇺🇸 🇨🇳 🇧🇷 🇷🇺 🇪🇸 🇫🇷 🇹🇷 🇭🇰 🇯🇵 🇸🇦 🇩🇪 🇰🇷 Multi-language support(electerm-locales, contributions/fixes welcome)
- Double click to directly edit (small) remote files.
- All kind of auth methods: publicKey, password, ssh agent, certificates, otp, netbird etc.
- Support Zmodem(rz, sz), and Trzsz(trz/tsz).
- Manage SSH tunnels from the session toolbar. For jump-host connections, configure credentials for each host, use the SSH agent on the web server, or answer the login prompt.
- Customizable UI: themes, background image.
- Client-side widgets can style the app, listen for tab opens and status changes, and close tabs.
- Global/session proxy.
- Quick commands/triggers to do predefined tasks and automattic operations
- Sync data including bookmarks to github/gitee secret gist/webdav/custom server/electerm cloud
- Quick input/mirror input to one or all terminals.
- AI assistant integration (supporting multiple LLM API formats — OpenAI Chat Completions, OpenAI Responses, and Anthropic Messages) to help with command suggestions, script writing, and explaining selected terminal content, create bookmarks/themes, and agent mode to directly do terminal operations
- Init from url query string wiki
- Support mobile device(responsive design)
Since electerm-web v3, the application uses SQLite instead of NeDB for better performance and stability. If you're upgrading from v2 and have existing data, you'll need to migrate your data.
-
Install electerm-data-tool:
npm install -g electerm-data-tool
-
Export your data from NeDB:
# data folder should have a nedb-database child folder electerm-data-tool --data-path "/path/to/your/data-folder-which-has-nedb-database-sub-folder" --app-type web migrate
-
Start electerm-web v3 and go to the Data Sync panel
-
Import your data: Upload the
data.jsonfile in the Data Sync panel to restore your data
todo
todo
Would love to hear from you, please tell me what you think, submit an issue, Start a new discussion, create/fix language files or create pull requests, all welcome.
github sponsor
https://github.com/sponsors/electerm
kofi
wechat donate
- git
- Nodejs 24, npm, recommend use fnm to install nodejs/npm
- python/make tools, for Linux:
sudo apt install -y make python g++ build-essential, for MacOS: install Xcode, for Windows, installvs studioornpm install --global --production windows-build-tools
for Linux or Mac
curl -o- https://electerm.org/scripts/one-line-web.sh | bashor
wget -qO- https://electerm.org/scripts/one-line-web.sh | bashfor Windows
Invoke-WebRequest -Uri "https://electerm.org/scripts/one-line-web.bat" -OutFile "one-line-web.bat"
cmd.exe /c ".\one-line-web.bat"
Check electerm-web-docker
# tested in ubuntu16.04+/mac os 10.13+ only
# needs nodejs/npm, suggest using nvm to install nodejs/npm
# https://github.com/creationix/nvm
# with nodejs 22.x
git clone git@github.com:electerm/electerm-web.git
cd electerm-web
cp .sample.env .env
# To require login, set ENABLE_AUTH=1 and a unique SERVER_PASS in .env.
# edit DB_PATH to set db path, default path ./database
# to use same data as desktop electerm
# for Mac OS DB_PATH="/Users/<your-user-name>/Library/Application Support/electerm"
# for Linux OS DB_PATH="/home/<your-user-name>/.config/electerm"
# for Windows OS DB_PATH="C:\\Users\\<your-user-name>\\AppData\\Roaming\\electerm"
# edit DB_TYPE to choose db implementation, default sqlite
# DB_TYPE=custom uses your own db from config.js, see config.sample.js
npm config set legacy-peer-deps true
npm i
# start webpack dev server
npm start
# in a separate terminal session run app
npm run dev
#then visit http://127.0.0.1:5580 with browser
# code format check
npm run lint
# code format fix
npm run fixnpm run build
# run production server
npm run prod
# or ./build/bin/run-prod.sh
#then visit http://127.0.0.1:5577 with browser# Set SERVER_PASS to a unique password in .env
ENABLE_AUTH=1
# PUBLIC_ORIGIN=https://electerm.example.org
DISABLE_LOCAL_TERMINAL=1
# serve the whole app under a sub-path, e.g. https://host/electerm/
# BASE_PATH=electerm
# run prod app
./run-electerm-web.sh
# Check examples/nginx.conf examples/nginx-ssl.conf for domain binding nginx conf example
# examples/nginx-subpath.conf for the BASE_PATH setup aboveFor remote access, terminate TLS at the proxy and restrict access to the backend. By default the app checks the browser origin against the request Host. Configure the proxy to preserve the external host and port, or set PUBLIC_ORIGIN to pin the browser-facing HTTPS origin.
Sessions live in the server process. They expire after 30 minutes of inactivity or 12 hours total. Logout ends the session and closes its WebSockets. Restarting the process signs everyone out. When login is enabled, reload the page and sign in with your existing SERVER_PASS. Keep your existing data directory and configuration. The app ignores SERVER_SECRET and TOKEN_EXPIRED_TIME, so you can leave them in place. Clients using the former JWT API need to adopt cookie sessions.
Leave ENABLE_AUTH unset or empty for open access. Anyone who can reach the app can use it without signing in. Any nonempty value (including 0 or false) enables password login, as in previous releases.
MIT

