A 3D graph connecting Wikipedia articles by their hyperlinks.
- Next.js — Framework
- THREE.js, react-force-graph — 3D Graph Rendering
- Supabase — Database
- Wikimedia API — Wikipedia Article Fetching
See the project board for active development tickets.
This is a Next.js project bootstrapped with create-next-app.
A Supabase database is required with the following schema:
| Column | Type | Constraints | Default |
|---|---|---|---|
id |
bigint |
PRIMARY KEY, UNIQUE, NOT NULL | - |
name |
text |
NOT NULL | - |
created_at |
timestamp with time zone |
NOT NULL | now() AT TIME ZONE 'utc' |
thumbnail |
json |
NULL | - |
content |
json |
NULL | - |
| Column | Type | Constraints | Default |
|---|---|---|---|
id |
bigint |
PRIMARY KEY, NOT NULL, IDENTITY | Generated |
source |
bigint |
NULL, FOREIGN KEY → nodes(id) ON UPDATE CASCADE ON DELETE CASCADE |
- |
target |
bigint |
NULL, FOREIGN KEY → nodes(id) ON UPDATE CASCADE ON DELETE CASCADE |
- |
created_at |
timestamp with time zone |
NOT NULL | now() AT TIME ZONE 'utc' |
See .env.example for the required environment variables.
- Clone the repository
- Run
npm installto install dependencies - Run
npm run devto start the development server - Open http://localhost:3000 in your browser
built by: Mars Ponce
