Cveinnt
00f8cb0e6b
|
3 years ago | |
---|---|---|
.husky | 3 years ago | |
demo | 3 years ago | |
public | 3 years ago | |
src | 3 years ago | |
.eslintrc.js | 3 years ago | |
.gitattributes | 3 years ago | |
.gitignore | 3 years ago | |
.prettierignore | 3 years ago | |
.prettierrc.json | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
config.json | 3 years ago | |
next-env.d.ts | 3 years ago | |
next.config.js | 3 years ago | |
package.json | 3 years ago | |
postcss.config.js | 3 years ago | |
tailwind.config.js | 3 years ago | |
themes.json | 3 years ago | |
tsconfig.json | 3 years ago | |
vercel.json | 3 years ago | |
yarn.lock | 3 years ago |
README.md
LiveTerm - Make terminal styled websites in minutes!
Highly customizable, easy-to-use, and minimal terminal styled website template, powered by Next.js.
To build a simple terminal styled website with LiveTerm, you only need to work with one file: config.json
. After you filled out the config file, simply run yarn install && yarn dev
to build your website!
LiveTerm can be used to build a variety of websites: a personal website, a project page, a startpage, or just a cool browser music player...you name it!
Source files for LiveTerm are all less than 150 lines of codes in length, with great emphasis towards readability and customizability.
Feel free to play with the web demo!
Showcase
Default LiveTerm
Live version: https://liveterm.vercel.app
my personal website
Live version: https://cveinnt.com
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
"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.
different LiveTerm themes
For a better preview of the themes, checkout the images in the demo
folder.
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.