Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fosslife/bin
pastebin in rust
https://github.com/fosslife/bin
pastebin pastebin-service rust
Last synced: 3 months ago
JSON representation
pastebin in rust
- Host: GitHub
- URL: https://github.com/fosslife/bin
- Owner: fosslife
- Created: 2020-11-11T11:53:28.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-08T08:32:18.000Z (over 1 year ago)
- Last Synced: 2024-05-17T23:34:08.511Z (6 months ago)
- Topics: pastebin, pastebin-service, rust
- Language: Rust
- Homepage:
- Size: 309 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - fosslife/bin - pastebin in rust (rust)
README
# Pastebin written in Rust
uses vs-code like `monaco-editor` ui and rust in the backend:
![image](./logo.png)
The editor should support all the languages that monaco editor supports.
the language are downloaded at runtime, depending on the language user sets.to set the langugage press `Ctrl-l` or the button at the bottom bar. and then
type the name of the language in prompt.## deployment:
the bin is written in Rust, so the server is statically linked binary of size 3MB.
all you need to do is serve the assets with it (Only images and css file specifically).to deploy, compile a release build, and start the server with your preferred way, make sure
you put `assets` dir from the repo the same level as binary. binary will create `pastes`
folder to store pastes automatically.