Hey does anyone know of an ActivityPub client (with at least minimal Mastodon compatibility) that can be used for testing stuff on localhost? I've tried: Elk, Whalebird, and @phanpy, but for whatever reason they don't allow non-HTTPS localhost, so my `...
-
Hey does anyone know of an ActivityPub client (with at least minimal Mastodon compatibility) that can be used for testing stuff on localhost? I've tried: Elk, Whalebird, and @phanpy, but for whatever reason they don't allow non-HTTPS localhost, so my `http://localhost:3000` local servers are out of luck, for development testing.
(And, I know I can use Ngrok or Dyndns to reverse proxy, but it's silly to need to pay just to test something locally (the free Ngrok domains don't work, btw)).
-
Emelia πΈπ»replied to Dmitri | πΊπ¦ on last edited by
-
Dmitri | πΊπ¦replied to Emelia πΈπ» on last edited by
@thisismissem @phanpy Oh cool, what's the change?
-
Emelia πΈπ»replied to Dmitri | πΊπ¦ on last edited by
-
Chee Aun π€replied to Emelia πΈπ» on last edited by
@thisismissem @dmitri @phanpy there's this PR https://github.com/cheeaun/phanpy/pull/451 - not merged because doesn't feel like the right solution. `https` is hard-coded in few places.
-
Dmitri | πΊπ¦replied to Chee Aun π€ on last edited by
@cheeaun Thanks! So what would be closer to the right solution? @thisismissem @phanpy
-
Chee Aun π€replied to Dmitri | πΊπ¦ on last edited by
@dmitri the PR assumes all servers to be http-only, due to the env var setting.
I haven't thought much about this, to be honest. When logging in, users enter "domain.tld" which doesn't say it supports https or http. So, the login form probably need to allow entering `http://domain.tld`, the code need to parse this and use http instead?
-
Emelia πΈπ»replied to Chee Aun π€ last edited by
@cheeaun @dmitri yeah, the way I've handled this in the past is: use the protocol if explicitly given, if not, default to https:
https://gist.github.com/ThisIsMissEm/abfb2789b1af698faae3ef856776267d
-
Raphael Lullisreplied to Dmitri | πΊπ¦ last edited by
https://nip.io was my go-to solution for this.