Git Product home page Git Product logo

fake-terminal-website's Introduction

Fake Terminal Website (FTW)

A fully customizable terminal-like-website

Preview

You can preview a live demo here with a raw FTW template or my personal website that also uses this template.

Desktop

Screenshot of the application running on a desktop device

Mobile

Screenshot of the application running on a mobile device

Technical details

This tool allows you to build your own website that looks like a terminal/console. To make this possible, it was implemented in a dynamic way. All you have to do is to configure a few things here and there and you have your own version.

Functionalities

  • Fully generic website easy to customize according to the user's needs
  • TAB autocompletion support
  • A few linux-like possible commands
  • Typewriter effect when showing a command result
  • Possible to skip the typewriter effect by doubleclicking anywhere
  • Sidenav with all the files to make it easy for people with no know-how to navigate through your website
  • Since the website is generic enough, you're able to create a language-checker function and associate different texts according to the user's browser language (my website version has support for both portuguese and english languages).

Future (TODO) functionalities

  • History navigation using Up and Down arrows
  • Ask for a password when using sudo command
  • email or similar command that allows the visitor to send an email directly to the website owner

Limitations

  • No support for internet explorer, showing the message NOTE: I see you're using internet explorer, this website won't work properly.

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

This template was built using Visual Studio Code but since it's a static webpage, you can even use the pre-installed windows notepad.

Configuring the website

Before you deploy the website, consider changing the following:

  • Go to js/main.js and replace all the text on both singleton vars:
    • configs: Contains all the text used on the website plus a few configurations.
    • files: All the fake files used on the website. These files are also used to be listed on the sidenav. Also please notice if a file content is a raw URL, when clicked/concatenated it will be opened on a new tab.
  • The page title on the index.html file.
  • The website color on the css/main.css file.
  • The images located at the img folder. The suggested sizes are 150x150 px for the avatar and 32x32/16x16 px for the favicon.

Resources

Notes

I strongly ask you a favor: PLEASE use an obfuscator tool for the JS file, that way people won't be able to copy your website's version JS and the only way that they can use the template is by visiting this repository. This obfuscator, provided by DaftLogic, looks really great and is the one used for my personal one.

Authors

  • Luís Bragança - Mostly everything

fake-terminal-website's People

Contributors

luisbraganca avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.