Visit the live site: nookoffice.live
NookOffice provides a relaxing and productive environment by streaming hourly rotating music from Animal Crossing: New Horizons. It's perfect for studying, working, or just unwinding. The site also includes ambient rain sounds, a to-do list, and simple timers to help you stay focused.
This project is a fork and continuation of the original NookOffice by @cjlaserna. Please consider supporting her work!
- Hourly Music: Automatically plays the corresponding Animal Crossing: New Horizons music for the current hour.
- Ambient Sounds: Layer calming rain sounds over the music.
- To-Do List: A simple, locally-saved to-do list to keep track of your tasks.
- Timers: Quick access to 5, 10, and 15-minute timers.
- Notion-Embeddable: Easily embed NookOffice into your Notion pages.
NookOffice is a web application built with Astro. It uses client-side JavaScript to:
- Determine the current hour and select the appropriate music track.
- Play and loop background music and ambient sounds.
- Manage the to-do list state using the browser's
localStorage. - The user interface is built with Astro components and styled with CSS.
Want to run NookOffice locally or contribute to the project? Follow these steps.
- Node.js (v18 or higher recommended)
- npm (or
pnpm,yarn)
-
Clone the repository:
git clone https://github.com/VijiatJack/nookoffice.git
-
Navigate to the project directory:
cd nookoffice -
Install dependencies:
npm install
To start the local development server, run:
npm run devThis will start the application, typically on http://localhost:4321. The server supports Hot Module Replacement (HMR), so changes to your code will be reflected in the browser instantly.
To create a production-ready build of the site, run:
npm run buildThe optimized static files will be generated in the dist/ directory.
- A more robust and customizable timer.
- Music from other games in the Animal Crossing franchise.
- A simple integrated notepad.
- Original Concept: @cjlaserna
- Artist (Saino): The artist behind some of the visual assets.
- GIFs: Most other GIFs are from the official Animal Crossing Movie / Anime.
