Is there an open-source self-hosted solution to push hex packages?

Hello all,

For Ruby applications I’ve used https://github.com/geminabox/geminabox to push private gems.
Is there an equivalent solution for Elixir / hex?
I know that private packages in hex.pm are in beta, but I’m looking for a self-hosted solution.

Thanks

1 Like

hex.pm is open source, you should be able to self host that

1 Like

We’re working on making it easier to self-host a repository with following projects:

  1. https://github.com/hexpm/hex_erl. The code that is already on master branch is fairly safe to depend upon, the registry PR (which is needed to build a repository) is almost done
  2. https://github.com/wojtekmach/mini_hex - this is still highly experimental, but you can fork the project and go from there.

We’re pretty close to getting an initial version of hex_erl so expect a public announcement real soon now ™, stay tuned!

7 Likes

@wojtekmach That’s fantastic! I’d be interested to contribute,
is there a roadmap / milestne / list of missing pending tasks?

@zorbash a quick update:

  • we have merged registry support and we’re getting closer to first release of hex_erl, its already being used by hex and hexpm. Here is the roadmap: https://github.com/hexpm/hex_erl/issues/6
  • next up is focusing on minimal repo implementation, expect an update in few weeks
    Cheers
3 Likes