Skip to content

mrinjamul/go-secret

Repository files navigation

secret logo

go-secret

A self-destructive message sharing applications

Secret is use to share messages and delete them after the messages are read.

Development

To get started, you can clone the repository and run the following commands:

git clone https://github.com/mrinjamul/go-secret.git

To install the dependencies, run the following commands:

cd go-secret
go mod download

To build the UI, run the following commands:

cd views
npx tailwindcss -i ./static/tailwind-src.css -o ./static/tailwind.css

To build the application, run the following commands:

cp .env.example .env # copy the example env file and set your own values
go build -o secret main.go # build the application
export $(cat .env | xargs) # export the environment variables
./secret # run the application