A homepage disguised as a toy terminal!
Here are the currently available commands that can be run on the terminal.
Command | usage | description |
---|---|---|
ls |
ls [<path to dir>] |
List children of current working directory or given directory. |
tree |
tree [<path to dir>] |
Lists all children of current working directory or given directory in tree format |
cd |
cd [<path>] |
Move into given directory. If no path given move to root. |
open |
open <path to link> |
Open a link in a new tab. |
touch |
touch <path to link> <url> |
Create a new link |
mkdir |
mkdir <path to dir> |
Create a new directory |
rm |
rm <path to link> |
Delete link |
rmdir |
rmdir <path to dir> |
Delete dir and all contents |
search |
search [-e] ["<search string>"] |
Search with given search string (Must be in quotes to capture multiple words). Supply -e with a search URL or pre-defined engine (ddg , google , bing ) to change search engine |
clear |
clear |
Clear the terminal of past commands. |
theme |
theme [<theme name>] |
Change theme. |
mv |
mv <source path> <target path> |
"Move" file or directory. Allows for renaming/moving resources within the file tree. |
edit |
edit <link path> <url> |
Change the URL value for a given link. |
help |
help [<command>] |
Get information on commands. |
TermForm supports custom terminal themeing and some cool built-in themes.
The theming for the site is done through css variables. To add your own theme just:
<body>
with the name you want your theme to be calledTHEMES
array in src/cli.js
so the terminal knows about itYou should now be able to switch to your theme using the terminal!
Feel free to submit PRs or open issues to get popular themes added to this project!
Your TermPage file structure is stored in your browsers LocalStorage, if you encounter any bugs you can solve them by either modifying (open an issue for help) or deleting your LocalStorage. Please submit isses for any bugs you find!
edit
command for changing urlsmv
to rename dir and link namesexport
and import
for sharing your file structure with other machinesls
, and url view for ls