Buffered.link A tool to share text between connected devices via.
Clone this repository
https://github.com/JosiasAurel/buffer.gitNavigate to the app directory
cd buffer/packages/appInstall dependecies
yarn installGo to planetscale and create a new database.
Make sure to add the following in your .env file
DATABASE_URL=<your-database-url>Start the development server with yarn dev
The CLI is written in GoLang so you should make sure to have it locally.
After you have cloned this repository, navigate to the CLI directory.
cd buffer/packages/appThe CLI uses only the Go standard library and so there is no dependency to install.
Build the CLI with the following command
go build main.goFor a more optimized binary size, run
go build -ldflags="-s -w" main.goInstructions on setting up the CLI are found here
