17 Commits
Author SHA1 Message Date
zambyte 2012be4fe7 Add Dockerfile 2025-03-09 22:13:44 -04:00
zambyte 7e18c2436b Add client proxy
Add endpoint /proxy ... that can be used to proxy requests to other HTTP sites.
2025-02-22 12:26:45 -05:00
zambyte ac1fe1f5ce Update endpoint -> subject encoding
Use an encoding that can be safely used bidirectionally while still being easy to read.
This is useful for being able to make HTTP requests from NATS, which I am working on now.
2025-02-22 10:06:15 -05:00
zambyte 9fd7875271 Add run and default targets
run is useful for local testing
2025-02-22 09:55:52 -05:00
zambyte 50bd214512 Add example env files
This is useful for being able to easily set up an environment to deploy
2025-02-16 12:55:26 -05:00
zambyte 35eec78138 Remove logging
This logged every single request to stdout.
This is not necessary.
2025-02-16 12:50:52 -05:00
zambyte 0facd7006e Deploy on FreeBSD better
Added some changes that should help with deploying on FreeBSD.
Before it was holding onto my shell that I ran just deploy from, and killed the proc when I hit ctrl+c.
2025-02-16 12:49:17 -05:00
zambyte 0151ad157a Add justfile
Make it easier to deploy
2025-02-16 10:05:15 -05:00
zambyte 4f940db063 Sanitize paths
Use _ instead of . in paths.
This is useful for paths like /.well-known, where the previous subject transformation would be invalid, due to two consecutive dots.
2025-02-11 07:15:22 -05:00
zambyte a4a003d9f4 Add host to subject 2025-02-09 17:06:31 -05:00
zambyte 32c110edfb Use 404 when there are no NATS handlers 2025-02-09 17:06:19 -05:00
zambyte 7101dd003b Add support for inbox prefix 2025-02-09 16:21:36 -05:00
zambyte cb61f0817f Disable NKEY connection for now
Not used and it wasn't working
Added a connection name to make it easier to track the connection
2025-02-09 16:21:36 -05:00
zambyte 21c6514b87 More connection options 2025-02-01 11:44:22 -05:00
zambyte 34521571b5 Add env vars
Add support for user and pass connection.
Add support for specifying the HTTP port
2025-02-01 11:43:45 -05:00
zambyte aa161c4525 Basic working locally 2025-02-01 11:21:12 -05:00
zambyte cdb221b752 Initial commit 2025-02-01 11:03:44 -05:00