tdgrunenwald / webash Goto Github PK
View Code? Open in Web Editor NEWA personal landing page that appears and functions like a terminal
A personal landing page that appears and functions like a terminal
e.g.
$ ls
Total 123
drwxr-xr-x. tyler tyler 123 projects
-rw-r--r--. tyler tyler 456 about
lrwxrwxrwx. tyler tyler 21 google -> http://google.com/
Should be a basic TAB complete for a good bash-like feel.
For starters, just TAB complete documents and directories
Right now, the files are represented as a JS object in webash.js. It would be better to load these from an external JSON file when the page is loaded.
About should have an actual summary.
Replace blog folder with something useful.
Add more links as appropriate.
Text elements written to the "terminal" should be given an appropriate ID, and then styled with CSS.
E.g. ls output of a file should be given the id "file", whose color should be adjusted via the style sheet.
In practice it would probably never be a problem, but the infinite recursion in the prompt may cause a memory issue. Should be done in a loop instead so that each call to the callback gets to return.
This doesn't work and it should:
ls ../../
This is obscure but it also should work
ls projects/../projects
Instead, each of the .. is expanded to the abs working directory path minus the current level
if working dir is / this doesn't work:
cd var/www
while this does:
cd /var/www
they both should work
pressing UP and DN arrows should cycle through command history. This doesn't need to persist between sessions, just in memory for now
Will also need to provide content to view (e.g. resume, about, etc.). Probably do this by clearing the screen, then loading static content from external html files into a full screen element in the "terminal"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.