Personal site. https://irvanma.eu.org
  • TypeScript 98.4%
  • CSS 1.3%
  • JavaScript 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-30 09:16:48 +07:00
.agents/skills docs(skills): add react-doctor rules reference 2026-10-20 09:45:34 +07:00
.claude/skills chore(skills): symlink react-doctor skill for claude agent 2026-10-20 09:45:42 +07:00
.github/workflows ci(workflow): omit production build step from ci pipeline 2026-10-20 15:35:19 +07:00
.vscode feat(comp): updated some stuffs 2025-12-09 09:35:21 +07:00
public fix(blog): replace mismatched images with all-black techwear and heavy combat boots 2026-09-30 11:06:38 +07:00
src perf(auth): wrap auth handlers with useCallback and memoize context value 2026-10-30 09:16:48 +07:00
.env.example docs(env): document REVALIDATION_SECRET in env example 2026-10-05 19:01:05 +07:00
.gitignore build(git): track next-env.d.ts for ci type checking 2026-10-20 12:08:31 +07:00
AGENTS.md chore: sync next agent rules in AGENTS.md 2026-09-29 16:50:47 +07:00
components.json chore(config): switch shadcn style to base-vega and update tech stack 2026-10-01 16:56:33 +07:00
doctor.config.json chore(config): configure react-doctor project rules and overrides 2026-09-23 14:02:35 +07:00
eslint.config.mjs chore(lint): integrate react compiler and regexp flat plugins into eslint 2026-10-20 09:44:24 +07:00
knip.json ci: configure knip for unused files and dependency detection 2026-10-20 09:44:29 +07:00
LICENSE rebase(treewide): rebase to nextjs 2025-03-11 00:01:42 +07:00
next-env.d.ts types(next): provide global Next image declarations in next-env 2026-10-20 12:08:44 +07:00
next.config.ts feat(media): add image-metadata route with blurhash and standardize next/image 2026-09-30 15:11:28 +07:00
package.json build: specify packageManager in package.json for ci pnpm setup 2026-10-20 10:19:32 +07:00
pnpm-lock.yaml chore(pnpm): update lockfile for packageManager 12.13.0 2026-10-20 10:58:55 +07:00
pnpm-workspace.yaml chore(deps): upgrade next to 16.3.8 2026-10-01 15:41:04 +07:00
postcss.config.mjs rebase(treewide): rebase to nextjs 2025-03-11 00:01:42 +07:00
README.md docs(readme): specify Shiki syntax highlighting for articles 2026-10-22 13:11:58 +07:00
skills-lock.json chore(skills): update skills-lock.json 2026-08-26 09:32:43 +07:00
tsconfig.json chore(next): update configurations for Next.js v16 2026-06-25 14:40:22 +07:00
vercel.json feat(deploy): configure vercel function region to sin1 2026-09-29 11:44:29 +07:00

Realm

The personal website, digital garden, and publishing platform for Realm. Built with Next.js, React, TypeScript, and Tailwind CSS, connecting to realm-api over high-speed gRPC and REST.


Features

  • Portfolio & Work Experience: Highlights personal background, featured projects, open-source repositories, and self-hosted infrastructure.
  • Markdown & MDX Articles: Long-form technical articles with Shiki syntax highlighting, KaTeX mathematical formulas, estimated reading times, tag taxonomy, and on-demand cache revalidation.
  • User Accounts & Profile Management: Account registration and sign-in with email/password or Google and GitHub OAuth2, profile customization, and direct client-to-backend avatar uploads.
  • Privacy-Preserving Analytics: Client-side telemetry tracker that forwards site domains and geo headers to realm-api without third-party tracking scripts.
  • Contact Form: Clean contact interface with honeypot spam protection.
  • Live Music Activity: Real-time synchronization with Last.fm displaying current playback and recent scrobbles.
  • Live Infrastructure Status: Real-time status badge monitoring realm-api health and database connectivity.
  • Dynamic Experience Controls: User-configurable smooth scrolling, custom cursor effects, performance mode toggle, and marquee ribbons.
  • Responsive Design & Dark Mode: Sleek dark and light themes optimized across mobile, tablet, and desktop screens.

Requirements

  • Node.js 20 or later
  • pnpm 10 or later
  • An instance of realm-api for authentication, comments, contact messaging, and file storage

Getting Started

1. Clone the repository

git clone https://github.com/irvanmalik48/realm.git
cd realm

2. Install dependencies

pnpm install

3. Configure environment variables

Copy the example configuration file and fill in your settings:

cp .env.example .env.local

Key settings to review:

  • NEXT_PUBLIC_SITE_URL: Address of this website (for example, https://irvanma.eu.org).
  • API_URL: Address of the backend API server (for example, http://localhost:8080).
  • NEXT_PUBLIC_API_URL: Public HTTPS address of realm-api for client uploads and browser queries.
  • GRPC_API_URL: Internal gRPC address of realm-api (for example, 127.0.0.1:50051).

4. Start the development server

pnpm dev

Open http://localhost:3000 in your browser.


Environment Variables

Variable Description
NEXT_PUBLIC_SITE_URL Public web address of the site (for example, https://irvanma.eu.org)
NEXT_PUBLIC_ENVIRONMENT Environment mode (development, production, test)
API_URL Base URL of the backend API service (for example, http://localhost:8080)
NEXT_PUBLIC_API_URL Public HTTP URL of realm-api for browser requests and direct uploads
GRPC_API_URL Internal gRPC address of realm-api (for example, 127.0.0.1:50051)
API_TOKEN Administrative or service token used to authenticate backend requests
REVALIDATION_SECRET Secret token used to authenticate on-demand ISR cache purges
LASTFM_API_KEY Optional Last.fm API key to fetch recent music scrobbles
LASTFM_API_SECRET Optional Last.fm API secret

Available Scripts

# Start local development server
pnpm dev

# Build production bundle
pnpm build

# Run production server
pnpm start

# Run ESLint checks
pnpm lint

# Run Oxlint static analysis
pnpm lint:oxlint

# Detect unused files and dependencies with Knip
pnpm run knip

# Run React Doctor health and performance audit
pnpm doctor

# Check TypeScript types
pnpm exec tsc --noEmit

License

Licensed under the Realm Collectives Community License (RCCL) Version 1.0.