DEV Community

Jean
Jean

Posted on

Building a Privacy-First Code Formatter: My Architecture Decisions

I'm exploring whether client-side code processing is the future of developer tools. Here's my approach with Formatic:

The Problem
Most code formatters send your code to their servers. As developers, we're trusting third parties with proprietary code.

My Solution: Client-Side First

  • Formatting happens entirely in the browser
  • Zero data sent to servers (even for translation via secure token proxy)
  • Open architecture for transparency

Current MVP Architecture

// Simplified flow
userCode => Web Worker => Formatted Output
// No server round-trip!
Enter fullscreen mode Exit fullscreen mode

Looking for Technical Feedback

  • How would you improve this architecture?
  • What security concerns should I address?
  • Interested in collaborating?

Try the MVP: formatic.xyz - it's frontend-only but shows the vision.

Question for the community: Would you contribute to an open-source, privacy-focused formatter?

Top comments (1)

Collapse
 
jeanlinux profile image
Jean

I am collecting user feedback. Would you like to be part of the team that shaped this App. First 20 users will have lifetime access to the platform. If you’re interested, join our discord server from the homepage formatic.xyz Cheers!