NAUMAN // OS

Principal Data Engineer

Discord History Exporter: Exact-Range Message Export Extension

A browser extension that exports a Discord channel's history over a range chosen to the second, to JSON, CSV or Markdown, with nothing to set up.

Discord History Exporter: Exact-Range Message Export Extension

Data Extraction & Reliability Engineering

JavaScript • Chromium Manifest V3 • Discord API v9

Aug 2026 – Present

A browser extension that exports a Discord channel's history, direct messages included, over a range chosen to the second, to JSON, CSV or Markdown, using the logged-in account's own session with nothing to set up. I engineered range bounds as half-open snowflake intervals that cover both chosen seconds in full and tile exactly, and a history walk that pages backwards 100 messages at a time, stops at once on a refusal, retries transient failures after 1, 2, 4 and 8 seconds, waits out Discord's rate limits and never saves a truncated file under the full range's name. JSON keeps Discord's own message objects unchanged, CSV follows RFC 4180 with a spreadsheet formula guard, and Markdown renders a readable transcript with embed text. It asks the browser for no permissions beyond discord.com and holds the session token in memory for one export only, verified by 51 unit tests and a 44-check Chromium gate over a simulated Discord.