Skip to content

feat(cctv): add Danish harbour, bridge, coast and airfield cameras - #524

Merged
simplifaisoul merged 1 commit into
masterfrom
feat/cctv-denmark
Dec 2, 2026
Merged

simplifaisoul merged 1 commit into
masterfrom
feat/cctv-denmark

Conversation

@simplifaisoul

Copy link
Copy Markdown
Owner

Summary

Adds the first Danish cameras to OSIRIS: 25 cameras that their operators show publicly, 10 of them live video. No keys are needed, and each camera names its operator and links to the operator's own page.

Suggested by morein1 in #522.

Operator Cameras Type
Juelsminde Havn & Marina 10 Stills
Port of Hirtshals 2 Stills
Øst-Sjællands Flyveklub, Kongsted Airfield 2 Stills
Øresundsbron 1 Still
Spodsbjerg Turistbådehavn 2 Live
Skagen Havn 1 Live
Marselisborg Havn 1 Live
Køge Marina 1 Live
Hundested Havn 1 Live
Gyldendal Havn 1 Live
By & Havn, Lynetteholm construction site 1 Live
Sletterhage Fyrs Venner 1 Live
Ringkøbing Fjord Museer, Lyngvig Lighthouse 1 Live

The Danish Road Directorate has removed its public road cameras, so there is no national traffic feed to add.

Changes

  • src/app/api/cctv/denmark.ts: the camera list. Live cameras play in their operators' own players. Juelsminde's server dates its pictures, so cameras that have stopped there are left out until they post again.
  • src/app/api/cctv/route.ts: registers the denmark region and loads it for views of Denmark.
  • src/app/api/cctv/denmark.test.ts: checks ids, positions, operators, HTTPS, named hosts, the absence of credentials in addresses, and the freshness check.

No new dependencies or environment variables.

Testing

  • npx tsc --noEmit: no errors.
  • npx vitest run: 1,914 passed, 27 skipped.
  • npm run build from a clean .next: passes.
  • Opened every camera on the map in Chrome. 24 show a current picture or a playing stream. Sandbjerg Marina has not posted since 18 November and is hidden.
  • Loaded all 25 again in daylight from another site, with the same result.
  • AI Analyze can read every current still.
  • Checked the full catalogue: no repeated ids, and no other camera within 500 m.

Notes for review

  • Operators do not publish positions. Each pin is on the harbour basin, building or bridge the operator names.
  • Only Juelsminde's pictures can be checked for age. The other still servers send no date or refuse the request that would ask for it.
  • Left out: cameras whose operators allow the player only on their own site (Anholt, Nivå, Rungsted, Skive, Møns Klint) or reserve their pictures (TV 2/Bornholm), cameras aboard ferries, cameras on bare IP addresses, and cameras that have stopped. The Øresund Bridge's east camera rejects the query string the viewer adds to refresh a picture.

🤖 Generated with SIMPLIFAI

Twenty-five cameras shown by their operators: the Øresund Bridge, the ports
of Hirtshals and Skagen, Juelsminde, Marselisborg, Køge, Hundested,
Spodsbjerg and Gyldendal harbours, the Lynetteholm construction site, two
lighthouses and Kongsted Airfield. Ten are live players.

The Danish Road Directorate has removed its public road cameras. Juelsminde's
pictures are dated, so its stopped cameras are left out.

Suggested by morein1 in #522.
@vercel

vercel Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
osiris Ready Ready Preview Dec 1, 2026 1:31pm UTC

@simplifaisoul
simplifaisoul merged commit 03ad22a into master Dec 2, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview – osiris — 5f827d02 Deployed Dec 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant