onceler icon indicating copy to clipboard operation
onceler copied to clipboard

JSON API

Open flooose opened this issue 7 months ago • 0 comments

First off, thanks for this it's a great little service! 🚀

I spend a fair amount of time managing people's access credentials, which requires sending temporary passwords. Would you willing consider a JSON API for sharing onces? If I could curl to and endpoint receive a link to share with people who need temporary credentials, that would really be awesome.

I'd be happy to take a look at authoring the PR and I could even imagine something as simple as a completely separate endpoint that returns something as simple as https://icanhazip.com:

$ curl icanhazip.com
192.168.1.123

flooose avatar Jun 25 '25 16:06 flooose