Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.
/HomeTermPublic archive
forked from Jaredk3nt/HomeTerm

A "functioning" terminal as your browsers homepage!

Notifications You must be signed in to change notification settings

rcreasey/HomeTerm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

14 Commits

Repository files navigation

HomeTerm

A homepage disguised as a toy terminal!

HomeTerm

  • Dynamic prompt to interact with bookmarks
  • Built in Google search
  • Multiple themes with command for switching easily
  • Command history for repeating commands easily
  • Stores bookmarks on your machine so they persist past your session

Available Commands

Here are the currently available commands that can be run on the terminal.

Commandusagedescription
lsls [<path to dir>]List children of current working directory or given directory.
treetree [<path to dir>]Lists all children of current working directory or given directory in tree format
cdcd [<path>]Move into given directory. If no path given move to root.
openopen <path to link>Open a link in a new tab.
touchtouch <path to link> <url>Create a new link
mkdirmkdir <path to dir>Create a new directory
rmrm <path to link>Delete link
rmdirrmdir <path to dir>Delete dir and all contents
searchsearch [-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
clearclearClear the terminal of past commands.
themetheme [<theme name>]Change theme.
mvmv <source path> <target path>"Move" file or directory. Allows for renaming/moving resources within the file tree.
editedit <link path> <url>Change the URL value for a given link.
helphelp [<command>]Get information on commands.

Theming

Terminal Themes

TermForm supports custom terminal themeing and some cool built-in themes.

  • Dark & Light Default
  • Grey scale Dark
  • LaserWave
  • Nord
  • Dracula

The theming for the site is done through css variables. To add your own theme just:

  • add a new class for your <body> with the name you want your theme to be called
  • add all of the existing variables with your theme values. (Theme variable defaults can be found under the :root definition)
  • add the class name to the THEMES array in src/cli.js so the terminal knows about it

You 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!

Fixing issues

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!

Roadmap

Features

  • edit command for changing urls
  • mv to rename dir and link names
  • export and import for sharing your file structure with other machines
  • Tree view for ls, and url view for ls
  • Add flags for search to change search engine
  • Tab complete for commands and paths

Themes

  • NightOwl

About

A "functioning" terminal as your browsers homepage!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript76.9%
  • CSS19.2%
  • HTML3.9%