Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

Feed System Organization - Complete ✅#

What Was Done#

1. Created /feed Directory#

Consolidated all feed-related scripts and documentation into a single location:

/workspaces/aesthetic-computer/feed/
├── README.md                          # Main documentation
├── SETUP-SUMMARY.md                   # Quick setup guide
├── QUICKREF.md                        # Command reference
├── DEPLOYMENT.md                      # Worker deployment
├── channel-config.json                # Active channel info
├── build-feed.fish                    # Main build script
├── build-kidlisp-feed.mjs            # Automated build
├── create-top-kidlisp-playlist.mjs   # Top 100 generator
├── create-kidlisp-colors-playlist.mjs # Colors generator
└── create-kidlisp-chords-playlist.mjs # Chords generator

2. Created Vault Storage#

Moved all secrets to aesthetic-computer-vault (private repo):

/workspaces/aesthetic-computer/aesthetic-computer-vault/feed/
├── .env                               # All secrets & env vars
└── README.md                          # Secrets documentation

3. Updated DevContainer#

Modified .devcontainer/entry.fish to automatically:

  • Check for vault secrets on container start
  • Copy .env to persistent location
  • Export all variables globally
  • No manual setup required!

4. Documented Everything#

Created comprehensive documentation:

  • README.md - Architecture, API, troubleshooting (6.6 KB)
  • SETUP-SUMMARY.md - Quick overview and setup (3.5 KB)
  • QUICKREF.md - Command cheat sheet (2.5 KB)
  • DEPLOYMENT.md - Worker deployment guide (2.5 KB)
  • channel-config.json - Active channel & playlists (1.7 KB)

Active Channel Information#

Channel ID: 23b63744-649f-4274-add5-d1b439984e51

Live URL: https://feed.aesthetic.computer/api/v1/channels/23b63744-649f-4274-add5-d1b439984e51

Playlists (3 total, 282 items):

  1. Top 100 as of Monday, October 6, 2025 - 100 items
  2. Colors - 151 items
  3. Chords for clock - 31 items

Secrets Stored in Vault#

# Feed API
FEED_API_SECRET=YOUR_FEED_API_SECRET_HERE

# MongoDB
MONGODB_CONNECTION_STRING=mongodb+srv://admin:YOUR_PASSWORD_HERE@aesthetic.qencn.mongodb.net/?retryWrites=true&w=majority
MONGODB_NAME=aesthetic

# Cloudflare
CLOUDFLARE_API_KEY=YOUR_CLOUDFLARE_API_KEY_HERE
CLOUDFLARE_EMAIL=me@jas.life

# Channel
KIDLISP_CHANNEL_ID=23b63744-649f-4274-add5-d1b439984e51
FEED_API_URL=https://feed.aesthetic.computer/api/v1

How to Use#

On Container Restart#

Nothing! Secrets are automatically loaded from vault via entry.fish.

To Rebuild Feed#

cd /workspaces/aesthetic-computer/feed
./build-feed.fish

To Deploy Worker#

cd /workspaces/aesthetic-computer/feed/dp1-feed
wrangler deploy

Worker Location#

The Cloudflare Worker source code remains at:

/workspaces/aesthetic-computer/feed/dp1-feed/

This is the cloned repo from https://github.com/feral-file/dp1-feed

File Organization Summary#

Location Purpose Contents
/feed/ Scripts & docs Build scripts, generators, documentation
/dp1-feed/ Worker code Cloudflare Worker TypeScript source
/aesthetic-computer-vault/feed/ Secrets .env with all sensitive data
.devcontainer/entry.fish Auto-setup Loads secrets on container start

Next Steps#

  1. ✅ Everything is documented in /feed/
  2. ✅ Secrets are in vault and auto-loaded
  3. ✅ Channel is live with 3 playlists
  4. ✅ Build script automates everything
  5. ✅ DevContainer setup handles secrets

You're all set! Just run ./build-feed.fish to rebuild the feed anytime.


Status: ✅ Complete and operational Last Updated: October 6, 2025 Channel ID: 23b63744-649f-4274-add5-d1b439984e51