HTTPLabs - Choosing the Right Path Forward

HTTPLabs is a collection of simple client-side tools designed to help developers while preserving privacy. None of the data leaves your browser—no tracking or ads.

Currently, I have built two tools, each in its own folder, using CDNs for most dependencies. This approach has been straightforward and efficient for rapid development. However, as I plan to add more tools, I’m considering the best way to manage the project to prevent potential issues down the line.

Here are the strategies I’m evaluating:

  • Continue Using CDNs with Independent Folders

    • Pros:
      • Simplicity and minimal setup.
      • Quick to develop and deploy new tools.
    • Cons:
      • Potential for inconsistent dependency versions.
      • Reliance on external sources for critical libraries.
  • Adopt a Package Manager (e.g., npm)

    • Pros:
      • Centralized control over dependencies.
      • Ability to optimize and possibly reduce CSS bundle sizes.
      • Enhanced security checks using tools like npm audit.
    • Cons:
      • Increased JavaScript bundle sizes as more tools are added.
      • Additional build steps and complexity.
  • Implement a Monorepo Structure

    • Pros:
      • Shared configurations and code reuse across tools.
      • Streamlined project management.
    • Cons:
      • More time required to manage the combined projects.
      • Increased complexity for contributors.

I want to proactively address this before it becomes a larger problem as HTTPLabs grows. My goal is to find a balance between maintaining simplicity and ensuring scalability.

I’m seeking feedback:

  • Has anyone faced a similar dilemma?
  • What strategies worked for you?
  • Are there hybrid approaches that offer the best of both worlds?

Your insights would be greatly appreciated as I navigate this decision.

By: Gavi Narra on: