• Stars
    star
    395
  • Rank 109,040 (Top 3 %)
  • Language
    Rust
  • License
    Other
  • Created almost 6 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

๐Ÿ—‘๏ธ a paste bin.

bin

a paste bin.

A paste bin that's actually minimalist. No database requirement, no commenting functionality, no self-destructing or time bomb messages and no social media integrationโ€”just an application to quickly send snippets of text to people.

bin is written in Rust in around 300 lines of code. It's fast, it's simple, there's code highlighting and you can โŒ˜+A without going to the 'plain' page. It's revolutionary in the paste bin industry, disrupting markets and pushing boundaries never seen before.

so how do you get bin?

Download the latest version from the releases page, extract it and run the ./bin executable. You can also compile it from source using Cargo if you swing that way:

# nix-shell provides an environment with rust/cargo installed
$ nix-shell

[nix-shell:~/Code/bin]$ cargo build --release
   Compiling bin v1.0.0 (/Users/jordanjd/Code/bin)
    Finished release [optimized] target(s) in 3.61s

[nix-shell:~/Code/bin]$ ./target/release/bin
    ...
how do you run it?
$ ./bin
funny, what settings are there?
$ ./bin

Usage: bin [<bind_addr>] [--buffer-size <buffer-size>] [--max-paste-size <max-paste-size>]

a pastebin.

Positional Arguments:
  bind_addr         socket address to bind to (default: 127.0.0.1:8820)

Options:
  --buffer-size     maximum amount of pastes to store before rotating (default:
                    1000)
  --max-paste-size  maximum paste size in bytes (default. 32kB)
  --help            display usage information
is there curl support?
$ curl -X PUT --data 'hello world' https://bin.gy
https://bin.gy/cateettary
$ curl https://bin.gy/cateettary
hello world
how does syntax highlighting work?

To get syntax highlighting you need to add the file extension at the end of your paste URL.

More Repositories

1

pisshoff

๐Ÿงธ fully isolated honeypot ssh server using thrussh
Rust
219
star
2

chartered

โœˆ๏ธ a private, authenticated, permissioned cargo registry
Rust
129
star
3

gitlab-cargo-shim

๐Ÿฆ€ Say goodbye to your Git dependencies, host a Cargo registry using the GitLab package repository
Rust
76
star
4

rgit

๐Ÿฏ a gitweb interface written in rust
Rust
73
star
5

sonos.rs

๐Ÿ”ˆ Sonos controller library written in Rust
Rust
26
star
6

warpwallet-cracker

๐Ÿ”“ An extremely basic (and slow) POC for bruteforcing WarpWallet addresses
Java
6
star
7

shalom

๐Ÿ  wip home assistant tablet ui
Rust
5
star
8

stork

๐Ÿฆ Scrapes a given source for all links without making a mess of your pots and pans
Rust
5
star
9

kpjs

๐Ÿ”’ Firefox addon POC for GPG signed JavaScript using Keybase
TypeScript
4
star
10

reaper

๐ŸŽฎ League of Legends mass summoner name checker.
Rust
3
star
11

serde_prometheus

๐Ÿ“Ÿ serde-based serializer for prometheus' text-based exposition format
Rust
3
star
12

sonos-cli

๐Ÿ”Š Simplistic, user- (and computer-) friendly command line interface for your Sonos speakers
Rust
3
star
13

shorty

๐Ÿฉณ single parameter s3 file uploader/url shortener
Rust
2
star
14

dave

๐Ÿค– A multipurpose robot written for any protocol supporting twisted.words
Python
2
star
15

dobble

๐ŸŽถ scrobble using dobble from dbus dingus
Rust
2
star
16

nom-bytes

๐Ÿ‘น take a nom of your bytes::Bytes
Rust
1
star
17

1p

โœด๏ธ user-friendly op (1password cli) frontend
Rust
1
star
18

dotfiles

โบ ...nothing interesting really
Shell
1
star
19

memrise-answerer

โ“ Answers Memrise questions automatically for you
JavaScript
1
star
20

twitter-undeleter

๐Ÿ—‘ Code for the https://twitter.com/undeletebot bot.
Python
1
star
21

blocks.ls

๐Ÿงฑ blockchain explorer
Rust
1
star
22

mcinject

๐Ÿงฑ Perhaps the earliest (surviving) forayer into the dark arts that were bytecode manipulation-based Minecraft cheating clients (for fun and destruction) c. 2013
Java
1
star
23

titan-emu

๐Ÿ–ฅ An emulator for Marc Cleave's Homebrew TTL processor
Java
1
star
24

serde_bson

0๏ธโƒฃ1๏ธโƒฃ like `bson` but faster
Rust
1
star
25

scoped-vec.rs

๐Ÿ”ญ Scoped vectors for Rust, allowing child vectors to be read from and parents to be dropped when needed
Rust
1
star
26

xirc

๐ŸŒ‰ Easy to configure XMPPโ†”IRC bridge.
Python
1
star
27

zpan

๐ŸŽต Radio DJ management panel with vBulletin integration, book time in to DJ, host events and take requests from your listeners.
PHP
1
star
28

yrs-kafka

โœ๏ธ Yrs synchronisation and persistence using RocksDB & Kafka
Rust
1
star
29

jogre

๐Ÿ“† wip jmap calendars/contacts server implementation
Rust
1
star
30

packfile

๐Ÿช† a simple library providing utilities to generate Git Packfiles in memory and send them to clients
Rust
1
star
31

syntect-cgit

๐ŸŒˆ syntect-based syntax highlighting for cgit
Rust
1
star
32

scrs

๐Ÿ’ฟ A high performance, low maintanence SHOUTcast server.
Rust
1
star
33

fwloki

๐Ÿ‘ฝ logging martians since 2020
Rust
1
star
34

hkbi

๐Ÿ“ธ easy native homekit-blueiris integration
Go
1
star
35

tinfoil

๐Ÿ’‰ rust dependency injection
Rust
1
star