Skip to content

abhishekkr/dory

Repository files navigation

dory

Go Report Card Build Status

quick try using docker abhishekkr/dory:0.3-alpine

docker run -it -p8080:8080 abhishekkr/dory:latest

Share your secret with a fish that have short term memory.

When you run dory, webserver by default will be available at :8080 and hosts help document for quick overview.

Current Features:

  • can also reach permanent (disk persisted, non-ttl) memories in Dory by providing GET Param as persist=true

  • provides local auth-store backed by cache2go and encrypted by AES crypto

  • allows POST, GET and DELETE for a auth identifier path (like http://dory.local:8080/local-auth/:identifier) to store, fetch and purge data

  • successful POST of data at auth identifier path returns reference X-DORY-TOKEN mapped with this auth identifier path, this token need to be sent as value of this header X-DORY-TOKEN for GET and DELETE.

  • created secret store have default TTL of 5minutes, custom TTL can be set as URL Param in POST request by value of ttlsecond in seconds

  • first GET of secret will purge it from store, unless GET Param keep=true is provided


  • How To Fetch Dependencies
./go-tasks deps
  • How To Build

following command will create a ./bin directory an create multi platform binaries there to run will also fetch dependencies if not done already

default it runs at :8080, to run it at any other port (or IP::PORT), export environment variable DORY_HTTP with required listen-at value before running dory in that env scope.

./go-tasks build
  • How To Use LocalAuth

curl example


building docker with custom local binary

docker build  -t abhishekkr/dory:alpha -f w3assets/Dockerfile .

image of dory


MIT Licensed


About

secret sharing service with auto-expiry as default, doesn't need accounts

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published