LiveTerm 让你快速搭建一个终端风格的网站,具有高度可定制、易用等特性,它由 Next.js 提供支持。而你拥有这么一个有意思的网站,只需要处理一个 config.json 文件。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Cveinnt d7eed87027
first commit
2 years ago
.husky first commit 2 years ago
demo first commit 2 years ago
public first commit 2 years ago
src first commit 2 years ago
.eslintrc.js first commit 2 years ago
.gitattributes Initial commit 2 years ago
.gitignore first commit 2 years ago
.prettierignore first commit 2 years ago
.prettierrc.json first commit 2 years ago
LICENSE first commit 2 years ago
README.md first commit 2 years ago
config.json first commit 2 years ago
next-env.d.ts first commit 2 years ago
next.config.js first commit 2 years ago
package.json first commit 2 years ago
postcss.config.js first commit 2 years ago
tailwind.config.js first commit 2 years ago
themes.json first commit 2 years ago
tsconfig.json first commit 2 years ago
vercel.json first commit 2 years ago
yarn.lock first commit 2 years ago

README.md

LiveTerm - Make Terminal styled websites in minutes!

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

Table of Contents:

Showcase


Default LiveTerm

Live version here


my personal website

Live version here

Quick Start

First, clone this repository:

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

Then, install dependencies:

yarn install

Now you can start development!

yarn dev

Or, you can build the project:

yarn build && yarn start

Configuration

Basic Configuration

Most of the configuration is done through the config.json file.

{
  "readmeUrl": //create a Github README and link it here!
  "title": //title of the website
  "name": //returned by the command of the same name
  "social": {
    "github": // your handle
    "linkedin": // your handle
  },
  "email": // your email
  "ps1_hostname": //hostname in prompt
  "ps1_username": "guest", // username in prompt
  "non_terminal_url": "W",
  "colors": {
    ... // you can use existing templates in themes.json or use your own!
  }
}

Feel free to change it as you see fit!

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.


different LiveTerm themes

Just replace "light" or "dark" in the "color" part of the config file!

Favicons

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

Banner

You may also want to change the output of banner command. To do that, simply paste your generated banner in src/utils/bin/utils.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 preference!

Deploy on Vercel

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

Check out Next.js deployment documentation for more details.

Credit

Based on M4TT72's awesome Terminal.