Reddit user Historical_Active_18, a law student in Brazil sharing their build on r/cyberDeck, wanted access to legal texts without carrying heavy codebooks or reaching for a distracting smartphone. They describe having ADHD and made fully offline use a central requirement. Their answer is an ESP32-S3-powered cyberdeck: a dedicated legal-reference device with physical controls and a distinctly cyberpunk appearance.
The interesting choice is the boundary around the task. Rather than make a phone better suited to studying, the creator built a separate machine intended to keep legal reading apart from everything else a phone offers.
Legal codes get their own controls
The photograph shows burgundy number keys and two unmarked black keys mounted through a translucent top plate, with three large black knobs down the left side. A black enclosure supports the display, and a circular button on the front has an illuminated ring.
Onscreen, green text and outlines frame a Portuguese-language directory. Brazil’s Federal Constitution is selected above entries for civil, criminal, procedural and tax codes. The screen labels the location as an SD root directory; it shows a collection of legal texts rather than an article being read.
That distinction leaves an important part of the interface to explore. Other builders asked whether lookup works by article number, whether keyword search is possible and what the knobs do. The creator’s description doesn’t answer those questions, so the numbered keys shouldn’t be taken as proof of a particular search method. The photo establishes the layout, not the complete interaction scheme.
Four tools stay tied to the current article
The creator says they wrote custom software with help from Claude Code and Codex, starting with basic programming knowledge. Alongside reading legal text, they describe four tools accessible by button while browsing an article:
The shared design idea is context: each tool starts from the article already being read. That could reduce the need to leave a passage and begin a separate search, although the post offers no measured study results or examples with which to assess the tools’ accuracy.
Claude Code and Codex are credited as development aids. That does not establish that an AI model runs on the ESP32-S3, or explain how the explanations and references are produced.
Offline reading still needs an update path
The creator also reports that their software checks official Brazilian government websites and supplies updates when legislation changes. How that online process connects to the intended offline device is left open: the post doesn’t describe where the checking runs, how files are transferred or which study tools remain available without a connection.
For this particular device, that is a useful next detail rather than a minor implementation footnote. A legal reader needs both an easy way to reach a provision and a clear way to know which version it contains. A walkthrough showing an update, its date and a subsequent offline lookup would make the design much easier to evaluate.
Fellow hobbyists requested code, build plans and parts information, while people studying or working with law expressed interest in versions for other countries. Those are requests, not an announced release. For now, the project’s strongest idea is its focused scope: give legal study a dedicated set of controls, then make the path from official text to offline reading as clear as the hardware’s purpose.
Written by the Visual Space editorial team.
Source: Cyberdeck for looking up laws