Custom Terminal

Custom Terminal

Custom Terminal

Personal Project
2 weeks
Backend and Shell Development
Terminal
Terminal

Approach

Technology Stack:

  • Next.js: Utilized for server-side rendering and building the web application's frontend.

  • Docker: Employed for containerization, ensuring consistent environments for development and deployment.

  • TypeScript: Used to add type safety and improve code reliability.

  • Tailwind CSS: Integrated for styling the terminal UI, providing utility-first CSS classes.

Features

LiveTerm Template:

  • Configuration via config.json: Users can easily customize their terminal-based website by modifying the config.json file.

  • Theming Support: Multiple pre-configured themes in themes.json can be selected for different visual styles.

  • Custom Banner and Favicons: Users can personalize the terminal's banner and favicons.

Command and Interface Implementation:

  • Commands.ts: Script located in src/utils/bin/commands.ts defines the behavior and output of terminal commands.

  • Interactive Terminal UI: Mimics a command-line interface where users can type and execute commands.

Challenges

Integrating Docker:

  • Setting up Dockerfile and docker-compose.yml to ensure the application runs smoothly in a containerized environment.

  • Handling environment-specific configurations and their dependencies within Docker.

Dynamic Theming:

  • Facilitating theme selection and application from themes.json into the rendering pipeline of the terminal interface.

  • Ensuring CSS styles from Tailwind CSS are adaptable for multiple themes and configurations.

Deployment on Vercel:

  • Leveraging Vercel for easy, continuous deployment and automatic updates on code commits.

  • Configuring vercel.json for optimal compatibility with Next.js and Docker.

Configuration and Customization

Basic Configuration:

  • Configuring config.json: Majority of the customizations are done here, including the website title, ASCII art, social links, and color schemes.

Advanced Customization:

  • Modifying Source Code: Users can go beyond basic configurations by editing the TypeScript and CSS directly to tweak the terminal's behavior and appearance to their preferences.


Other Projects

Let's Connect!

Let's Connect!

Let's Connect!

© Audran TJ 2024. All rights Reserved.

Made by

Humans

on

Earth

© Audran TJ 2024. All rights Reserved.

Made by

Humans

on

Earth