orhun/rustypaste là một trong những repo phía máy chủ mà TopGit theo dõi, hiện có 1.2k sao, viết chủ yếu bằng Rust. A minimal file upload/pastebin service.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Note: Protected files cannot be combined with other paste types (oneshot, URL). The password is permanently tied to the file and cannot be changed. If the password is lost, the file becomes inaccessible. Password files are deleted automatically when the main file is deleted or expires.
The DELETE endpoint will not be exposed and will return 404 error if delete_tokens are not set.
Override the filename
When using the random_url config option, or when pasting a file from remote URL, rustypaste automatically selects a filename.
If the generated random name collides with an existing file, a new name is generated and tried again, up to random_url.retry_count times (defaults to 5). If every attempt collides, the upload is rejected with a 409 Conflict response.
This can be overridden by sending a header called filename:
There are 2 options for setting multiple auth tokens:
Via the array field [server].auth_tokens in your config.toml.
Or by writing a newline separated list to a file and passing its path to rustypaste via AUTH_TOKENS_FILE and DELETE_TOKENS_FILE respectively.
If neither AUTH_TOKEN, AUTH_TOKENS_FILE nor [server].auth_tokens are set, the server will not require any authentication.
Exception is the DELETE endpoint, which requires at least one token to be set. See deleting files from server for more information.
See config.toml for configuration options.
MIME handling
rustypaste determines a file's MIME type from its extension (with optional overrides) and serves
text-like types as text/plain; charset=utf-8 to avoid script execution.
[paste].mime_override lets you override MIME types by filename regex.
[paste].mime_blacklist blocks uploads of specific MIME types.
[paste].text_mime_overrides forces additional detected/guessed MIME types to be rendered as plaintext (unlike mime_override which matches by filename regex, this matches the content's actual MIME type).
List endpoint
Set expose_list to true in config.toml to be able to retrieve a JSON formatted list of files in your uploads directory. This will not include oneshot files, oneshot URLs, or URLs.
orhun/rustypaste thuộc nhóm Backend trên TopGit, cùng 16 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về orhun/rustypaste ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/orhun/rustypaste là nguồn chính thức.
orhun/rustypaste có bao nhiêu sao?
orhun/rustypaste có 1.2k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/orhun/rustypaste. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.