Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
View alanmulhall's full-sized avatar

Block or report alanmulhall

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
alanmulhall/README.md

Alan Mulhall

Maintainability

Full-stack monorepo powering my artist portfolio — web, admin, and Android apps sharing a single API. Built entirely with AI coding agents: Claude Code for the web and Rails backend, opencode with a custom multi-agent setup for Android (Jetpack Compose). Three platforms, one API, production-deployed.

  • Web (web/) — React Router v7 SSR frontend, deployed to Vercel
  • Admin (admin/) — Rails 8 admin panel + JSON API, deployed to Railway
  • Android (android/) — Jetpack Compose portfolio app, consumes the Rails API

Environment Variables

Web (web/, deployed to Vercel)

Local values go in web/.env.

Variable Required Description
RESEND_API_KEY Yes Resend API key, used server-side to send contact-form emails.
RAILS_API_URL Prod Base URL of the admin API the home loader fetches images from. Defaults to http://localhost:3000 in development.
VITE_LOGROCKET_APP_ID No LogRocket app slug (org/project). When set, enables client-side session replay; omit to disable.
VERCEL_GIT_COMMIT_SHA Auto Set by Vercel at build time; surfaced as the git hash in the footer.

Admin (admin/, Rails)

Local values go in admin/.env (see admin/.env.example).

Variable Required Description
CLOUDINARY_CLOUD_NAME Yes Cloudinary account name for image hosting.
CLOUDINARY_API_KEY Yes Cloudinary API key.
CLOUDINARY_API_SECRET Yes Cloudinary API secret.
ADMIN_USERNAME Yes Username for the admin UI (defaults to admin).
ADMIN_PASSWORD Yes Password for the admin UI. In production the app fails closed (admin requests error) if this is unset or blank; the password fallback applies only in development/test.
FRONTEND_ORIGIN Yes URL of the React Router frontend, used for CORS.
DATABASE_URL Auto Production database connection; provided automatically by the host.
RAILS_MASTER_KEY Yes Decrypts Rails credentials. Local value in config/master.key; in production provided by the host.

Analytics Events

Event Properties Description
slide_viewed slide_position (int), slide_title (string) Fired when a slide becomes active, including on initial page load
slider_next — Fired when the Next button is clicked
slider_prev — Fired when the Previous button is clicked
lightbox_opened slide_position (int), slide_title (string) Fired when a slide image is clicked to open the lightbox
instagram_click — Fired when the Instagram link in the header is clicked
contact_modal_opened — Fired when the contact modal is opened
contact_modal_closed — Fired when the contact modal is closed
contact_submit_clicked — Fired when the contact form is submitted with valid data
contact_sent — Fired when the contact form is successfully sent
generate_lead — GA4 recommended event; fired when the contact form is successfully sent
contact_failed — Fired when the contact form fails to send

Session Replay

LogRocket session recording is initialized client-side in web/app/root.tsx. It is enabled only when the VITE_LOGROCKET_APP_ID environment variable is set (e.g. in Vercel), so it stays off in local development unless you configure it.

Opencode

Subagents

Agent Purpose Model
reviewer Reviews code for quality, correctness, and adherence to AGENTS.md conventions. Auto-detects platform (web/admin/android) and applies the right rules. Returns a grade (A–F). claude-fable-5
vision Analyses screenshots for visual quality. Detects platform (web/android) and reports layout, typography, contrast, and accessibility issues. Returns a grade (A–F). claude-sonnet-4-6

Skills

Skill Purpose Agent-run
review-web Captures 3 viewport screenshots and batch-reviews with vision agent. Yes — also available as /review-web
review-android Captures 3 device profile screenshots and batch-reviews with vision agent. Yes — also available as /review-android
api-contract Checks API response shape matches across admin/web/android. Yes
add-changelog Adds Keep a Changelog entry with a "Why" line. Yes
env-vars Lists required env vars and checks which are set. Yes — also available as /env-vars
decision Records architectural decisions with rationale. Yes

Commands

Command Args Description
/review-web <url> Capture 3 viewports and review with vision agent
/review-android — Capture 3 device profiles and review with vision agent
/env-vars <platform> Check env vars for web, admin, or android
/api-contract — Verify API response shape matches across all clients

Example: review a website

/review-web https://www.alanmulhall.com/

Returns a per-viewport grade and an overall cross-viewport grade.

Example: review Android app screenshots

/review-android

Captures 3 device profiles and returns per-profile grades plus an overall cross-profile grade.

Example: check env vars

/env-vars admin

Lists required vars and reports which are set, missing, or empty.

Example: code review

task reviewer — review the android codebase

The reviewer agent reads all production files and returns issues with file:line references and a grade.

Popular repositories Loading

  1. reagent-clojure reagent-clojure Public

    Clojure 2

  2. android-architecture-components android-architecture-components Public

    Forked from wbinarytree/android-architecture-components

    Samples for Android Architecture Components.

    Java 2

  3. auth0-storybook-addon auth0-storybook-addon Public

    JavaScript 2

  4. Brandizzle Brandizzle Public

    Learning BDD

    Ruby 1

  5. Ruby-Library Ruby-Library Public

    Ruby Gem for Fat Zebra

    Ruby 1 11

  6. chat chat Public

    Ruby 1