|
1 | | -# React + Vite |
| 1 | +# 🌌 Stellar Scanner v1.1 |
| 2 | +### *No Man's Sky Spectral Classification & Resource Projection Tool* |
2 | 3 |
|
3 | | -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. |
| 4 | +**Stellar Scanner** is a lightweight, mobile-friendly utility designed for *No Man's Sky* explorers. It deconstructs the procedural "Stellar Class" strings (e.g., `B5pf`, `O2e`) found in the Galactic Map to provide instant intelligence on star temperature, required hyperdrive technology, planet biomes, and resource availability. |
4 | 5 |
|
5 | | -Currently, two official plugins are available: |
| 6 | +--- |
6 | 7 |
|
7 | | -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh |
8 | | -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh |
| 8 | +## 🛠️ Tech Stack |
| 9 | +* **Framework:** React 18 (Vite) |
| 10 | +* **Styling:** Tailwind CSS |
| 11 | +* **Logic:** Deterministic Regex-based Parsing |
| 12 | +* **Design:** Mobile-first Responsive UI |
9 | 13 |
|
10 | | -## React Compiler |
| 14 | +--- |
11 | 15 |
|
12 | | -The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation). |
| 16 | +## 🚀 Features |
13 | 17 |
|
14 | | -## Expanding the ESLint configuration |
| 18 | +* **Real-time Analysis:** UI reactively updates its theme (colors/borders) to match the star's color class as you type. |
| 19 | +* **Hyperdrive Guidance:** Instantly identifies if you need a **Cadmium**, **Emeril**, or **Indium** drive to warp. |
| 20 | +* **Biome Projection:** Uses the heat index ($0-9$) to predict dominant planet types (Scorched, Lush, or Frozen). |
| 21 | +* **Suffix Decoding:** * `f`: Water detection for aquatic exploration. |
| 22 | + * `p`: Peculiarity detection for anomalous/glitch planets. |
| 23 | + * `e/m`: Resource spikes for rare metallic yields. |
| 24 | +* **Scanner Aesthetic:** A high-contrast "Terminal" interface designed for second-screen use while gaming. |
15 | 25 |
|
16 | | -If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project. |
| 26 | +--- |
| 27 | + |
| 28 | +## 🧭 How to Read the Data |
| 29 | + |
| 30 | +The app parses the three core components of a Star's identity found in the Galactic Map: |
| 31 | + |
| 32 | +1. **The Class (Letter):** Determines the spectral color and the specific Chromatic Metal found native to the system. |
| 33 | +2. **The Heat Index (Number):** A scale where **0** is the hottest and **9** is the coolest. |
| 34 | + * **0–3:** High probability of Scorched/Desert worlds. |
| 35 | + * **4–6:** High probability of Lush/Tropical worlds (The "Goldilocks" zone). |
| 36 | + * **7–9:** High probability of Frozen/Tundra worlds. |
| 37 | +3. **The Oddities (Suffixes):** Procedural flags that modify the system's contents, such as the presence of oceans or orbital anomalies. |
| 38 | + |
| 39 | +--- |
| 40 | + |
| 41 | +## 🧭 Stellar Class Key |
| 42 | + |
| 43 | +| Color | Classes | Drive Required | Primary Resource | |
| 44 | +| :--- | :--- | :--- | :--- | |
| 45 | +| 🟡 **Yellow** | F, G | Standard | Copper | |
| 46 | +| 🔴 **Red** | K, M | Cadmium | Cadmium | |
| 47 | +| 🟢 **Green** | E | Emeril | Emeril | |
| 48 | +| 🔵 **Blue** | B, O | Indium | Indium | |
| 49 | +| 🟣 **Purple** | X, Y | Atlantid | Quartzite | |
| 50 | + |
| 51 | +*Note: Purple systems are hidden until the completion of 'In Stellar Multitudes'.* |
| 52 | + |
| 53 | +--- |
| 54 | +## 📥 Installation |
| 55 | + |
| 56 | +1. **Clone the repository:** |
| 57 | + ```bash |
| 58 | + git clone [https://github.com/yourusername/nms-stellar-scanner.git](https://github.com/yourusername/nms-stellar-scanner.git) |
| 59 | + ``` |
| 60 | +2. **Install dependencies:** |
| 61 | + ```bash |
| 62 | + npm install |
| 63 | +``` |
| 64 | +3. **Run Development Server:** |
| 65 | +```bash |
| 66 | +npm run dev |
| 67 | +``` |
| 68 | +4. **Build for Production:** |
| 69 | +```bash |
| 70 | +npm run build |
| 71 | +``` |
| 72 | + |
| 73 | +## 📝 License |
| 74 | +Distributed under the MIT License. |
| 75 | + |
| 76 | +Be safe, Traveler. - - [ 16 // 16 // 16 ] - - |
0 commit comments