Terminal style a WebApp
It was cloned from https://github.com/m4tt72/terminal and we changed some things as below
- Reduced 2 themes dark and light . We love and support dark mode for saving the planet (📝 change.org)
- Project codes were cleaned from semicolon endings.
- Removed config.json file
- Added environment approach ( .env file )
You can see and test on live demo
![](
Terminal style a WebApp
It was cloned from https://github.com/m4tt72/terminal and we changed some things as below
- Reduced 2 themes dark and light . We love and support dark mode for saving the planet (📝 change.org)
- Project codes were cleaned from semicolon endings.
- Removed config.json file
- Added environment approach ( .env file )
You can see and test on live demo
$ npm install mj-terminal
OR
$ yarn add mj-terminal
In this .env.sample
file you can see which variables the App is using.
- rename
.env.sample
to.env
file
".env" file example
NEXT_PUBLIC_TITLE=MiaJupiter Server
NEXT_PUBLIC_META_DESCRIPTION=MiaJupiter | Shaman Coders
NEXT_PUBLIC_META_AUTHOR=MiaJupiter Developer Team
NEXT_PUBLIC_FAVICON='/assets/web-icon.png'
NEXT_PUBLIC_THEME='dark'
NEXT_PUBLIC_GITHUB_USER=miajupiter
NEXT_PUBLIC_WEBSITE = https://miajupiter.com
NEXT_PUBLIC_COMPANY_INFO = "https://raw.githubusercontent.com/miajupiter/.github/main/profile/README.md"
# Welcome Banner Option
# NEXT_PUBLIC_BANNER = "Welcome to MiaJupiter Server\nSimplicity is a form of high intelligence\n"
# OR URL
NEXT_PUBLIC_BANNER = https://raw.githubusercontent.com/miajupiter/.github/main/public/terminal.banner.txt
NEXT_PUBLIC_VERSION=${npm_package_version}
in project folder, run the following command
$ docker build -t mj-terminal:lastest .
$ docker run -dit \
-p 127.0.0.1:80:3000 \
--name mj-terminal mj-terminal:lastest
$ docker create -dit \
-p 127.0.0.1:80:3000 \
--name mj-terminal mj-terminal:lastest
)
$ npm install mj-terminal
OR
$ yarn add mj-terminal
In this .env.sample
file you can see which variables the App is using.
- rename
.env.sample
to.env
file
".env" file example
NEXT_PUBLIC_TITLE=MiaJupiter Server
NEXT_PUBLIC_META_DESCRIPTION=MiaJupiter | Shaman Coders
NEXT_PUBLIC_META_AUTHOR=MiaJupiter Developer Team
NEXT_PUBLIC_FAVICON='/assets/web-icon.png'
NEXT_PUBLIC_THEME='dark'
NEXT_PUBLIC_GITHUB_USER=miajupiter
NEXT_PUBLIC_WEBSITE = https://miajupiter.com
NEXT_PUBLIC_COMPANY_INFO = "https://raw.githubusercontent.com/miajupiter/.github/main/profile/README.md"
# Welcome Banner Option
# NEXT_PUBLIC_BANNER = "Welcome to MiaJupiter Server\nSimplicity is a form of high intelligence\n"
# OR URL
NEXT_PUBLIC_BANNER = https://raw.githubusercontent.com/miajupiter/.github/main/public/terminal.banner.txt
NEXT_PUBLIC_VERSION=${npm_package_version}
in project folder, run the following command
$ docker build -t mj-terminal:lastest .
$ docker run -dit \
-p 127.0.0.1:80:3000 \
--name mj-terminal mj-terminal:lastest
$ docker create -dit \
-p 127.0.0.1:80:3000 \
--name mj-terminal mj-terminal:lastest