fake-terminal-website

授权协议 GPL-3.0 License
开发语言 SHELL
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 山煜祺
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

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 - F# Make" 是一个跨平台的构建自动化系统。由于它与F#集成,因此可以使用.NET Framework和函数式编程的所有优点,包括扩展的类库,强大的调试器和集成的开发环境(如Visual Studio或MonoDevelop),它们提供语法突出显示和代码完成功能。 简单示例 #r "tools/FAKE/tools/FakeLib.dll" // include Fake li

  • Fake-server 是一个模拟服务器响应的工具,具有通用性和非侵入性。它被用来解决测试过程中服务器加载缓慢或者是不能运行的问题。其理念是创建一个网络服务器来监听不同端口,并针对每个不同的请求进行不同的配置。这里的"配置"是指某些参数(posting the parameters)和服务器作出的响应。 它的优点: 不需要代码说明 (as long as the external server e

  • 问题内容: 我已经使用Django大约2年了,我一直害怕使用的一个功能:伪造迁移。 我到处都看了很多,我能获得的最多信息是从文档中获得的,该文档指出: – fake 告诉Django将迁移标记为已应用或未应用,但没有实际运行SQL来更改数据库架构。 如果高级用户手动应用更改,则可以直接操作当前迁移状态。请注意,使用–fake冒着将迁移状态表置于需要手动恢复以使迁移正确运行的状态的风险。 –fake

  • homebridge-fake-rgb An homebridge plugin that create an Fake RGB Bulb HomeKit accessory Installation Follow the instruction in homebridge for the homebridge server installation. The plugin is publishe

  • Welcome to the Windows Terminal, Console and Command-Line repo This repository contains the source code for: Windows Terminal Windows Terminal Preview The Windows console host (conhost.exe) Components

  • 我们正在GKE上的k8s集群上运行一个应用程序。 我们正在使用一个nginx入口控制器作为外部负载平衡器服务,比如说,https://12.345.67.98 . 我们面临的一个问题是,当我们直接访问上述URL上的负载平衡器时,我们会收到一个证书警告,因为使用了自签名的“Kubernetes入口控制器假证书”。 我们只有将我们的域(例如app.our company.com)映射到Kubernet