From a60e6c4a35a109d86ec712f629e86ff5e719493c Mon Sep 17 00:00:00 2001 From: Iris Date: Mon, 11 Aug 2025 18:35:56 +0200 Subject: [PATCH] feat: Add new official Blue Marble website and update documentation Add newly created official Blue Marble website and update project documentation - Add official website badge to README.md - Include website link in Quick Guide section - Add website creator credits in CREDITS.md - Update CONTRIBUTING.md with website reference - Add new official website URL: https://bluemarble.camilledaguin.fr/ This commit introduces the newly created official Blue Marble website and updates all documentation to reference it. The website provides a dedicated platform for Blue Marble users and information. --- docs/CONTRIBUTING.md | 2 +- docs/CREDITS.md | 4 +++- docs/README.md | 9 ++++++++- docs/SECURITY.md | 2 +- jsdoc.json | 1 + package.json | 5 +++++ src/BlueMarble.meta.js | 3 ++- src/main.js | 6 ++++++ 8 files changed, 27 insertions(+), 5 deletions(-) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index 3aa6adb..68d2dcb 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -50,7 +50,7 @@

Contributing

Software License: MPL-2.0

- Thank you for wanting to contribute to the userscript "Blue Marble"! It means a lot to me that someone likes my project enough to want to help it grow. If you haven't already done so, consider joining our Discord. You can ask questions about the userscript there and receive feedback. + Thank you for wanting to contribute to the userscript "Blue Marble"! It means a lot to me that someone likes my project enough to want to help it grow. If you haven't already done so, consider joining our Discord. You can ask questions about the userscript there and receive feedback. You can also visit the official Blue Marble website for more information.
Note: If you are using AI, and you want to tell the AI how the codebase files are related to each-other, go to the Class diagram of relationships for Blue Marble diagram in the chart section of this file. Copy the chart, and give it to the AI.

diff --git a/docs/CREDITS.md b/docs/CREDITS.md index e86352b..4e5f0e6 100644 --- a/docs/CREDITS.md +++ b/docs/CREDITS.md @@ -18,9 +18,11 @@ --------------------------------------------------- "Blue Marble" is made by SwingTheVine - +The Blue Marble Website is made by Camille Daguin The favicon "Blue Marble" is owned by NASA +Official Website: https://bluemarble.camilledaguin.fr/ + Special Thanks: * nof, [darkness](https://github.com/TouchedByDarkness) for creating similar userscripts! * [BullStein](https://github.com/BullStein), [allanf181](https://github.com/allanf181) for being early beta testers! diff --git a/docs/README.md b/docs/README.md index e8bdfa1..bc57a58 100644 --- a/docs/README.md +++ b/docs/README.md @@ -42,6 +42,7 @@

Blue Marble

+Site Web Officiel Wplace Status Latest Version Latest Release @@ -62,6 +63,12 @@

Quick Guide

Press the arrows to reveal the option you want. +

+ + I want to visit the official Blue Marble website. (Click to Expand) + + Click here to visit the official Blue Marble website. +
I want to download Blue Marble. (Click to Expand) @@ -106,7 +113,7 @@
  • Allowing you to use the eyedropper on the template image, provided the colors are correct
  • ...and more!
  • - If you like this userscript, please ⭐ the repository! If you wish to contribute to Blue Marble, check out the CONTRIBUTING.md file in docs/. + If you like this userscript, please ⭐ the repository! For more information and updates, visit the official Blue Marble website. If you wish to contribute to Blue Marble, check out the CONTRIBUTING.md file in docs/. Showcase image of Blue Marble template diff --git a/docs/SECURITY.md b/docs/SECURITY.md index 716f1a7..276f71a 100644 --- a/docs/SECURITY.md +++ b/docs/SECURITY.md @@ -1,5 +1,5 @@

    Reporting A Security Vulnerability

    CodeQL

    - Since this is a userscript, there will not be many vulnerabilities. The user is in charge of their own security, by choosing which scripts to run. Regardless, if you do find a security vulnerability in Blue Marble, please report it on the GitHub Security Advisory "Report a Vulnerability" tab. + Since this is a userscript, there will not be many vulnerabilities. The user is in charge of their own security, by choosing which scripts to run. Regardless, if you do find a security vulnerability in Blue Marble, please report it on the GitHub Security Advisory "Report a Vulnerability" tab. For more information about Blue Marble, visit the official website.

    \ No newline at end of file diff --git a/jsdoc.json b/jsdoc.json index 80ea324..38b3917 100644 --- a/jsdoc.json +++ b/jsdoc.json @@ -3,6 +3,7 @@ "include": ["src"], "exclude": ["node_modules", "build", "dist"] }, + "homepage": "https://bluemarble.camilledaguin.fr/", "opts": { "destination": "docs", "template": "node_modules/minami", diff --git a/package.json b/package.json index 82b7b5f..ffb819c 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,11 @@ "name": "wplace-bluemarble", "version": "0.80.0", "type": "module", + "homepage": "https://bluemarble.camilledaguin.fr/", + "repository": { + "type": "git", + "url": "https://github.com/SwingTheVine/Wplace-BlueMarble.git" + }, "scripts": { "build": "node build/build.js", "patch": "node build/patch.js && npm run build" diff --git a/src/BlueMarble.meta.js b/src/BlueMarble.meta.js index 2e6a8ba..1a8f090 100644 --- a/src/BlueMarble.meta.js +++ b/src/BlueMarble.meta.js @@ -6,7 +6,8 @@ // @author SwingTheVine // @license MPL-2.0 // @supportURL https://discord.gg/tpeBPy46hf -// @homepageURL https://github.com/SwingTheVine/Wplace-BlueMarble +// @homepageURL https://bluemarble.camilledaguin.fr/ +// @website https://bluemarble.camilledaguin.fr/ // @icon https://raw.githubusercontent.com/SwingTheVine/Wplace-BlueMarble/f3ee47c55505d29255b29e320891453884f13369/dist/assets/Favicon.png // @updateURL https://raw.githubusercontent.com/SwingTheVine/Wplace-BlueMarble/main/dist/BlueMarble.user.js // @downloadURL https://raw.githubusercontent.com/SwingTheVine/Wplace-BlueMarble/main/dist/BlueMarble.user.js diff --git a/src/main.js b/src/main.js index e09c2ce..a89a3c6 100644 --- a/src/main.js +++ b/src/main.js @@ -536,6 +536,12 @@ function buildOverlayMain() { window.open('https://pepoafonso.github.io/color_converter_wplace/', '_blank', 'noopener noreferrer'); }); }).buildElement() + .addButton({'id': 'bm-button-website', 'className': 'bm-help', 'innerHTML': '🌐', 'title': 'Official Blue Marble Website'}, + (instance, button) => { + button.addEventListener('click', () => { + window.open('https://bluemarble.camilledaguin.fr/', '_blank', 'noopener noreferrer'); + }); + }).buildElement() .buildElement() .addSmall({'textContent': 'Made by SwingTheVine', 'style': 'margin-top: auto;'}).buildElement() .buildElement()