Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SUPPORT] SmartPhoneLover - RustyPaste

Featured Replies

rustypaste_banner.png

 

This docker template was created based on an already available docker image


GitHub (1): https://github.com/orhun/rustypaste

GitHub (2): https://github.com/orhun/rustypaste-cli
DockerHub: https://hub.docker.com/r/orhunp/rustypaste
My Repository: https://github.com/SmartPhoneLover/unraid-docker-templates

 

DESCRIPTION
Rustypaste is a minimal file upload/pastebin service.

 

Features:

- File upload & URL shortening & upload from URL

- Supports basic HTTP authentication

- Random file names (optional)

- Supports expiring links

- Supports one shot links (can only be viewed once)

- Guesses MIME types (overriding and blacklisting)

- No duplicate uploads

- Single binary

- No database, filesystem is used

- Written in Rust

 

How to upload files to the server?
You have three main different ways by wich you can upload files to your RustyPaste server.
• [UI] Using some kind of web-based file browser, like: Krusader, File Browser or MC from Terminal).
For example, using Krusader, copy/move and paste the decided file on '/.../rustypaste/upload/*' directory.
• [CLI] Using the 'curl' command.
This method offers you two different ways by wich you can upload files to your server:
1. Locally...
Use the cmd 'curl -F 'file=@file_name.ext' server_addres'. Example: 'curl -F 'file=pink_house.jpg' 192.168.1.100:8059'.
2. Remotly...
Use the cmd 'curl -F 'url=https://server.com/file_name.ext" server_addres'. Example: 'curl -F 'file=https://pinkserver.com/pink_house.jpg' 192.168.1.100:8059'.

 

How do I call my files from the server?
It's as simple as writing 'server_address/file_name.ext' from any web browser, or you can use 'curl server_address/file_name.ext'.

 

NOTES
• Run the following cmds before creating the container: 'mkdir -m777 -p /mnt/user/appdata/rustypaste/uploads' and 'curl https://raw.githubusercontent.com/orhun/rustypaste/master/config.toml --output /mnt/user/appdata/rustypaste/config.toml'.
• You have many other parameters to pass to the server when uploading a file, like: one shot links, random file names, time expiration, url shortening, use credentials when using HTTP POST. Chech the GitHub repo to know more: 'orhun/rustypaste-cli.'

 

VERSION
1.0 (2022-02-09)


If you are going to report a bug or request something to be added/modified, please, take into consideration that I will only be able to apply changes for the work I own only. For example, if I create a docker template for an already existing docker image (not created by me), I won't be able to do more for that image than forward your report or request to the owner of the project.


If you like my work, please consider making a little donation.
- DONATE -
Thank you very much 🙂

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.