Inspiration

Persepolis Download Manager was one of those tools people loved without thinking about it: 64-segment downloads that survived terrible connections, video grabbing, scheduled queues, all free. Then it went quiet. Last release July 2025, last commit August, and its issue tracker is still collecting crash reports nobody answers.

For Kiroween 2026's Resurrection category we brought it back from the dead. The Qt interface was dead, but the engine underneath it, aria2, still works. So we kept the engine and replaced everything above it.

What it does

Persepolis Resurrection is a GPU-rendered Rust desktop app (gpui) that talks to aria2 over JSON-RPC:

  • Multi-segment downloads with live progress, pause/resume/remove
  • Persepolis's classic download-window scheduling: jobs pause outside the window, and only auto-paused jobs resume
  • YouTube/video URL detection: yt-dlp resolves the stream, aria2 downloads it
  • An ✦ Ask Kiro command bar: plain language ("8 connections, save to ~/Videos") becomes aria2 options
  • Errors are surfaced in the UI instead of failing silently, which is the exact failure mode that killed the original

How we built it

The whole project was driven by Kiro CLI (3.8) in a spec-driven loop: Kiro turned a written spec into a milestone checklist, implemented the first milestones directly, then planned the rest, reviewed the human-built diffs against its own plan, and caught two real bugs. .kiro/ in the repo holds the spec, task breakdown, steering docs, and the automated fmt+clippy hook.

Three of upstream's top open bugs are fixed by architecture rather than patches: progress is never buffered in app memory (that's the 4.5 GB OOM), file renaming is explicit (the mystery _1 suffixes), and engine errors surface in the UI (the "all downloads error" drift).

Challenges we ran into

  • gpui has no manual: responsive layout is hand-rolled from viewport size, and keyboard input requires explicit focus-handle management. Both bit us. Both are now documented in the repo's AGENTS.md.
  • Running a plan → build → review loop across Kiro and a second agent without breaking the evidence trail.

What we learned

  • Configure instead of rewrite. The aria2 engine needed zero changes, and every attempt to reimplement engine behavior was a bug waiting to happen.
  • An AI reviewer that reads the spec you agreed on first is a different tool from one that just completes your code.

What's next

Windows/macOS builds (the UI is already darwin-clean), browser integration, and upstreaming the architecture fixes back toward the Persepolis community.

Built With

  • aria2
  • gpui
  • kiro
  • nix
  • rust
  • tokio
  • yt-dlp
Share this project:

Updates

Submission history