Skip to content

Latest commit

 

History

History
87 lines (72 loc) · 4.16 KB

README.md

File metadata and controls

87 lines (72 loc) · 4.16 KB

SharpPaste

GitHub license Travis CI AppVeyor Gitter

Cross-platform C# pastebin with client-side AES-256 encryption that just works, made with ❤️ in Italy 🇮🇹.

Installation

Linux

Dependencies:

Instructions:

Use our simple one-liner installer (currently supports Ubuntu, Debian, Raspbian and CentOS)[TODO]:

curl https://get.sharppaste.nl | bash

Or install by hand:

  • Add Mono repositories for your distro:
  • Install required packages:
    • Ubuntu, Debian and Raspbian: sudo apt install -y mono-xsp nuget
    • CentOS: sudo yum install -y xsp nuget
  • Download latest release:
    • From our website wget https://get.sharppaste.nl/latest.tar.gz[TODO]
    • Or, from our releases page (be sure to download the latest .tar.gz file)
  • Extract archive to /opt: tar -xvf latest.tar.gz -C /opt/sharppaste
  • Go to app's directory: cd /opt/sharppaste
  • Download nuget packages: nuget restore
  • Build app: msbuild
  • Create database directory: mkdir -p /opt/sharppaste/Databases
  • Test app by running xsp and then check by opening http://127.0.0.1:9000 in your browser if everything works
  • Add xsp user to run it in background: sudo useradd -d /opt/sharppaste -r xsp
  • Fix permissions: sudo chmod -R xsp:xsp /opt/sharppaste
  • Copy sharppaste.service to systemd's services directory: sudo cp /opt/sharppaste/Scripts/sharppaste.service /etc/systemd/system/sharppaste.service
  • Reload systemd services: sudo systemctl daemon-reload
  • Enable SharpPaste service (to start it at system's startup): sudo systemctl enable sharppaste.service
  • Start SharpPaste service: sudo systemctl start sharppaste
  • Enjoy! 😜🔥

Specifics

Software Used

  • Mono - C# Cross-Platform Compiler
  • NancyFX - Open Source Web Framework
  • LiteDB - Embedded Database
  • Strong PwGen - Strong key generator
  • Scrypt.js - Key hashing algorithm (used for AES256 keys)
  • AES-JS - Library to encrypt data using AES directly in your browser
  • Bootstrap 3 - UI Framework
  • Bootstrap Flat Theme - UI Theme
  • jQuery - DOM Framework
  • Prism - Syntax Highlighter

Supported Mono Versions

Version Supported
latest (5.4.1)
5.4.1
5.2.0
5.0.1
4.8.1
4.6.2
4.4.2
4.2.x
4.0.x
3.x.x
2.x.x
1.x.x

See Travis CI for more details.

License

FOSSA Status