<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ai-town-turn-claude-chat-history-into-a-pixel-art-city-enc3in7xq" -->

---
title: AI Town: Turn Claude Chat History Into a Pixel Art City
description: AI Town is a web app that transforms Claude conversation export data into a pixel-art city visualization. Each conversation becomes a building sized by message...
canonical: https://daily.dev/posts/ai-town-turn-claude-chat-history-into-a-pixel-art-city-enc3in7xq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: AI Town: Turn Claude Chat History Into a Pixel Art City | daily.dev
og:description: AI Town is a web app that transforms Claude conversation export data into a pixel-art city visualization. Each conversation becomes a building sized by message...
og:url: https://daily.dev/posts/ai-town-turn-claude-chat-history-into-a-pixel-art-city-enc3in7xq
og:image: https://api.daily.dev/og/posts/enC3iN7Xq.png
og:image:alt: AI Town: Turn Claude Chat History Into a Pixel Art City
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Town: Turn Claude Chat History Into a Pixel Art City

**[Alex CloudStar](https://daily.dev/sources/alexcloudstar)** · [@alexcloudstar](https://daily.dev/alexcloudstar) · 13 min read · 0 upvotes · 0 comments

## Summary

AI Town is a web app that transforms Claude conversation export data into a pixel-art city visualization. Each conversation becomes a building sized by message count, and pixel characters wander the streets representing messages. Built with Next.js 16, HTML Canvas, Cloudflare R2, and no database, the app processes ZIP exports entirely client-side for privacy — only anonymized metadata (message counts, timestamps, color seeds) is sent to the server. The post details the technical implementation including a spiral layout algorithm for building placement, a layered Canvas 2D renderer running at 60fps with tile culling, a simple NPC state machine, and dynamic OG image generation. The author also shares lessons learned from using Claude Code as the primary development partner throughout the project.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.alexcloudstar.com/blog/ai-town/>

## Similar posts on daily.dev

- [I Built a Pixel Art Village Where AI Characters Have Real Emotions](https://daily.dev/posts/i-built-a-pixel-art-village-where-ai-characters-have-real-emotions-ovhzrhtbi) · DEV · 73 upvotes · 4 comments

---

Tags: [#typescript](https://daily.dev/tags/typescript), [#html](https://daily.dev/tags/html), [#nextjs](https://daily.dev/tags/nextjs), [#claude-code](https://daily.dev/tags/claude-code)

[View this post on daily.dev](https://daily.dev/posts/ai-town-turn-claude-chat-history-into-a-pixel-art-city-enc3in7xq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"AI Town: Turn Claude Chat History Into a Pixel Art City","url":"https://daily.dev/posts/ai-town-turn-claude-chat-history-into-a-pixel-art-city-enc3in7xq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ai-town-turn-claude-chat-history-into-a-pixel-art-city-enc3in7xq"},"datePublished":"2026-03-31T13:40:08.414Z","dateModified":"2026-04-01T10:00:25.512Z","description":"AI Town is a web app that transforms Claude conversation export data into a pixel-art city visualization. Each conversation becomes a building sized by message...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7e8f84f77c3b6d1cbc0d3dbbed7d5757?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/7e8f84f77c3b6d1cbc0d3dbbed7d5757?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Alex CloudStar","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Alex Cloudstar","url":"https://daily.dev/alexcloudstar","image":"https://media.daily.dev/image/upload/s--xA-1aKK7--/f_auto/v1767564650/avatars/avatar_ZUjetzkwG7V5behQOpH0X?_a=BAMAK+ZW0","description":"Hi there! 👋🏻  I'm a Senior Full-Stack Developer oriented on Javascript","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":1230}},"commentCount":0,"discussionUrl":"https://daily.dev/posts/ai-town-turn-claude-chat-history-into-a-pixel-art-city-enc3in7xq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"typescript,html,nextjs,claude-code","timeRequired":"PT13M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Alex CloudStar","item":"https://daily.dev/sources/alexcloudstar"},{"@type":"ListItem","position":3,"name":"AI Town: Turn Claude Chat History Into a Pixel Art City"}]}
```

