✱presque.cool
← Back to projects
oniropolis icon

oniropolis

Fév 2024 Site

A travel guide for a city that only exists in dreams. Dreamlike neighborhoods, strange narratives — every exploration is different.


Oniropolis

Oniropolis est un guide de voyage pour une ville qui n’existe pas. Le projet est en pause : il n’est pas prêt à être diffusé. Les quartiers sont générés par IA, les récits aussi — chaque visite produit une cité différente, avec sa propre géographie et ses propres histoires.

Concept

L’idée part d’une question simple : à quoi ressemblerait un guide touristique pour un lieu imaginaire ? Oniropolis génère des quartiers oniriques via GPT-4 — noms, descriptions, ambiances — et les assemble dans une interface de navigation. Pas de carte figée : la ville se réécrit à chaque exploration.

Décisions produit

Le prototype devait répondre à une question de conception : un texte généré peut-il devenir un lieu qu’on parcourt ? J’ai défini le quartier comme unité de visite et utilisé la structure produite par GPT-4 pour relier les textes à la navigation.

Le prototype donne une ville à explorer par quartiers. Son résultat reste celui d’une expérimentation.

Qualification d'un cas d'usage IA Product Manager
Expérimentation cadrée autour d'une hypothèse précise : transformer un texte généré par LLM en ville explorable par quartiers, en assumant la mise en pause hors diffusion.
Intégration d'IA générative Product Builder
Appel à l'API OpenAI (GPT-4) pour produire la structure, les noms et les récits de chaque quartier, reliés dynamiquement à la navigation Astro + Preact.
Cadrage de l'unité de visite Product Owner
Choix du quartier comme unité de lecture et de déplacement libre pour structurer des contenus générés à la volée sans carte figée.

Fonctionnalités

  • Quartiers générés : GPT-4 produit la structure, les noms et les récits de chaque quartier
  • Aucune visite identique : le contenu narratif change à chaque exploration
  • Navigation libre : on se déplace de quartier en quartier sans parcours imposé
  • Ambiance visuelle : palette sourde, typographie serrée — l’interface accompagne le ton onirique sans le surligner

Stack technique

  • Astro — SSG, routing par fichiers
  • Preact + TypeScript — Composants interactifs (islands)
  • OpenAI API (GPT-4) — Génération de contenu narratif
  • Zustand — State management
  • Tailwind CSS — Styling
  • Lucide — Icônes
  • PWA via @vite-pwa/astro — Installable, offline
  • CSP — Content-Security-Policy avec hashes auto-générés

Évolutions

Date Version Description
Fév 2024 1.0.0 Version initiale — Exploration de base avec génération de quartiers par IA
Mar 2026 2.0.0 Migration Preact + TypeScript

Inspiration

L’idée vient d’une fascination ancienne pour les villes imaginaires — Calvino, Borges, les wikis de worldbuilding. Je voulais voir ce que ça donnait de confier la création d’une ville entière à un LLM, puis de la rendre navigable.

Oniropolis

Oniropolis is a travel guide for a city that doesn’t exist. The project is paused: it isn’t ready to be released. Neighborhoods are generated by AI, narratives too — each visit produces a different city, with its own geography and its own stories.

Concept

The idea starts from a simple question: what would a tourist guide for an imaginary place look like? Oniropolis generates dreamlike neighborhoods via GPT-4 — names, descriptions, atmospheres — and assembles them into a browsable interface. No fixed map: the city rewrites itself with every exploration.

Product decisions

The prototype was built around a design question: can generated writing become a place you can walk through? I made the district the unit of exploration and used the structure GPT-4 supplied to connect the text to the navigation. The result was an experimental city you could explore one district at a time.

AI use-case qualification Product Manager
Framed the experiment around one testable question: turning LLM output into a browsable city by district, while explicitly pausing release until ready.
Generative AI integration Product Builder
Connected the OpenAI API (GPT-4) to generate district structure, names and narratives wired directly into Astro and Preact navigation.
Exploration unit scoping Product Owner
Made the district the core unit of free navigation so dynamically generated text stays legible without a fixed map.

Features

  • Generated neighborhoods: GPT-4 produces each neighborhood’s structure, names, and narratives
  • No two visits alike: narrative content changes with every exploration
  • Free navigation: move from neighborhood to neighborhood with no imposed path
  • Visual atmosphere: muted palette, tight typography — the interface supports the dreamlike tone without overselling it

Tech stack

  • Astro — SSG, file-based routing
  • Preact + TypeScript — Interactive components (islands)
  • OpenAI API (GPT-4) — Narrative content generation
  • Zustand — State management
  • Tailwind CSS — Styling
  • Lucide — Icons
  • PWA via @vite-pwa/astro — Installable, offline
  • CSP — Content-Security-Policy with auto-generated hashes

Timeline

Date Version Description
Feb 2024 1.0.0 Initial version — Basic exploration with AI-generated neighborhoods
Mar 2026 2.0.0 Preact + TypeScript migration

Inspiration

The idea comes from a long-standing fascination with imaginary cities — Calvino, Borges, worldbuilding wikis. I wanted to see what happens when you hand city creation to an LLM, then make it browsable.