From 5cbd8b3dbbd26b437a2e8ffd394beb26844a62f3 Mon Sep 17 00:00:00 2001 From: ayushya Date: Tue, 6 Oct 2026 14:04:38 -0400 Subject: [PATCH] Add NASA family service hub and Cloudflare deployment --- .gitea/workflows/deploy-nasa.yml | 25 +++++++++++++ nasa/.assetsignore | 5 +++ nasa/README.md | 35 +++++++++++++++++++ nasa/index.html | 60 ++++++++++++++++++++++++++++++++ nasa/wrangler.toml | 11 ++++++ 5 files changed, 136 insertions(+) create mode 100644 .gitea/workflows/deploy-nasa.yml create mode 100644 nasa/.assetsignore create mode 100644 nasa/README.md create mode 100644 nasa/index.html create mode 100644 nasa/wrangler.toml diff --git a/.gitea/workflows/deploy-nasa.yml b/.gitea/workflows/deploy-nasa.yml new file mode 100644 index 0000000..5ad8850 --- /dev/null +++ b/.gitea/workflows/deploy-nasa.yml @@ -0,0 +1,25 @@ +name: Deploy nasa (www.nasa.family) + +on: + push: + branches: + - main + paths: + - "nasa/**" + - ".gitea/workflows/deploy-nasa.yml" + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + # Absolute URLs match the other Gitea deployment workflows. + - name: Checkout + uses: https://github.com/actions/checkout@v4 + + - name: Deploy + uses: https://github.com/cloudflare/wrangler-action@v3 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + wranglerVersion: "4" + workingDirectory: nasa diff --git a/nasa/.assetsignore b/nasa/.assetsignore new file mode 100644 index 0000000..4746934 --- /dev/null +++ b/nasa/.assetsignore @@ -0,0 +1,5 @@ +wrangler.toml +README.md +.assetsignore +node_modules +.wrangler diff --git a/nasa/README.md b/nasa/README.md new file mode 100644 index 0000000..2668fa4 --- /dev/null +++ b/nasa/README.md @@ -0,0 +1,35 @@ +# NASA Family service hub + +Single-file service directory at `www.nasa.family`. `index.html` includes +all styles, JavaScript, and service icons; no build or external assets are needed. + +## Preview + +From this directory: + +```sh +python -m http.server 8000 +``` + +Open `http://localhost:8000`. + +## Deploy + +`.gitea/workflows/deploy-nasa.yml` deploys this directory as static assets +to the Cloudflare Worker named `nasa` when changes to `nasa/**` or the workflow +are pushed to `main`. + +The workflow reuses the repository's `CLOUDFLARE_API_TOKEN` and +`CLOUDFLARE_ACCOUNT_ID` secrets. The token must permit Worker deployments +in that account. The `nasa.family` zone must be in that same account for the +configured `www.nasa.family` custom domain. Cloudflare manages its DNS record +and certificate during deployment; an existing CNAME at `www` must be removed +before the custom domain can be attached. + +For a manual deployment with Wrangler installed and authenticated: + +```sh +npx wrangler@4 deploy +``` + +`.assetsignore` excludes deployment configuration and documentation from public assets. diff --git a/nasa/index.html b/nasa/index.html new file mode 100644 index 0000000..ec09e6d --- /dev/null +++ b/nasa/index.html @@ -0,0 +1,60 @@ + +NASA Family — At home, connected. +
+
NASA FAMILY
Our little corner of the internet
+ +
At home, connected.

One home.
A world of
possibilities.

Our photos, files, favorite shows and everyday essentials. All with a place to call home.

Welcome to the family server.
+ +
+
Immich

Your memories, together.

A home for every photo and video.

+ photos.nasa.family
+
+
Jellyfin

Movie night starts here.

Stream your movies, shows and music.

+ tv.nasa.family
+
+
Nextcloud

Files, wherever you are.

Keep your documents close and in sync.

+ drive.nasa.family
+
+
Vaultwarden

A little peace of mind.

Your passwords, safely organized.

+ vault.nasa.family
+
+
Seerr

Something you want to watch?

Discover movies and shows and send a request.

+ seerr.nasa.family
+
+
Gitea

Made at home.

Code, projects and ideas in one place.

+ git.nasa.family

Behind the movie night

The tools that keep the library moving.
+
+
Sonarr

TV shows

Manage series and new episodes.

+ sonarr.nasa.family
+
+
Radarr

Movies

Organize and manage the movie library.

+ radarr.nasa.family
+
+
Lidarr

Music

Look after artists and albums.

+ lidarr.nasa.family
+
+
Transmission

Downloads

Manage the download queue.

+ torrent.nasa.family
+
+
Prowlarr

Search sources

Manage the sources your media tools search.

+ prowlarr.nasa.family
+
+
FlareSolverr

Search helper

A backend helper for automated searches.

+ flaresolverr.nasa.family

Keeping the lights on

The control room for our digital home.
+
+
Homepage

The bigger picture.

Shortcuts, server stats and an overview.

+ dashboard.nasa.family
+
+
OpenMediaVault

Storage & server

Manage your home server and storage.

+ admin.nasa.family
+
+
Nginx Proxy Manager

The front desk.

Manage how service addresses reach their apps.

+ proxy.nasa.family
+
+
\ No newline at end of file diff --git a/nasa/wrangler.toml b/nasa/wrangler.toml new file mode 100644 index 0000000..744c5a0 --- /dev/null +++ b/nasa/wrangler.toml @@ -0,0 +1,11 @@ +# Static service hub, deployed independently from portfolio and noo. +name = "nasa" +compatibility_date = "2026-10-06" + +routes = [ + { pattern = "www.nasa.family", custom_domain = true } +] + +[assets] +directory = "." +not_found_handling = "404-page"