You are browsing as a guest. Sign up (or log in) to start making projects!

1h 37m 1s logged

Devlog 02 - Building Mission Control

Started building my Stardance project: Mission Control - a retro terminal-style personal website built with HTML, CSS, vanilla JavaScript, and Vite.

The idea is pretty simple: it’s a fake command line interface where you actually type commands into the terminal to do things like search the web, check the weather, view NASA’s Astronomy Picture of the Day, and manage a small todo list.

Building the Interface

I started with a Vite scaffold and the basic terminal HTML already in place, then built everything else on top of it. The terminal uses the VT323 font with the classic green-on-black color scheme to give it that old-school terminal look.

At first I added CRT scanline effects because I thought they looked cool, but after using the site for a bit I realized they just made everything harder to read. I ended up removing them and keeping the design much simpler. Honestly, it looks better this way :)

Making the Terminal Work

The command system works by splitting the user’s input into a command and its arguments before figuring out what to run. I also added command history with the arrow keys, which makes it feel a lot more like a real terminal.

Current commands include:

  • help
  • clear
  • about
  • whoami
  • search <query>
  • weather <city>
  • apod
  • todo add
  • todo list
  • todo remove

Adding Live APIs

The first API I hooked up was the weather command. It uses Open-Meteo to find the city’s coordinates and then fetches the current weather, displaying the temperature and windspeed right in the terminal.

I also added the apod command using NASA’s Astronomy Picture of the Day API. The API key is stored in a .env file, and instead of just returning a link, it displays the image directly in the terminal.

Finally, I added a simple todo system using localStorage, so everything stays saved even after refreshing the page.

Wrapping Up

This is probably the last devlog before I ship. There are still a couple of small things I want to clean up, but it’s finally starting to feel like a complete project :)

0
76

Comments 0

No comments yet. Be the first!