repo2nb 0.2.0: Convert GitHub Repos to Kaggle/Colab Notebooks
PolarIceBear_ · reddit · 2026-08-22
repo2nb is an open-source CLI that converts GitHub repos into runnable Kaggle or Colab notebooks, handling file tree walking, dependency resolution, and cell generation automatically. Highlights of version 0.2.0:
- Dependency Resolution: Features a fallback chain trying poetry export, then uv export, then requirements.txt, and finally an AST import scan. Output is always a plain %pip install cell.
- Reverse Mode: repo2nb reverse <notebook> reconstructs the original repo from a generated notebook using per-cell path/hash metadata.
- Incremental Sync: repo2nb sync <repo> performs one-way updates (repo to notebook), adding, editing, or removing files, with a --dry-run option to preview diffs.
- Colab Target: Added support for Colab with its own auth cell (google.colab.userdata.get) instead of reusing Kaggle secrets.
More from coding & agent
- Agent Flywheel Methodology: Orchestrating Swarms with Beads-Based Planning — doodlestein · 2026-08-22
- Claude Console adds Playground to explore Messages API — brada · 2026-08-22
- Jeffrey Emanuel: beads task management powers my hundreds of agent instances — doodlestein · 2026-08-22
- Dev ships SaaS in a day using Lovable, sharing workflow for 50+ MVPs — PrajwalTomar_ · 2026-08-22
- Agent coding life hack: use bv to rewire beads dependencies for more concurrency — mmatthias · 2026-08-22
- Claude edits video via MCP: Agent automates timeline work — AlexKim · 2026-08-22