• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    JavaScript
  • Created over 4 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A "functioning" terminal as your browsers homepage!

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.

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.

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

More Repositories

1

homepage

Custom homepage for use locally in browser
HTML
518
star
2

laserwave

A retro outrun / cyberpunk inspired VS Code theme
139
star
3

StartOS

A startpage based on the operating systems of the 90s
JavaScript
48
star
4

phoenix-padding

Simple phoenix setup for padded window management
JavaScript
13
star
5

startpage

Mobile first startpage
JavaScript
12
star
6

greenery

Repo for the "Greenery" VSCode theme
JavaScript
8
star
7

VSThemeGenerator

Theme Generator for VS Code
JavaScript
8
star
8

Overstats

Overwatch match-by-match statistics tracker
CSS
7
star
9

kana-trainer

Minimal mobile-first study site for hiragana & katakana
JavaScript
3
star
10

radient

Quick and easy editor for radial gradient combos
JavaScript
3
star
11

Marky

A simplified, single file markdown to HTML parser
JavaScript
3
star
12

danggoodcode.com

My personal website
JavaScript
3
star
13

PtH

pass the hash - python
Python
2
star
14

SpaceIdle

JavaScript
2
star
15

CheaterCheater-ios

Swift
2
star
16

cheatercheater

Java
2
star
17

hooks-intro

A slidedeck made for a workshop teaching a quick intro to react hooks
JavaScript
2
star
18

remark-outer-toc

Generate a TOC from markdown and spit it back out
JavaScript
2
star
19

Jaredk3nt.github.io

Personal Website
HTML
2
star
20

personal-site

My updated personal website
Vue
2
star
21

enums

Functional enum implementation based on @rbuckton's enum proposal
JavaScript
2
star
22

vscode-theme-builder

Build VS Code themes in a friendly UI
JavaScript
1
star
23

tetherApi

RESTful api for Tether webapp
JavaScript
1
star
24

Kent

My own personal CSS framework
CSS
1
star
25

Tests

Tests for in-class assignments
Java
1
star
26

luden

Very dark VS Code theme with clean high contrast colors
1
star
27

playlisterizer

Site using the Spotify API to analayze and classify playlists for better curation
JavaScript
1
star
28

critterpedia

Mobile first critterpedia+ for ACNH
JavaScript
1
star
29

marknote

Website designed for mobile that allows you to take notes in markdown
JavaScript
1
star