Repository navigation
Rebuild as a monorepo: Ralph assistant landing, admin panel, RAG chat server - #20
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Mt8dK6c9YprA4L9rSgTmY
Canvas renderer with five states: calm breathing at idle; waveform, spectrum, shockwaves, particle bursts and arcs while speaking. Simulated speech envelope drives core and caption; optional browser TTS. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Mt8dK6c9YprA4L9rSgTmY
- apps/server (Railway): Hono API with Postgres/pgvector memory, hybrid retrieval, streaming Claude chat with panel/unanswered/message tools, Slack notifications for unanswered questions, contact and collaboration requests, admin API, GitHub import, rate limits, integration tests - apps/landing (Vercel): one-screen site with a WebGL light core driven by a speech envelope, streaming conversation, panels, offline fallback - apps/admin (Vercel): profile, entries, memory with retrieval test, GitHub import, inbox that turns answers into FAQ entries, usage/cost - packages/shared: shared types - CI with pgvector service; GitHub Pages deploy removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Mt8dK6c9YprA4L9rSgTmY
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Mt8dK6c9YprA4L9rSgTmY
- Landing: green-on-black DOS terminal (scanlines, Galmuri Mono pixel font), boot lines, numbered quick menu, HELP/CLS/LANG/VOICE commands, panels as DOS boxes in the log - Avatar: six-legged ASCII spider robot redrawn at ~15 fps; idle blink and weight shifts, listening taps, thinking drum + spinner, speaking scuttle with voice-driven eyes and mouth, offline folded legs - English by default; writing in or asking for Korean switches UI and answers to Korean (client locale is sent to the prompt) - Rename kai/core in code to assistant/avatar (useAssistant, Avatar) - Seed and fallback profile use the name Ralph; admin keeps its theme Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013Mt8dK6c9YprA4L9rSgTmY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Turns the static portfolio into a conversation with Ralph, an AI assistant drawn as an ASCII spider robot in a green-on-black terminal. Visitors ask about YK; Ralph answers from YK's own data. Unanswered questions, contact requests and collaboration proposals go to Slack.
Server (
apps/server)POST /api/chatstreams SSE. Hybrid retrieval (pgvector plus fuzzy keyword search via pg_trgm, merged with RRF) feeds context to Claude Haiku 5.5. The system prompt is prompt-cached.show_panel: shows a project, experience, stack or contact panel.report_unanswered: when the data doesn't answer a question, Ralph says so and the question goes to Slack (❓) and the inbox.leave_message: contact or collaboration requests go to the same Slack webhook (✉️ / 🤝) and the inbox.multilingual-e5-small, no API key needed); Voyage AI is optional. If embeddings are unavailable, search falls back to keywords.Landing (
apps/landing)HELP/CLS/LANG/VOICEcommands. Panels render as DOS boxes in the log.state, time, level → linesfunction:Admin (
apps/admin)Repo
railway.jsonfor the server;vercel.jsonfor both frontends.ykdhan.github.iokeeps serving the last deployed (old) site until a new hosting decision is made (seePLAN.md).Testing
npm run typecheckandnpm run buildpass for all workspaces.Not verified here
docker build(no Docker daemon).Before deploying
Set
ANTHROPIC_API_KEY,SLACK_WEBHOOK_URL,ADMIN_PASSWORD,SESSION_SECRETandCORS_ORIGINSon the server, andVITE_API_URLon both frontends. Steps are in the README.Generated by Claude Code