# CLAUDE.md - internetmuseo.fi

## What is this site

Internetmuseo.fi is a Finnish online museum documenting the history of the internet and digital communications — with a particular focus on Finland. The site is built with [CheapIndex](https://cheapindex.anyplanet.org) (PHP + markdown).

## Database

Events are stored in a Baserow database. A static JSON snapshot is available at:

```
https://www.internetmuseo.fi/api/data.json
```

Full Baserow API (requires read-only token):
```
https://api.baserow.io/api/database/rows/table/570040/?user_field_names=true
```

Authentication: `Authorization: Token <token>` (read-only token)

### Database structure

| Field | Type | Description |
|-------|------|-------------|
| `id` | integer | Row identifier |
| `Year` | string | Year the event occurred |
| `Description` | string | Event description in Finnish (may contain markdown links) |
| `updated_on` | datetime | Last updated timestamp |

### About the content

- Total number of events available via the `count` field in the API response
- Timeline starts from **1969** (ARPANET, RFC system)
- Focus on Finnish internet history: FUNET, .fi domain, Nokia, IRC-Galleria, Saunalahti, Rovio etc.
- Also includes international milestones: TCP/IP, WWW, Google, WiFi, SSL/TLS etc.
- Descriptions are primarily in Finnish, some in English

### Pagination

The API returns 100 rows per page. To fetch all data:
```
?page=1  →  rows 1–100
?page=2  →  rows 101–200
...
```
Use the `count` and `next` fields in the API response to determine how many pages to fetch.

## Technical implementation

- PHP-based [CheapIndex](https://cheapindex.anyplanet.org) script
- Content written in markdown (index.md)
- Database: Baserow (cloud service)
- Hosting: Ubuntu server

## Purpose

To preserve and share knowledge about the development of the internet, particularly from a Finnish perspective. Target audience: Finnish people interested in internet history.
