russkysong / Law × Code / No. 001
Law × Code — Apps & Tools

russkysong

Apps — Built Software · Three
01
No. 01 · App

Dual
DraftKO·EN Bilingual Document Drafts

Drop a .docx or .pdf and get back a two-column bilingual .docx — source on the left, draft translation on the right, paired row-by-row. It's built for the way working translators actually work: a fast, literal first draft you post-edit, not a one-click “final.” Everything runs in your browser — no server, nothing uploaded.

Live in-siteSvelte 5ViteTypeScriptpdf.jsdocx.jsBYOKLocal LLM

How it works

  • Parses .docx/.pdf in-memory and reconstructs real paragraphs from wrapped PDF lines (gap, numbering-prefix & sentence-terminator heuristics) — no fragmented one-line-per-row output.
  • Table detection: clusters PDF text positions into rows/columns and rebuilds them as real w:tbl grids on both sides, each cell translated individually.
  • Auto-detects direction (KO→EN / EN→KO) from the Hangul-to-Latin ratio.
  • “Preview 3” pre-flight, then a live progress canvas with a rolling-window ETA as the model warms up.

Why it's different

  • Three engines, switchable per run: Claude (BYOK, best quality), Gemini (free tier), or fully local Qwen/Llama via Ollama — $0, offline, nothing leaves your machine.
  • Legal-tuned prompt preserves numbering (1., (a), 제3조), defined terms & formal register — no paraphrasing.
  • Anti-drift / anti-echo retries so instruction-shaped text never gets a chatty “I'm ready to translate…” reply.
  • Ships as a single self-contained HTML file; BYOK keys live only in localStorage.
02
No. 02 · App

Policy
EchoKorea · Policy-Pattern Dashboard

A Next.js dashboard that connects recurring “Echo” policy patterns — themes that show up across Korean and global governance — to a set of interactive views: a sortable table, a world map, fuzzy search, and a live legislative-notice monitor that watches Korean government rule-making.

WIPNext.js 15React 19TypeScriptTailwindOpenLayersfuse.jsRecharts

The views

  • /tracker — sortable Echo pattern table (topics, keywords, agenda tags).
  • World map — OpenLayers geographic framing for each pattern's context.
  • /copykiller — fuzzy full-text search (fuse.js) across pattern-related text.
  • /matrix — a structured “proof” / narrative layout for Korea-relevant angles.
  • /assembly — a 입법예고 (MoLEG) monitor matching keywords to government legislative notices; fetches gov XML server-side when configured.

Under the hood

  • Next.js 15 App Router; lib/patterns.ts + lib/matrix-korea-proof.ts feed every route.
  • Four embedded SVG architecture diagrams document the shell, components, data/libraries, and user journeys.
  • Recharts for charts, fast-xml-parser for the government XML feed, sonner for toasts.
  • Export paths built in (X-thread export, CSV / patterns.ts).
03
No. 03 · App

IRAC
CoachAI Legal-Writing Practice · US Law

A practice studio for US law students that runs entirely on your own machine — no API keys, nothing sent to the cloud. Four modes take you from reading a model analysis to writing your own and getting it graded, all powered by a custom local model.

Runs locallyStreamlitPythonOllamaqwen3.5:9b

Four modes

  • Generate IRAC — paste a fact pattern, get a full IRREAC analysis with citations and element-by-element application.
  • Both Sides — plaintiff's and defendant's strongest arguments, side by side.
  • Compare & Feedback — write your own IRAC, then have it graded section-by-section against the model answer.
  • Socratic Mode — a “professor” asks one question at a time so you spot the issues yourself.

How it works

  • IRREAC — a two-Rule IRAC (Issue, Rule Statement, Rule Exploration, Application, Conclusion) for richer analysis.
  • Custom Ollama model: qwen3.5:9b + a tuned system prompt with built-in Contracts & Torts few-shots (Modelfile).
  • think=False to avoid token waste; model kept in VRAM (keep_alive=30m); streamed JSON with truncation-repair.
  • Covers 12 areas of law — Contracts, Torts, Con Law, Crim Law & Pro, Property, Civ Pro, Evidence, Admin, Business Associations, Family, Pro Responsibility.
Study Tools — Published on Site · Four
04
No. 04 · Guide

Law &
LibertyChristianity & Law — Study Site

A self-contained study site for a semester on law and liberty in scripture — the whole course in one browsable page.

Law & ReligionSelf-contained HTMLCourse Guide
  • Eight weekly sections (W1–W11), each with a key-question card and short answer.
  • A consolidated course thesis + story arc, plus a “How to Answer” essay framework.
  • A 12-term glossary — Imago Dei, Logos, Three Uses of the Law, Telos, and more.
  • Dark/light toggle, responsive, no build step — one HTML file.
05
No. 05 · Tool

Estate
DecoderUS Property — Estates & Future Interests

A step-through classifier for the estates system: answer one question at a time and it walks you to the right present estate and future interest.

PropertyDecision ToolData-drivenExam Prep
  • Starts at “common law or modern?” and branches from there.
  • Classifies present estates and future interests, step by step.
  • Driven by a structured estates dataset (fee simple determinable, condition subsequent, life estates…) with example conveyances and a glossary.
  • Built for exam practice — fast to re-run on a new hypo.
06
No. 06 · Tool

Immigration
NavigatorUS Immigration Law — Decision Tree + Goal-First

Two complementary study tools for working through immigration problems — one top-down, one goal-first.

ImmigrationDecision TreeStudy Tool
  • An interactive decision tree over immigration law, with a 5-step exam checklist and a 6-category outline.
  • A “goal-first” reverse-engineering walkthrough: client goal → forum → tool → what to analyze.
  • Designed to mirror how the analysis runs in a real exam answer.
07
No. 07 · Talk

The PeacemakerAppendices C & D — Interactive

A presentation on biblical conflict resolution — an interactive walkthrough of Appendices C & D, with a script to deliver it.

Conflict ResolutionPresentation
  • An interactive walkthrough of Appendices C & D.
  • A companion presenter script for delivering the material live.
Study Library — From study/ · Three
08
No. 08 · Guide

Legal
Translation법률-번역의-정석 · Master Reference

A browsable legal-translation reference — terminology, field notes, and compact/mobile editions — maintained in the study workspace.

TranslationKO·ENstudy/
  • Main index plus compact and mobile layouts for field use.
  • Lives under study/sites/법률-번역의-정석/ — linked here via the portfolio/web/study symlink.
09
No. 09 · Suite

Business
AssociationsCorporations · Interactive Study Suite

Course guide and quiz banks for Business Associations — formation, veil, finance, voting, and fiduciary duties.

BusinessExam Prepstudy/outline/
  • Course guide — structured outline for the semester arc.
  • Quiz banks — interactive drills by subtopic (formation, promoters, veil, dividends, voting, care, loyalty).
10
No. 10 · Vault

Immigration
ResearchCase Analysis · Research Vault

Deeper immigration case-analysis views and outline tooling — complements the published Immigration Navigator decision tools.

ImmigrationResearchstudy/outline/
  • Case analysis (v1 & v2) — structured hypo walkthroughs in the research vault.
  • Source trees also hold the outline decision-tree builds that feed the published navigator copies.
Teach — From teach/ · One
11
No. 11 · Course

KO·RU
Legal Basics통역사를 위한 법학상식 · Lecture Site

A lecture-site for court interpreters — legal concepts in Korean with Russian context, glossary, and numbered lecture pages.

TeachingKO·RUteach/
  • Home, glossary, and twelve lecture pages under teach/…/site/.
  • Linked here via the portfolio/web/teach symlink — same files you edit in Development.
Reference — vaults/ · One
12
No. 12 · Reference

US Customs
LawExpert Brain · Full Vault

A browsable customs-law knowledge base — statutes, CBP rulings, CIT/CAFC cases, procedures, forms, and topic hubs. Built from Obsidian markdown and published with Quartz.

LiveQuartzCustomsvaults/
  • 90+ notes across regulations, rulings, cases, and six topic hubs.
  • Search, backlinks, and graph on the published site; vault CI runs before each build.
  • Disclaimer on site — research support, not legal advice.
Side B — Off the Record

Scripture,
in Sound

Now playing
Vindicate
Psalms · Book I (1–41)
AlbumGospel RapScripture SongsChoir
Vindicate — Psalms Book I ▶ Play · Vindicate — Psalms, Book I
Contact — Say Hello

Get in
Touch