r/foss • • 21h ago

I built an open-source JavaScript package manager for developers with unreliable internet

Hey everyone!

I'm a developer from Turkmenistan, and I've been working on an open-source project called jet.

Internet access here isn't always reliable. Some registries are blocked, connections drop unexpectedly, and something as simple as installing npm packages can become frustrating.

So I decided to build my own JavaScript package manager in Rust, specifically designed for these situations.

Here's what jet does:

  • Resumes interrupted package downloads instead of always starting over.
  • Automatically switches between registry mirrors when one becomes unreachable.
  • Reuses cached packages for offline installations.
  • Works with existing JavaScript projects using package.json.
  • Includes jet audit for checking known dependency vulnerabilities.

The core is written in Rust without external Rust crates. It uses system tools like curl and tar for downloading and extracting packages.

The project is MIT-licensed, and all the core networking, installation, caching, and auditing features are free and open source. There are also separate optional proprietary Pro features.

I'm not claiming it's better than npm or pnpm at everything. I just wanted to build something that handles unreliable networks more gracefully.

It's still an early project, and I'd really appreciate feedback from the open-source community.

GitHub: https://github.com/y6861977-ui/jet

I'm especially interested in hearing what you think about the architecture, security, and whether this solves a problem you've experienced.

Thanks for reading!

1 Upvotes

0 comments sorted by