Deno Paste is a simple paste service built with Deno ๐ฆ and Fresh ๐
Some stand-out features:
- Automatic paste expiration (one hour).
- Copy paste to the clipboard.
- Save paste to file.
- Link directly to pastes' raw contents.
Install the latest Deno CLI version.
Then start the development server using the deno task command:
deno task devNow open http://localhost:8000 in your browser to view Deno Paste. Any changes you make to the source code will be reflected in your browser.
Deno Paste is deployed via Deno Deploy. To deploy your own version:
- Fork this repository
- Create a Deno Deploy project
- Link the Deno Deploy
project to the
main.tsfile - The project will be deployed to a public $project.deno.dev subdomain.
For a more in-depth getting started guide, visit the Getting Started page in the Fresh docs.
To run the unit tests:
deno task testTo view a test coverage report:
deno task test -- --coverage
deno coverageTo run the integration tests, start the Deno Paste server if you haven't already:
deno task devOr
deno task build
deno task previewThen, in another tab, run the integration tests:
deno task e2e