https://github.com/jhass/crpaste
A simplistic, command line focused pastebin.
https://github.com/jhass/crpaste
crystal pastebin
Last synced: 23 days ago
JSON representation
A simplistic, command line focused pastebin.
- Host: GitHub
- URL: https://github.com/jhass/crpaste
- Owner: jhass
- License: mit
- Created: 2015-10-06T17:52:10.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2025-05-19T17:13:50.000Z (10 months ago)
- Last Synced: 2025-07-03T21:42:28.191Z (9 months ago)
- Topics: crystal, pastebin
- Language: Crystal
- Size: 170 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# crpaste
A simplistic, command line focused pastebin.
## Installation
```sh
# Build assets
corepack install
pnpm install
pnpm run build
# Build backend
shards
crystal build --release src/crpaste.cr
# Prepare database
createdb crpaste
psql crpaste < schema.sql
# Run backend
# Default port: 8000 Change by setting PORT
# Default database: crpaste Change by setting DB
./crpaste
```
## Usage
See [usage](src/usage.md).