Giter Club home page Giter Club logo

terminal-portfolio's Introduction

Terminal Portfolio Website by Sat Naing

Terminal Portfolio Website by Sat Naing

ts Netlify Status Gitmoji

My perfolio website in terminal version developed with React, TypeScript and Styled-Components. Multiple themes supported and keyboard shortcuts can be used for some functionalities.

Blog Post: https://satnaing.dev/blog/posts/how-do-i-develop-my-terminal-portfolio-website-with-react

Features

  • Responsive Design ๐Ÿ“ฑ๐Ÿ’ป
  • Multiple themes ๐ŸŽจ
  • Autocomplete feature โœจ (TAB | Ctrl + i)
  • Go previous and next command โฌ†๏ธโฌ‡๏ธ
  • View command history ๐Ÿ“–
  • PWA and Offline Support ๐Ÿ”ฅ
  • Well-tested โœ…

Tech Stack

Frontend - React, TypeScript
Styling - Styled-Components
UI/UX - Figma
State Management - ContextAPI
Testing - Vitest, React Testing Library
Deployment - Netlify

Multiple Themes

Currently, this website supports 6 themes. Type themes in the terminal for more info. terminal-portfolio-themes

Lighthouse Score

Sat Naing Terminal Lighthouse Score

Running Locally

Clone the project

git clone https://github.com/satnaing/terminal-portfolio.git

Go to the project directory

cd terminal-portfolio

Remove remote origin

git remote remove origin

Install dependencies

npm install

Start the server

npm run dev

Inspiration and Credits

Here are some inspiration for this kind of terminal website. Only some features and functionalities are inspired by these following websites. All codes are written on my own.

Author

terminal-portfolio's People

Contributors

dependabot[bot] avatar satnaing avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

terminal-portfolio's Issues

Thank You!

The only issue is that the code was so easy to use that I kind of wish it took longer to use ๐Ÿ˜„

Thanks for sharing!

Why use useEffect instead of pure event listeners?

In this component: src/components/Terminal.tsx
You have:

  // focus on input when terminal is clicked
  const handleDivClick = () => {
    inputRef.current && inputRef.current.focus();
  };
  useEffect(() => {
    document.addEventListener("click", handleDivClick);
    return () => {
      document.removeEventListener("click", handleDivClick);
    };
  }, [containerRef]);

I see you've sprinkled some useEffect hooks to handle click events. Why not just use a simple addEventListener callback function instead?

I'm not trying to be an a@@ just generally curious and want to learn how other devs design their architectures.

Docker

Thanks for sharing this project. This is not a bug just a question. Tried to run this in my web provider via cpanel but it does not work. But is there any ways of running it in a docker container. Do you have ang docs that could help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.