Developer Guide

developer_en.html

This document describes how developers should understand, extend, and maintain the MyAnythingList system.

1. Development Philosophy

Future developers should not need historical chat logs to understand how the system works.

2. Core System Components

Playlist text
   ↓
URL discovery
   ↓
Command parsing
   ↓
Tile model creation
   ↓
Thumbnail / QR resolution
   ↓
Grid rendering

3. Playlist Parser

The parser extracts valid URLs from any UTF-8 text.

Rules: Example:
My research notes:

https://example.com/article

#_ReplaceThumbnailWithImage("cover.jpg")

4. Command System

Commands extend playlist behavior.

Examples:
#_ReplaceThumbnailWithImage("image.jpg")
#_LoadImage("panel.png")
#_LoadImageHideLinks("poster.png")
Commands apply to the most recent URL unless otherwise defined.

The command system currently treats two image-related commands as first-class supported behavior:

#_ReplaceThumbnailWithImage("https://example.com/image.jpg")
#_LoadLinkedImage("https://example.com/image.jpg")

5. UI State Architecture

Runtime state is controlled by configuration variables.

Examples: These values may be set through:

6. Thumbnail System

Thumbnail sources are prioritized:
Command thumbnail
→ Uploaded thumbnail
→ Platform thumbnail
→ Fallback image
Rules:

7. Contribution Guidelines

8. Long-Term Goal

The project aims to remain understandable to future developers and AI systems for decades.