diglabo(漢字・算数の学習)
Kanji and math worksheets for kids. Review link, no login.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Render HTML canvas animations to MP4 fast on a Mac, with 66 code-made film styles for agents.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
FOLDLINE_PYTHON, PLAYWRIGHT_CHROMEต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"foldline": {
"command": "npx",
"args": [
"-y",
"foldline-mcp"
],
"env": {
"FOLDLINE_PYTHON": "ใส่ค่าของคุณ",
"PLAYWRIGHT_CHROME": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add foldline --env FOLDLINE_PYTHON='ใส่ค่าของคุณ' --env PLAYWRIGHT_CHROME='ใส่ค่าของคุณ' -- npx -y foldline-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"foldline": {
"command": "npx",
"args": [
"-y",
"foldline-mcp"
],
"env": {
"FOLDLINE_PYTHON": "ใส่ค่าของคุณ",
"PLAYWRIGHT_CHROME": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"foldline": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"foldline-mcp"
],
"env": {
"FOLDLINE_PYTHON": "ใส่ค่าของคุณ",
"PLAYWRIGHT_CHROME": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
FOLDLINE_PYTHON envPLAYWRIGHT_CHROME envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub alireza12t ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.0.0) เข้า registry วันนี้
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย
ในหมวดเดียวกันมี diglabo(漢字・算数の学習), Foodbe, Gameye
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Kanji and math worksheets for kids. Review link, no login.
Food list analyzer and cited food answers for agents. Also recipes, meal plans and grocery lists.
Launch, inspect and stop multiplayer game server sessions on Gameye from any MCP client.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Render HTML canvas animations to MP4, fast, on a Mac.
With the full lemo-opuscar library of 66 film styles made in code.
Made for Unfold, an animated "What if" channel in a paper pop-up book style.
https://github.com/user-attachments/assets/05724852-c9ae-4762-90a9-634315b2b016
▶ Watch on YouTube · download the MP4 · read the deep dive on Medium
Made with Foldline itself: every frame drawn in code, a local text-to-speech voice, music synthesised in code. It renders in 34 s. Source in examples/foldline-explainer .
Foldline turns a web page that draws a film in code into an H.264 MP4. You write an HTML page with a and a render(t) function. Foldline opens it in headless Chrome, draws every frame, and encodes the video inside the page with WebCodecs on the Mac's hardware encoder, so frames never leave the GPU. On an M1 Pro, an 8.4-minute 1080p 60 fps video renders in 161 s instead of 426 s (see Results). It's open source and free for non-commercial use, and it works well with coding agents like Claude Code.
Foldline is a project by Alireza Toghiani, built for the Unfold channel. It isn't a GitHub fork. It ships the full lemo-opuscar library by LemoLab:
styles/, each with a style prompt and a demo film made in codecore/ (render, voice, music, mix)DIRECTOR.md, TECHNIQUE.md and MY-STYLES.mdplugin/lemo's original README is kept as LEMO-README.md. It has the style list, how to make a style your own, and the full requirements.
What Foldline adds is a faster video renderer, core/render/video.mjs, and an MCP server for coding agents, core/mcp/server.mjs.
video.mjs encodes H.264 inside the page with WebCodecs, on the Mac's hardware encoder. Each frame goes from the canvas to the encoder on the GPU. No screenshot, no JPEG, no ffmpeg decode.auto is the default. x264 is lemo's original path. LEMO_ENC still works.core/mcp/: agents get the styles, guides, renders and sound tools as MCP tools with short results. See MCP server.Everything else in the library works the way lemo describes it.
Foldline is a renderer plus a style library, not a framework or a timeline editor. You write the page, Foldline renders it.
| Foldline | lemo-opuscar (original) | Remotion | Motion Canvas | HyperFrames | |
|---|---|---|---|---|---|
| You write | an HTML page with render(t) | an HTML page with render(t) | React components | TypeScript scenes | HTML, CSS and seekable animations (GSAP, Lottie, three.js and others) |
| How frames are made | Chrome draws the canvas, and the page hands each frame to the encoder (WebCodecs). Frames stay on the GPU. | Chrome draws the page, and each frame is taken as a JPEG screenshot | Chrome draws each frame, and FFmpeg encodes them | the browser saves each frame as an image file (PNG, JPEG or WebP) | headless Chrome (Puppeteer) seeks each frame, and FFmpeg encodes them |
| Video encoder by default | Mac hardware H.264, falling back to VideoToolbox, then x264 | x264 (software) | FFmpeg, H.264. Hardware encoding (VideoToolbox on Mac, NVENC) is available but off by default. | none built in: you turn the images into a video yourself, for example with ffmpeg | FFmpeg |
| Ready-made looks | 66 film styles, each with a demo film (lemo's library) | the same 66 film styles | starter templates | none in the core | about 450 blocks and components, plus design templates |
| Code licence | PolyForm Noncommercial: free for non-commercial use, commercial licence on request (lemo's original code stays MIT) | MIT | Remotion License: free for individuals, non-profits and companies of up to 3 employees, paid above that | MIT | Apache-2.0 |
| Speed, measured here | 2.5x faster than lemo on its Pixel RPG demo, 2.6x faster on an 8.4 min film | the baseline | not measured here | not measured here | not measured here |
Sources, checked Nov 6 2026: Remotion's encoding and hardware acceleration docs, Motion Canvas's rendering docs and the HyperFrames README. Projects change, so check their docs for the latest. Foldline's speed numbers are in Results.
You need:
git clone https://github.com/alireza12t/foldline.git
cd foldline npm ci node node_modules/playwright-core/cli.js install chromium-headless-shell
The last line installs the headless Chrome the renderer uses, the same way lemo's setup script does it. To use a different Chrome or headless-shell executable, set PLAYWRIGHT_CHROME=/path/to/chrome-headless-shell.
For the Python tools (sound effects, mix, subtitles, voice), lemo's setup script makes the .venv in tiers. Run it from the repo folder:
| Command | Adds |
|---|---|
sh plugin/skills/lemo-opuscar/scripts/setup.sh deps | npm packages, headless browser, Python .venv core tier |
sh plugin/skills/lemo-opuscar/scripts/setup.sh deps voice | Kokoro, edge-tts, faster-whisper, and the Kokoro model |
sh plugin/skills/lemo-opuscar/scripts/setup.sh deps music | numba, for pluck.py |
These aren't in git. Fetch them only when a film needs them. tools/fetch.sh downloads them from lemo-opuscar's assets release on GitHub.
| Command | What it gets | Size |
|---|---|---|
sh tools/fetch.sh voice | Kokoro TTS model (English, offline) into core/tts/ | about 354 MB |
sh tools/fetch.sh hdri | Poly Haven HDRIs for the 3D styles into core/assets/polyhaven/ | 12 MB |
sh tools/fetch.sh instruments | one sample library (freepats, karoryfer, salamander, vcsl, vsco2ce, or all) | 70 to 400 MB each |
Full sizes and details are in TECHNIQUE.md §1.
Run every command from the repo folder.
node core/render/video.mjs styles/rubber-hose/demo --fps 24 --out out/rubber-hose.mp4
Some demos need a one-time setup in their own folder first:
npm ci if the demo has a package.jsonnode fetch_fonts.mjs if it has onenode core/render/video.mjs my-film --size 1080x1920 --fps 60 --audio my-film/mix.wav --out my-film/out/video.mp4
my-film is any folder with an index.html that follows the page contract below.
node core/render/still.mjs <dir> 3 20 --out <dir>
This writes review JPEGs at 3 s and 20 s. See core/README.md for --range and --prefix.
| Flag | Default | Meaning |
|---|---|---|
--fps | 24 | frames per second |
--size WxH | 1920x1080 | render size, even numbers |
--workers | 3 | parallel browsers; up to 6 for a single render |
--out | /out/video.mp4 | output file; each parallel render needs its own |
--q 'k=v&…' | none | reaches the page as location.search |
--audio | none | mux a sound file in (AAC 192k); new in Foldline |
| Variable | Default | Meaning |
|---|---|---|
FOLDLINE_ENC | auto | auto (WebCodecs, else VideoToolbox, else x264), wc, vt, or x264 (lemo's original path). LEMO_ENC still works |
FOLDLINE_MBPS | 20 | bitrate in Mbit/s for the WebCodecs path |
LEMO_VTQ | 72 | quality for the VideoToolbox screenshot path |
The rest of lemo's variables (PLAYWRIGHT_CHROME, LEMO_ANGLE, RENDER_SLOTS and more) are listed in core/README.md.
This comes from lemo. Each film is a folder with an index.html that sets:
window.DUR = 54.2; // film length in seconds
window.render = (t) => { ... }; // draw the frame at t seconds; may be async window.READY = true; // set once fonts and assets are loaded
For the fast path, draw the whole film into one visible of the render size. Any other page still renders, through the screenshot path.
lemo's plugin and skill are for Claude Code. How to install them, and how to ask for a film, is in LEMO-README.md, How to use. The plugin installs lemo's own library into ~/lemo-opuscar. lemo's setup script uses the clone you're standing in when it's a library, so to work with Foldline's renderer, start your agent inside this folder (lemo's "clone the repo" option).
Foldline has an MCP server, so Claude Code, Codex, Cursor and other agents can call its tools directly instead of reading the guides and running commands by hand. It's on npm as foldline-mcp, and it's listed in the MCP Registry as io.github.alireza12t/foldline.
You need Node 20+, ffmpeg (brew install ffmpeg) and Chrome's headless shell, installed once with npx playwright-core@1.63.0 install chromium-headless-shell. The server tells you if one is missing.
Claude Code, as a plugin:
claude plugin install foldline --marketplace alireza12t/foldline
or as a plain MCP server:
claude mcp add --scope user foldline -- npx -y foldline-mcp
Codex, in ~/.codex/config.toml:
[mcp_servers.foldline]
command = "npx" args = ["-y", "foldline-mcp"]
Cursor (~/.cursor/mcp.json), Claude Desktop and most other clients:
{ "mcpServers": { "foldline": { "command": "npx", "args": ["-y", "foldline-mcp"] } } }
VS Code (.vscode/mcp.json):
{ "servers": { "foldline": { "command": "npx", "args": ["-y", "foldline-mcp"] } } }
To use your own clone instead of npm, point the command at it: `node /path/to/foldline/core/mcp/server.mj
ตัดมาแค่ช่วงต้น อ่านต่อใน repo