💻 Build terminal styled websites in minutes!

Overview

💻 LiveTerm - build terminal styled websites in minutes!

Highly customizable, easy-to-use, and minimal terminal styled website template, powered by Next.js.

Building a simple website with LiveTerm only takes minutes, and you only need to work with one file: config.json. After you cloned this repository, simply run yarn install && yarn dev and start editing config.json to build your website!

LiveTerm can be used to build a variety of websites:

Feel free to play with the web demo above!

📸 Showcase


LiveTerm with different themes


my personal website

🚀 Ship your LiveTerm site in less than 5 minutes

LiveTerm requires the yarn package manager. You can install yarn here.

Simply run the following commmand in your terminal:

sh -c "$(curl -fsSL https://raw.github.com/Cveinnt/LiveTerm/main/install/install.sh)"

This will install LiveTerm to the current directory. You can start building your website with:

cd LiveTerm && yarn dev

Start editing config.json and try saving and see the updated changes!

Alternatively, you can clone this repository to a location of your choosing

git clone https://github.com/Cveinnt/LiveTerm.git && cd LiveTerm

Then install dependencies and start developing there:

yarn install && yarn dev

Docker Usage

First, clone the project and edit config.json to your liking. Then run the following to start the container in the background:

docker-compose up -d

If you know what you were doing, you can also try changing Dockerfile & docker-compose.yml! Learn more about Docker here.

📄 Configuration

Basic Configuration

90% of LiveTerm's configurations are done through the config.json file.

{
  "readmeUrl": // create a Github README and link it here!
  "title": // title of the website
  "name": // your name, included in 'about' command
  "ascii": // ascii art to display
  "social": {
    "github": // your handle
    "linkedin": // your handle
  },
  "email": // your email
  "ps1_hostname": "liveterm" // hostname in prompt
  "ps1_username": "visitor", // username in prompt
  "resume_url": "../resume.pdf", // path to your resume
  "non_terminal_url": "W",
  "colors": {
    "light": {
      ...
    },
    "dark": {
      ... // you can use existing templates in themes.json or use your own!
    }
  }
}

Feel free to change it as you see fit!

Themes

You can find several pre-configured themes in themes.json, and you can replace the colors in config.json with the theme color you like! The themes are based on the themes on this website.

For a better preview of the themes, checkout the images in the demo folder.

Favicons

Favicons are located in public/, along with the other files you may want to upload to your website. I used this website to generate favicons.

Banner

You may also want to change the output of the banner command. To do that, simply paste your generated banner in src/utils/bin/commands.ts. I used this website to generate my banner.

Advanced Configuration

If you want to further customize your page, feel free to change the source code to your liking!

🌐 Deploy on Vercel

The easiest way to deploy a Next.js app is to use the Vercel Platform from the creators of Next.js.

You can install vercel cli and follow the instruction here.

You can also connect your github account to vercel and have vercel automatically deploy the github repository for you.

Credit

Based on M4TT72's awesome Terminal.

Comments
  • Error 21

    Error 21

    Hello, I got this error: ERROR: [Errno 21] Is a directory: 'install' And if I move install.sh at the root I got: ERROR: There are no scenarios; must have at least one.

    Thanks

    opened by picarda 10
  • Could've forked?

    Could've forked?

    Was there something with the original project that prevented you from forking and creating a PR? It could have been a collaborative effort to make Terminal a better project for all, instead of taking it a different route by copying the repo, making minor esthetic modifications and pushing it as your own.

    opened by m4tt72 6
  • Error when i run yarn dev

    Error when i run yarn dev

    $ next dev /root/LiveTerm/node_modules/react-dom/cjs/react-dom-server.browser.development.js:145 var textEncoder = new TextEncoder(); ^

    ReferenceError: TextEncoder is not defined at /root/LiveTerm/node_modules/react-dom/cjs/react-dom-server.browser.development.js:145:19 at Object. (/root/LiveTerm/node_modules/react-dom/cjs/react-dom-server.browser.development.js:6733:5) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10) at Module.load (internal/modules/cjs/loader.js:653:32) at tryModuleLoad (internal/modules/cjs/loader.js:593:12) at Function.Module._load (internal/modules/cjs/loader.js:585:3) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/root/LiveTerm/node_modules/react-dom/server.browser.js:9:7)

    opened by Jkudjo 3
  • Issue on install using docker compose

    Issue on install using docker compose

    I receive this error upon launching of the website via a browser, this is on the default docker install as shown in the readme:

    Failed to compile

    ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[3].oneOf[8].use[2]!./src/styles/global.css SyntaxError: /home/node/app/config.json: Unexpected token } in JSON at position 160 at parse ()

    This error occurred during the build process and can only be dismissed by fixing the error.

    opened by undt 3
  • Command Readme doesn't work

    Command Readme doesn't work

    whenever i'm typing the readme command it doesn't even accepts the enter button it's just doesn't work

    here is the readme link i had inserted: https://raw.githubusercontent.com/tassosmak/master/README.md

    opened by tassosmak 1
  • Error while installing

    Error while installing

    yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages... error [email protected]: The engine "node" is incompatible with this module. Expected version ">=12.22.0". Got "10.19.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

    OS: Linux Mint Una x86_64

    opened by KarmaLikesAxolotls 1
  • Implementing an actual ls?

    Implementing an actual ls?

    Hi, thanks for making this! Do you have any plans to implement an actual ls and mkdir function as opposed to defaulting to a hardcoded response? I want to put personal files on my website and having those would be great. For example, https://github.com/Jaredk3nt/HomeTerm

    opened by sirjohnsonson 1
  • more terminal feature

    more terminal feature

    Will this repo support multi-line feature in future? For example:

    java -Xmx1024M -Xms1024M \
        -jar minecraft_server.1.18.2.jar \
        nogui 
    

    (Maybe this is a little complex, I am trying to add a command parser but failed😥)

    opened by badcodebuilder 1
  • Error on install

    Error on install

    error [email protected]: The engine "node" is incompatible with this module. Expected version ">=12.22.0". Got "10.19.0" error Found incompatible module. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. This error occurs when I try to run the first step in the install process, sh -c "$(curl -fsSL https://raw.github.com/Cveinnt/LiveTerm/main/install/install.sh)"

    opened by okcoder2019 1
  • Update scrolling for api commands

    Update scrolling for api commands

    When you run a command such as help, the terminal will automatically scroll down to the bottom of the output and to the next prompt. This doesn't happen for api commands such as weather Miami. This PR changes that and matches the api command behavior to the regular ones.

    opened by mjh316 1
  • Run application with Docker

    Run application with Docker

    I am hoping someone will find this useful. Has added instruction in README too. Simple as it gets.

    Docker build & run time on my machine was (Stat) : real 2m4.055s user 0m0.606s sys 0m0.088s

    opened by diggajupadhyay 1
  • Added credit to homepage

    Added credit to homepage

    added "by cveinnt to the homepage "Liveterm" splash as a link to the liveterm github

    benefit: allows developers to make any github links their own for ease of use by end user

    opened by Morgandri1 0
  • echo command no longer returns html tags

    echo command no longer returns html tags

    Description

    As stated in issue 25, you can insert html tags into the prompt and it will act as intended.

    Fix

    The replace function was used to replace html tags with "". On linux, by default, it does not parse characters like < and would need to escape it. Example:

    2022-06-22-102033_804x217_scrot

    For now it is a simple fix but as the other commands have cheesy responses, maybe instead of "removing" the tags and still outputting the text within them, respond with "Nice try!" ?

    Closes: #25

    opened by dominicbraam 0
  • added feature to exclude commands based on user config

    added feature to exclude commands based on user config

    1. Added function to exclude commands. It basically checks if it is in the excluded_commands list in the config file.
    2. Implemented the above function within:
      • input.tsx for command prompt colour
      • commands.ts so that it would not show the command when help is run
      • shell.ts so that the command does not run
    3. Added a section to exclude the commands within the config file.
    4. Added a section in README.md to help users with the feature.
    opened by dominicbraam 0
  • echo command could expose app for script injection sort of...

    echo command could expose app for script injection sort of...

    if you write echo <a href="https://www.google.com"> this is link </a> on your app, it will show this is link that redirect you to google... I was not able to run javascript code but I can see it could potentially lead to script injection. Or may be it's not that big of a deal... I am not sure ...

    opened by jinseok9338 0
Owner
Vincent Wu
I like ml, art, and philosophy.
Vincent Wu
Nepkit Connector – Build Dashboards & Admin Tools in minutes

Nepkit Connector Use Nepkit Connector to connect Nepkit Dashboard Builder to the database on your server or local machine. Supported databases: Postgr

Nepkit 3 Jun 3, 2022
A web component that allows you to run high level programming languages on your websites (static websites included!)

Code-Runner-Web-Component A web component that allows you to run high level programming languages on your website via the public Piston API Show your

Marketing Pipeline 28 Dec 16, 2022
📺 useless little service to view websites as ascii in the terminal

browscii useless little service to view websites as ascii screenshot in the terminal Usage curl the service and add the site you want to see as url qu

Jen Stehlik 2 Aug 26, 2022
Candy Shop is a JavaScript library that allows DAOs, NFT projects and anyone to create an NFT marketplace on Solana in minutes!

Candy Shop (IN BETA) Intro Candy Shop is a JavaScript library that allows DAOs, NFT projects and anyone to create an NFT marketplace on Solana in minu

LIQNFT 111 Dec 15, 2022
The simplest way to use AWS/GCP/Azure. From code to cloud in a few minutes.

Utopiops Utopiops is the best way for teams of any size to use cloud (AWS/Azure/GCP), with or without prior experience. We provide a platform that hel

utopiops 98 Dec 25, 2022
A web interface/extension to create minutes of the meeting using A.I.

Inspiration Being in one of the technical chapters of VIT, I and my team realised how chapters and clubs need to continuously engage with their new re

Nanduri Jayant Vishnu 4 Sep 8, 2022
Want to preserve your loved one's voices for eternity? Narrate anything using the a voice imprint that can be made in as little as 10 minutes of audio samples. Easy as pie.

Want to preserve your loved one's voices for eternity? Narrate anything using the a voice imprint that can be made in as little as 10 minutes of audio samples. Easy as pie.

Ari 15 Nov 29, 2022
simple-remix-blog is a blog template built using Remix and TailwindCSS. Create your own blog in just a few minutes!

simple-remix-blog is a blog template built using remix.run and TailwindCSS. It supports markdown and MDX for the blog posts. You can clone it and star

José Miguel Álvarez Vañó 8 Dec 8, 2022
⚡⚡NextJS Full NFT Marketplace Application Running with Alchemy SDK. Deploy In Minutes with Smart Contracts Attached

+ Alchemy SDK Easy Polygon NFT Marketplace NextJS App Be sure to watch my Youtube video so you can learn and follow along! ** THE FILES ATTACHED TO TH

Net2Dev 9 Nov 16, 2022
Fastest way to get financial data from Plaid into your Postgres database. Go from zero to live in 5 minutes without a single line of code.

Venice Venice is a the fastest way to get financial data from Plaid into your Postgres database. Zero to production in 5 minutes without a single line

Venice 93 Dec 12, 2022
Run a completely functional backend in just a few minutes.

Genezio Genezio is a platform for developers that want to write a backend in a very simple way. Just write a simple class using your preferred program

null 6 Dec 12, 2022
Forked from hayes0724/shopify-packer Modern development tool for Shopify using Webpack 5. Easy to extend and customize, zero build config, compatible with Slate and existing websites.

Shopify Packer Modern development tool for Shopify using Webpack 5. Easy to extend and customize, zero build config, comes with starter themes and com

Web & Mobile | eCommerce | Full-Stack Developer 4 Nov 24, 2022
LinkedIn-Clone - a LinkedIn clone with firebase, redux and styled components

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: ya

Asher Price 1 Jan 3, 2022
Trivia-Quiz é uma aplicação baseada no jogo Perguntados, em que consiste em um quiz de diferentes questões. Feito com ReactJS, JavaScript, Styled-Components, Axios, React-Feather e Open Trivia Database.

TRIVIA-QUIZ Trivia-Quiz é uma aplicação baseada no jogo Perguntados, em que consiste em um quiz de diferentes questões. Feito com ReactJS, JavaScript,

Daniela Farias 2 Feb 6, 2022
Bookstore app built using React, Redux, and Styled Components

Bookstore Bookstore is an app that allows you to display a list of added books, add new book and remove a book. It is built using React, Redux, and St

Anselem Odimegwu 11 Dec 12, 2022
A SolidJS starter template with solid-labels, solid-sfc and solid-styled

solid-sfc-styled-labels-starter This is a SolidJS starter template for easily setting up solid-sfc, solid-styled and solid-labels. Development Install

Alexis H. Munsayac 9 Mar 25, 2022
A Gatsby-based starter theme with e-commerce styled components

This beautiful theme from the Matter Design Team gives you the styling and scaffolding for your next e-commerce site. You can customize to your heart'

null 48 Jan 3, 2023
In this project, I built a simple HTML list of To Do tasks. The list is styled according to the specifications listed later in this lesson. This simple web page is built using webpack and served by a webpack dev server.

Awesome books:JavaScript Using Modules In this project, I built a simple HTML list of To Do tasks. The list is styled according to the specifications

 Hassan Momanyi 10 Nov 25, 2022
A demo repository to play around with Vivid! Styled with Tailwind CSS

vivid-demo A demo repository to play around with Vivid! Mess around with a copy of our landing page to see how Vivid works! Learn more about Vivid at

Aryaman Khandelwal 5 Dec 15, 2022