Skip to content

rpdl-net/microbin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microbin was created by Dániel Szabó, this is a fork.
microbin was made available under the BSD 3-Clause License.

requirements

rustup

installing in /opt/microbin

useradd microbin --system
cd opt; git clone https://github.com/rpdl-net/microbin.git
cd microbin
cargo build --release
chown -R microbin:microbin /opt/microbin
./target/release/microbin -p 8080

example /etc/systemd/system/microbin.service

the following disables file upload and runs a bare-bones private pastebin

[Unit]
Description=MicroBin
After=network.target

[Service]
Type=simple
Restart=always
User=microbin
WorkingDirectory=/opt/microbin/
ExecStart=/opt/microbin/target/release/microbin --hide-logo --hide-footer --hash-ids --no-eternal-pasta --no-file-upload --no-listing --title bin.rpdl.net --public-path https://bin.rpdl.net --wide --highlightsyntax --enable-burn-after --gc-days 7

[Install]
WantedBy=multi-user.target

change the favicon, edit the domain in the service file and add reverse proxy in front and you're done.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Languages

  • Rust 66.4%
  • HTML 33.6%