NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.84k stars 13.22k forks source link

Package request: hoppscotch (self-hosted, not desktop electron app) #261872

Open felixsanz opened 9 months ago

felixsanz commented 9 months ago

Project description

Open source API development ecosystem - https://hoppscotch.io/

It's a web service for API testing, like postman/insomnia but self-hosted and doesn't run on electron. Uses postgresql.

Demo: https://hoppscotch.io/

Metadata

humancalico commented 8 months ago

They've just released a desktop app https://hoppscotch.com/download

GetPsyched commented 8 months ago

Hey, @felixsanz, from what I've discussed with the upstream devs, this will most likely be possible only once their new desktop app (as @humancalico mentioned) is decoupled from the code that connects the app to the hoppscotch.io servers.

So, essentially, they'll allow a configuration option in the future between self hosting, hoppscotch servers, etc. either through multiple versions of their app, or via in-app options (this is TBD since their desktop app is still in alpha)

felixsanz commented 8 months ago

Hey, @felixsanz, from what I've discussed with the upstream devs, this will most likely be possible only once their new desktop app (as @humancalico mentioned) is decoupled from the code that connects the app to the hoppscotch.io servers.

So, essentially, they'll allow a configuration option in the future between self hosting, hoppscotch servers, etc. either through multiple versions of their app, or via in-app options (this is TBD since their desktop app is still in alpha)

Just to note, i don't know others but i wouldn't be interested in another electron app. i would only use hoppscotch if it's available in nixOS as a self-host service. this is how hoppscotch works. they've released the desktop app recently but i'm not interested in that

GetPsyched commented 8 months ago

I'll discuss this with the devs; currently, I have no idea how something like that would be packaged.

felixsanz commented 8 months ago

I'll discuss this with the devs; currently, I have no idea how something like that would be packaged.

just like miniflux is packaged. it's a service that runs via systemd and available as a self-hosted web app.

A package like this: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/web-apps/miniflux.nix

But using this stuff: https://raw.githubusercontent.com/hoppscotch/hoppscotch/main/docker-compose.yml

GetPsyched commented 8 months ago

I'll discuss this with the devs; currently, I have no idea how something like that would be packaged.

just like miniflux is packaged. it's a service that runs via systemd and available as a self-hosted web app.

A package like this: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/web-apps/miniflux.nix

But using this stuff: https://raw.githubusercontent.com/hoppscotch/hoppscotch/main/docker-compose.yml

I'll look into it; although I'll get quite busy soon so no promises on this from my end. Any maintainer may feel free to package it themselves early.

wolfgangwalther commented 4 months ago

The package was added in #289271, but not a module.

Edit: Or maybe that's just the Desktop app, which is packaged?

GetPsyched commented 4 months ago

Yes, that's the desktop app; this issue specifically requests the self-hosted module.

DataHearth commented 3 months ago

Hey! I've already packaged the desktop app in #289271 😄 . Tested on macos and linux (x64 arch).

GetPsyched commented 3 months ago

Hey, please read the above discussion and the original post; this issue requests the self hosted runner of Hoppscotch and not the desktop application. Thanks.

EDIT: @felixsanz I think it would be a good idea to reflect this in the issue title itself.