Skip to content

Commit d7c02f8

Browse files
committed
MoonBase to MoonLight
1 parent a742968 commit d7c02f8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+13999
-14001
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/ewowi/MoonBase?utm_source=oss&utm_medium=github&utm_campaign=ewowi%2FMoonBase&labelColor=171717&color=FF570A&link=https%3A%2F%2Fcoderabbit.ai&label=CodeRabbit+Reviews)
1+
![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/ewowi/MoonLight?utm_source=oss&utm_medium=github&utm_campaign=ewowi%2FMoonBase&labelColor=171717&color=FF570A&link=https%3A%2F%2Fcoderabbit.ai&label=CodeRabbit+Reviews)
22

3-
# MoonBase / MoonLight
3+
# MoonLight
44

55
<img width="500" src="https://github.com/user-attachments/assets/de0ab735-d547-462e-b7e3-c3f819bf9283" />
66

7-
* [MoonBase](https://github.com/ewowi/MoonBase) and [MoonLight](https://github.com/MoonModules/MoonLight) are [MoonModules](https://moonmodules.org) projects.
8-
* MoonBase = [ESP32 SvelteKit](https://github.com/theelims/ESP32-sveltekit) + [ESPLiveScript]([https://github.com/hpwit/StarLight/tree/StarAsAService](https://github.com/hpwit/ESPLiveScript)) + [StarBase](https://github.com/ewowi/StarBase).
9-
* MoonLight = MoonBase + [StarLight as a Service](https://github.com/MoonModules/StarLight/tree/StarAsAService).
7+
* [MoonLight](https://github.com/ewowi/MoonLight) is a [MoonModules](https://moonmodules.org) project.
8+
* MoonLight consist of 2 'Features': MoonBase and MoonLight
9+
* MoonBase = [ESP32 SvelteKit](https://github.com/theelims/ESP32-sveltekit) + [ESPLiveScript]([https://github.com/hpwit/StarLight/tree/StarAsAService](https://github.com/hpwit/ESPLiveScript)) + [StarBase](https://github.com/ewoudwijma/StarBase).
10+
* MoonLight = MoonBase + [StarLight as a Service](https://github.com/ewowi/StarLight/tree/StarAsAService).
1011
* Discuss on [Discord/MoonLight](https://discord.gg/TC8NSUSCdV).
11-
* **MoonBase is the current work in progress repo**, see [Star-Mod-Base-Light-Moon-Svelte-Live](https://moonmodules.org/Star-Mod-Base-Light-Moon-Svelte-Live). MoonLight will be updated later.
12+
* **ewowi/MoonLight is the current work in progress repo**, see [Star-Mod-Base-Light-Moon-Svelte-Live](https://moonmodules.org/Star-Mod-Base-Light-Moon-Svelte-Live).
1213
* Work in progress is shown in the [Kanban board](https://github.com/users/MoonModules/projects/2). You are more then welcome to add issues, comment on issues or help with issues.
1314
* See also [ESP32-sveltekit POC](https://github.com/theelims/ESP32-sveltekit/issues/68)
14-
* Documentation see [MoonBaseDocs](https://ewowi.github.io/MoonBase/).
15+
* Documentation see [MoonLightDocs](https://ewowi.github.io/MoonLight/).
1516

16-
[Release 0.5.2](https://github.com/ewowi/MoonBase/releases/tag/v0.5.2) (Jan 21, 2025):
17+
[Release 0.5.2](https://github.com/ewowi/MoonLight/releases/tag/v0.5.2) (Jan 21, 2025):
1718

1819
<img src="https://github.com/user-attachments/assets/c655d610-53eb-4dd3-8e9e-0cfa23b97bb4"/>
1920

docs/components.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ modals.open(ConfirmDialog, {
156156

157157
This modal is based on [svelte-modals](https://svelte-modals.mattjennings.io/) where you can find further information.
158158

159+
🌙
159160
## MoonBase components
160161

161162
<img width="30" src="https://github.com/user-attachments/assets/b0e8af99-ed76-422a-8bd1-bfbd9e0f4c44"/>

docs/connections/mqtt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
### Server
88

9-
[SystemStatus.h](https://github.com/ewowi/MoonBase/blob/main/lib/framework/SystemStatus.h) and [SystemStatus.cpp](https://github.com/ewowi/MoonBase/blob/main/lib/framework/SystemStatus.cpp)
9+
[SystemStatus.h](https://github.com/ewowi/MoonLight/blob/main/lib/framework/SystemStatus.h) and [SystemStatus.cpp](https://github.com/ewowi/MoonLight/blob/main/lib/framework/SystemStatus.cpp)
1010

1111
### UI
1212

13-
[SystemStatus.svelte](https://github.com/ewowi/MoonBase/blob/main/interface/src/routes/system/status/SystemStatus.svelte)
13+
[SystemStatus.svelte](https://github.com/ewowi/MoonLight/blob/main/interface/src/routes/system/status/SystemStatus.svelte)

docs/connections/ntp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
### Server
88

9-
[SystemStatus.h](https://github.com/ewowi/MoonBase/blob/main/lib/framework/SystemStatus.h) and [SystemStatus.cpp](https://github.com/ewowi/MoonBase/blob/main/lib/framework/SystemStatus.cpp)
9+
[SystemStatus.h](https://github.com/ewowi/MoonLight/blob/main/lib/framework/SystemStatus.h) and [SystemStatus.cpp](https://github.com/ewowi/MoonLight/blob/main/lib/framework/SystemStatus.cpp)
1010

1111
### UI
1212

13-
[SystemStatus.svelte](https://github.com/ewowi/MoonBase/blob/main/interface/src/routes/system/status/SystemStatus.svelte)
13+
[SystemStatus.svelte](https://github.com/ewowi/MoonLight/blob/main/interface/src/routes/system/status/SystemStatus.svelte)

docs/general/customizingsveltekit.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
### Customize UI and app specific
44

5-
This is a checklist, More info on most of the items can be found in the ESP32-Sveltekit specific documentation [ESP32 SvelteKit](https://ewowi.github.io/MoonBase/esp32sveltekit/), [Build Tools](https://ewowi.github.io/MoonBase/gettingstarted/), [Front end](https://ewowi.github.io/MoonBase/sveltekit/) and [Back End](https://ewowi.github.io/MoonBase/statefulservice/)
5+
This is a checklist, More info on most of the items can be found in the ESP32-Sveltekit specific documentation [ESP32 SvelteKit](https://ewowi.github.io/MoonLight/esp32sveltekit/), [Build Tools](https://ewowi.github.io/MoonLight/gettingstarted/), [Front end](https://ewowi.github.io/MoonLight/sveltekit/) and [Back End](https://ewowi.github.io/MoonLight/statefulservice/)
66

7-
* {custom} = MoonBase / MoonLight
7+
* {custom} = MoonLight or name of a forked repo
88

99
* docs/media/
1010
* add {custom}-logo.png (used in mkdocs.yml)

docs/general/gettingstarted.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## Installation - Developer
44

55
* Open GitKraken Press + / New tab and select Clone a Repo (Or another git management tool)
6-
* Select the folder on your local drive where to copy to (e.g. /github/MoonModules)
7-
* Copy [MoonBase.git](https://github.com/ewowi/MoonBase.git) or [MoonLight.git](https://github.com/MoonModules/MoonLight.git) and paste in the URL field of GitKraken
6+
* Select the folder on your local drive where to copy to (e.g. /github/ewowi)
7+
* Copy [MoonLight.git](https://github.com/ewowi/MoonLight.git) and paste in the URL field of GitKraken
88
* Press clone the repo
99
* Open VSCode
1010
* Install the PlatformIO IDE extension
@@ -24,15 +24,15 @@
2424

2525
WIP...
2626

27-
[install](https://github.com/ewowi/MoonBase/blob/main/docs/general/index.html)
27+
[install](https://github.com/ewowi/MoonLight/blob/main/docs/general/index.html)
2828

2929
* release 0.5.4, for latest build follow installation developer
3030
* This is WIP, looks like issue with erasing the board and setting the partitions right ...
3131
* Made using [esp-web-tools](https://esphome.github.io/esp-web-tools/)
3232

3333
## Configuration
3434

35-
* In case of a newly flashed board, a Wifi access point (AP) will be created. Go to your Wifi settings on your computer and find the new Wifi AP (starts with MoonBase, MoonLight or ESPSvelteKit)
35+
* In case of a newly flashed board, a Wifi access point (AP) will be created. Go to your Wifi settings on your computer and find the new Wifi AP (starts with MoonLight)
3636
* If the board AP is not showing up in your WiFi list it might be helpful to fully erase the board before flashing (vscode 👽, Erase flash)
3737
* Connect to the AP (no password needed), a captive portal will show with a welcome screen.
3838
* There seems to be an issue in the captive portal showing Connection to device lost repeatedly. In that case, close the captive portal and open the app in a brower using 192.168.4.1
@@ -46,9 +46,7 @@ WIP...
4646
* Alternatively, find the IP by checking your router or by looking at the log in the Serial Monitor (see above)
4747
* (sometimes it takes a while to load pages for the first time, might be related to caching of javascript, on the issuelist)
4848

49-
## MoonBase specific
50-
51-
At the moment MoonBase is the work in progress repo and temporary also contains LED functionality (MoonLight / Animations), will move later to the MoonLight repo.
49+
## MoonLight specific
5250

5351
* Connect a 256 leds panel to the board on Pin 2 or 16
5452

@@ -60,17 +58,17 @@ At the moment MoonBase is the work in progress repo and temporary also contains
6058
* Create a node, select the 'hardcoded animations' (Random, Sinelon, Rainbow, Sinus), you should see it on your panel
6159
* Create more nodes with other animations, they will all run at the same time
6260
* Live Scripts: Go to MoonBase / Files and create or upload Live scripts.
63-
* Examples: [Live scripts](https://github.com/ewowi/MoonBase/tree/main/misc/livescripts)
61+
* Examples: [Live scripts](https://github.com/ewowi/MoonLight/tree/main/misc/livescripts)
6462
* Back to Animations, select any of the Live scripts you uploaded, check the Led Panel and / or Serial Output for results
6563
* Open the Edit area and change things in the code, see the Serial Output for results
6664

6765
<img width="350" src="https://github.com/user-attachments/assets/56bdd019-927b-40cc-9199-9bc6344f8d8b" />
6866

6967
## Developing
7068

71-
* Read the [ESP32 Sveltekit docs](https://ewowi.github.io/MoonBase/esp32sveltekit/)
72-
* Read [Customizing Sveltekit](https://ewowi.github.io/MoonBase/general/customizingsveltekit/)
73-
* Instead of cloning the repo directly from the MoonBase or MoonLight as described above, create a fork first so you have your own environment to make changes to. See also Pull Requests below.
69+
* Read the [ESP32 Sveltekit docs](https://ewowi.github.io/MoonLight/esp32sveltekit/)
70+
* Read [Customizing Sveltekit](https://ewowi.github.io/MoonLight/general/customizingsveltekit/)
71+
* Instead of cloning the repo directly from MoonLight as described above, create a fork first so you have your own environment to make changes to. See also Pull Requests below.
7472
* UI dev: configure vite.config.ts, go to interface folder, npm install, npm run dev. A local webserver starts on localhost. UI changes will directly be shown via this webserver
7573
* Changes made to the UI are not always visible in the browser, issue with caching / max-age (WIP), clear the browser cache to see latest UI.
7674

@@ -79,14 +77,14 @@ At the moment MoonBase is the work in progress repo and temporary also contains
7977
* Want to make changes: fork the repo and submit pull requests, see [creating-a-pull-request-from-a-fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork):
8078

8179
* Login to your own github account
82-
* Fork: go to [ewowi/MoonBase](https://github.com/ewowi/MoonBase/) and press Fork, uncheck 'Copy the main branch only' and press Create Fork. You will be moved to your fork of MoonBase
80+
* Fork: go to [ewowi/MoonLight](https://github.com/ewowi/MoonLight/) and press Fork, uncheck 'Copy the main branch only' and press Create Fork. You will be moved to your fork of MoonLight
8381
* Press Branches, press New Branch, give it a name e.g. background-script and press Create new Branch, click on background-script
8482

8583
<img width="90" src="https://github.com/user-attachments/assets/588d0854-bac1-4b70-8931-ba6db4c94248" />
8684

8785
* Go to the file you want to change press edit and make the changes. E.g. change executable.execute("main") to executable.executeAsTask("main")
8886
* Press Commit Changes..., enter a commit message and an extended description, Press Commit Changes
89-
* Go back to the homepage of your fork [myfork/MoonBase](https://github.com/ewoudwijma/MoonBase). There is a message inviting to create a Pull Request. Press Compare & pull request.
87+
* Go back to the homepage of your fork [myfork/MoonLight](https://github.com/ewoudwijma/MoonLight). There is a message inviting to create a Pull Request. Press Compare & pull request.
9088

9189
<img width="350" alt="Screenshot 2025-04-15 at 14 59 15" src="https://github.com/user-attachments/assets/410aa517-99eb-4907-b1a3-db7f38abb194" />
9290

@@ -95,4 +93,4 @@ At the moment MoonBase is the work in progress repo and temporary also contains
9593

9694
<img width="350" alt="Screenshot 2025-04-15 at 15 02 33" src="https://github.com/user-attachments/assets/53bc8b2e-a078-46a5-b926-25d581ec8202" />
9795

98-
* The upstream repo (MoonBase or MoonLight) can now process this PR
96+
* The upstream MoonLight repo can now process this PR

docs/general/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "MoonBase",
2+
"name": "MoonLight",
33
"version": "2025.03.30",
44
"home_assistant_domain": "esphome",
55
"funding_url": "https://esphome.io/guides/supporters.html",

docs/general/pull-requests.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<img width="300" src="https://github.com/user-attachments/assets/8750fc86-cbde-46ef-9392-9d6810340b52" />
44

55

6-
MoonBase has made a number of commits which are general purpose and could be added to upstream [ESP32 SvelteKit](https://github.com/theelims/ESP32-sveltekit). Pending changes are ready to add in pull-requests as they are branched from the upstream repo.
6+
MoonLight has made a number of commits which are general purpose and could be added to upstream [ESP32 SvelteKit](https://github.com/theelims/ESP32-sveltekit). Pending changes are ready to add in pull-requests as they are branched from the upstream repo.
77
Below lists are ordered in terms of likelyhood to be accepted:
88

99
## Pending - Ready to PR
@@ -13,21 +13,21 @@ Below lists are ordered in terms of likelyhood to be accepted:
1313
* ⚠️ [compile-warnings](https://github.com/theelims/ESP32-sveltekit/commit/8a4dc4171c37d04754744f76513c2d2a08b0662d): role and tab index
1414
* 💡 [service-name-string](https://github.com/theelims/ESP32-sveltekit/commit/05a7bd9a12999e087d0b05a62859d263679cc76a): Allow service names to be non string literals (e.g. done in MoonBase-Modules)
1515
* ⚠️ [EventSocket emitEvent: use String type](https://github.com/theelims/ESP32-sveltekit/commit/54c4a44eb95be2fe344bb78f022c8afcbbd8c731)
16-
* ⚠️ [no-emit-no-clients](https://github.com/ewowi/MoonBase/commit/c024c2ff656511c67625b3dce3642d6560724482)
16+
* ⚠️ [no-emit-no-clients](https://github.com/ewowi/MoonLight/commit/c024c2ff656511c67625b3dce3642d6560724482)
1717
* 💡 [system-status-metrics](https://github.com/theelims/ESP32-sveltekit/commit/352cfe3e376b25f7470ad4f764cdf54f7069c645): use max instead of first
18-
* 💡 [help-to-docs](https://github.com/theelims/ESP32-sveltekit/commit/2c2d2fae5c37b220bc61dfb1ba6655485de6547f): Help link to github.io docs e.g. [animations](https://ewowi.github.io/MoonBase/moonbase/module/animations)
19-
* 💡 [System metrics](https://ewowi.github.io/MoonBase/system/metrics/)
18+
* 💡 [help-to-docs](https://github.com/theelims/ESP32-sveltekit/commit/2c2d2fae5c37b220bc61dfb1ba6655485de6547f): Help link to github.io docs e.g. [animations](https://ewowi.github.io/MoonLight/moonbase/module/animations)
19+
* 💡 [System metrics](https://ewowi.github.io/MoonLight/system/metrics/)
2020
* Loops per second (performance)
21-
* 💡 [System status](https://ewowi.github.io/MoonBase/system/status/)
21+
* 💡 [System status](https://ewowi.github.io/MoonLight/system/status/)
2222
* Loops per second (performance)
2323
* 💡 [menu-href-unique](https://github.com/theelims/ESP32-sveltekit/commit/92acbd046e478bccf7eec469e0dab5dcda53c0ae): Allow multiple modules using same Module.svelte
2424
* 💡 [measure-battery-pin](https://github.com/theelims/ESP32-sveltekit/commit/bcd3abd1f981d48d7a76c5ee71fc99f4fe54eb08)
2525

2626
## Pending - WIP
2727

28-
* [File Manager](https://ewowi.github.io/MoonBase/moonbase/files/)
29-
* [Instances](https://ewowi.github.io/MoonBase/moonbase/module/instances/)
30-
* [MoonBase-Modules](https://ewowi.github.io/MoonBase/moonbase/modules/)
28+
* [File Manager](https://ewowi.github.io/MoonLight/moonbase/files/)
29+
* [Instances](https://ewowi.github.io/MoonLight/moonbase/module/instances/)
30+
* [MoonBase-Modules](https://ewowi.github.io/MoonLight/moonbase/modules/)
3131

3232
## Submitted
3333

docs/index.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,21 @@ hide:
44
- toc
55
---
66

7-
# MoonBase / MoonLight
7+
# MoonLight
88

99
<img width="500" src="https://github.com/user-attachments/assets/de0ab735-d547-462e-b7e3-c3f819bf9283" />
1010

11-
* [MoonBase](https://github.com/ewowi/MoonBase) and [MoonLight](https://github.com/MoonModules/MoonLight) are [MoonModules](https://moonmodules.org) projects.
12-
* MoonBase = [ESP32 SvelteKit](https://github.com/theelims/ESP32-sveltekit) + [ESPLiveScript]([https://github.com/hpwit/StarLight/tree/StarAsAService](https://github.com/hpwit/ESPLiveScript)) + [StarBase](https://github.com/ewowi/StarBase).
13-
* MoonLight = MoonBase + [StarLight as a Service](https://github.com/MoonModules/StarLight/tree/StarAsAService).
11+
* [MoonLight](https://github.com/ewowi/MoonLight) is a [MoonModules](https://moonmodules.org) project.
12+
* MoonLight consist of 2 'Features': MoonBase and MoonLight
13+
* MoonBase = [ESP32 SvelteKit](https://github.com/theelims/ESP32-sveltekit) + [ESPLiveScript]([https://github.com/hpwit/StarLight/tree/StarAsAService](https://github.com/hpwit/ESPLiveScript)) + [StarBase](https://github.com/ewoudwijma/StarBase).
14+
* MoonLight = MoonBase + [StarLight as a Service](https://github.com/ewowi/StarLight/tree/StarAsAService).
1415
* Discuss on [Discord/MoonLight](https://discord.gg/TC8NSUSCdV).
15-
* **MoonBase is the current work in progress repo**, see [Star-Mod-Base-Light-Moon-Svelte-Live](https://moonmodules.org/Star-Mod-Base-Light-Moon-Svelte-Live). MoonLight will be updated later.
16+
* **ewowi/MoonLight is the current work in progress repo**, see [Star-Mod-Base-Light-Moon-Svelte-Live](https://moonmodules.org/Star-Mod-Base-Light-Moon-Svelte-Live).
1617
* Work in progress is shown in the [Kanban board](https://github.com/users/MoonModules/projects/2). You are more then welcome to add issues, comment on issues or help with issues.
1718
* See also [ESP32-sveltekit POC](https://github.com/theelims/ESP32-sveltekit/issues/68)
18-
* Documentation see [MoonBaseDocs](https://ewowi.github.io/MoonBase/).
19+
* Documentation see [MoonLightDocs](https://ewowi.github.io/MoonLight/).
1920

20-
[Release 0.5.2](https://github.com/ewowi/MoonBase/releases/tag/v0.5.2) (Jan 21, 2025):
21+
[Release 0.5.2](https://github.com/ewowi/MoonLight/releases/tag/v0.5.2) (Jan 21, 2025):
2122

2223
<img src="https://github.com/user-attachments/assets/c655d610-53eb-4dd3-8e9e-0cfa23b97bb4"/>
2324

docs/moonbase/files.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
* confirmDelete: when delete button pressed
2222
* socket files / handleFileState (->folderListFromBreadCrumbs)
2323

24-
Using component FileEdit, see [Components](https://ewowi.github.io/MoonBase/components/#fileedit)
24+
Using component FileEdit, see [Components](https://ewowi.github.io/MoonLight/components/#fileedit)
2525

2626
### Server
2727

28-
[FilesService.h](https://github.com/ewowi/MoonBase/blob/main/src/MoonBase/FilesService.h) and [FilesService.cpp](https://github.com/ewowi/MoonBase/blob/main/src/MoonBase/FilesService.cpp)
28+
[FilesService.h](https://github.com/ewowi/MoonLight/blob/main/src/MoonBase/FilesService.h) and [FilesService.cpp](https://github.com/ewowi/MoonLight/blob/main/src/MoonBase/FilesService.cpp)
2929

3030
### UI
3131

32-
[Files.svelte](https://github.com/ewowi/MoonBase/blob/main/interface/src/routes/moonbase/files/Files.svelte)
32+
[Files.svelte](https://github.com/ewowi/MoonLight/blob/main/interface/src/routes/moonbase/files/Files.svelte)

0 commit comments

Comments
 (0)