Skip to content

0.5.8

Compare
Choose a tag to compare
@mnapoli mnapoli released this 18 Oct 11:45
· 2475 commits to master since this release
d20eac6

This new release contains documentation improvements and one feature: #476 Add bref.dev short URLs.

A major pain when creating a new application is the API Gateway URL:

https://fd8s8cbq6l.execute-api.us-east-1.amazonaws.com/dev

That URL is long and not friendly. And more importantly, the /dev prefix breaks routing in most frameworks, like Symfony or Laravel.

I have created a little service called bref.dev. It lets us generate short domains for development. To use it, run:

$ vendor/bin/bref bref.dev

Creating a short URL for https://fd8s8cbq6l.execute-api.us-east-1.amazonaws.com/dev
Short URL created and active for 7 days: https://ca4mb8u.bref.dev

The short URL that is created can be used instead of the API Gateway URL. It is shorter and does not have a directory prefix.

At the moment the service is in beta. It can break at any time. Short URLs are valid for 7 days after which they are disabled. That helps keep the service lean and cost-efficient.