Skip to main content

Show HN: A self hosted alternative to Ngrok https://ift.tt/2XjSG95

Show HN: A self hosted alternative to Ngrok Hi! I am sharing this because it may be useful to others. I created a simple Docker image that lets you easily expose a web app running locally on your dev machine to the Internet, via a proxy server. It is a self hosted alternative to something like Ngrok, which is a paid service if you use custom domains. A small server is cheaper than Ngrok (I use Hetzner Cloud and the cheapest server costs me 3€ per month). I use this method in particular to test HTTP verification with Let's Encrypt for a SaaS app running on my Mac. Hope this is useful :) Code: https://ift.tt/2Lq8IHa Blog post: https://ift.tt/2xigF8X... June 30, 2019 at 04:34AM

Comments

Popular posts from this blog

Show HN: TypeScript query builder with full type inference https://ift.tt/xZp9HOm

Show HN: TypeScript query builder with full type inference Hey HN! Colin here - a TypeScripter, open sourcer, and engineer at EdgeDB. As the creator of Zod and tRPC, I'm interested in designing tools/APIs that use type inference and generics to make life easier for devs. This query builder represents another step in that direction. We set out to build an EdgeQL query builder that can express queries of arbitrary complexity (EdgeQL has feature parity with SQL, roughly) and infer the static type of the query result. We introspect the database and generate a schema-aware client that represent any query, including ones that use built-in functions, operators, string/array/tuple indexing, aggregations, conditionals, type casting, subqueries, computed properties, etc—things most ORMs can’t represent. This post mostly discusses the API design, which I think will be interesting regardless of familiarity with EdgeQL. I’d love to see some of these ideas bleed into future generations of TypeSc...