Scheme paste, a paste tool written in Chicken Scheme.
Also, a rewrite of my fpaste project.
This Git repository comes with static binaries in the
builds directory. By
default, sp installs into
If you want to install sp into a custom directory, refer to the Installing sp into a custom directory section.
sha256sumon a static binary in the
buildsdirectory to make sure the checksum of the static binary matches the value in the checksum file associated with the static binary you choose to use.
Note: If you don't have the
~/.local/bin directory in your
add the following line to
This allows you to run the
sp command from any directory on your system.
You can change the directory that sp installs into by defining a value for the
DIR_INSTALL make variable.
For example, to install sp into your
~/bin, follow the steps below:
make install DIR_INSTALL=~/bin.
sp uses rsync to synchronize files to a remote or local directory that you can access over the web.
This section teaches you how to configure nginx to serve the synchronized files, and how to change sp's configuration file so your files upload to your web directory.
example.comwith your domain name.
systemctl ...commands with your init commands.
As root, follow the steps below:
mkdir -p /var/www/paste.
chown -R your_username:your_username /var/www/paste.
chmod -R 755 /var/www/paste.
ln -s /etc/nginx/sites-available/paste.example.com /etc/nginx/sites-enabled/.
nginx -tto check your nginx configuration for errors.
systemctl restart nginx.
You can find information about configuring sp in the configuration file at
~/.sp. If this file doesn't exist, then run
sp help- Displays this help message.
sp init- Creates a config file at
sp <path/to/file>- Uploads a file to your remote paste directory. You can change your remote paste directory by editing your
sp rm <path/to/file>- Deletes a file from your remote paste directory, where
<path/to/file>should be a file in the
local-paste-directorythat is specified in your
A static binary is available in the
builds directory. By default, this is
where the Makefile will create static binaries.
To compile a static binary from source, follow the steps below: