4

GitHub - gianlucajahn/macOS-react: A macOS desktop clone built with TypeScript R...

 1 year ago
source link: https://github.com/gianlucajahn/macOS-react
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

MacOS in React

A MacOS Clone built in TypeScript React with SASS and Framer Motion, tested with Jest.

68747470733a2f2f692e6962622e636f2f53305339624e332f62616e6e65722e706e67

Desktop showcase without any modals

Short Description

A MacOS Clone built with React. Imitates the usual desktop features, wallpaper settings, system settings, an integrated weather app (and more to come). Detailed feature-list can be found below.

red_circle Demo

test_tubeLive Demo available. Click "Live Demo" to open it.

Showcase

You can see images and a GIF of the project in user interaction below. The GIF does not show all features of the application, it only shows the most elementary user interactions.

68747470733a2f2f692e696d6775722e636f6d2f377356696471482e706e67

68747470733a2f2f692e696d6775722e636f6d2f384b66795669362e706e67

68747470733a2f2f692e696d6775722e636f6d2f6d43553548346c2e706e67

showcase.gif

Features

  • heavy_check_mark Bootup Window similar to the original MacOS
  • heavy_check_mark System Settings, Color and Wallpaper preferences
  • heavy_check_mark Local storage and session storage saving user preferences
  • heavy_check_mark Integrated Weather App including geolocation to fetch forecasts for the user's location
  • heavy_check_mark Wallpaper Selection window to switch desktop backgrounds
  • heavy_check_mark Custom Context Menu and System Navigation Bar
  • heavy_check_mark Smooth Animations w/ Framer Motion
  • x (WIP) Calculator and Calendar Apps

Stack

  • Framework: React
  • Language: TypeScript
  • Motion Library: Framer Motion
  • Component Library: none
  • Stylesheet: SCSS

Motivation

My initial motivation in building this was honestly not to build it at all. Because as you can see by this project's folder structure, it was in fact not supposed to be a mac os clone but just a simple weather app when I was starting out. I was trying to revisit API usage to get muscle memory and a better understanding of working with APIs in general down but ended up being a bit bored and built a MacOS around it.

handshake Contributions

This project is open to contributions! I am still working on some features (Calculator, Calendar, VSCode, Music App) and there's probably a ton of things to add/change/fix. Feel free to fork it and create a PR!

Credits

PuruVJ: I built this clone entirely inspired by this MacOS Clone in Svelte, although I reverse-engineered it, meaning I didn't re-use anything from the project.

All rights to all pictures, products and names on this website belong to Apple Inc. I only used them to build an environment for myself to learn coding in React with. This page is not being used commercially. If you are an owner of the copyrighted material, please let me know if you have any issues with this page and I'll take it down immediately


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK