whoswhip 410172f922 Update rate limiters, endpoints, and UI styles
Added a new "fixed-xl" rate limiter policy with a permit limit of 16 and applied it to several endpoints. Replaced "fixed-bigger" with "fixed-xl" on some endpoints. Introduced a new POST endpoint `/api/pastes/admin/change-id` for changing paste IDs, including authorization checks and error handling. Enhanced logging for paste edits to include paste ID and user info. Adjusted rate limiting policies for various endpoints to use "fixed-bigger" instead of "fixed".

Modified UI styles: changed `.nav-div` margin-top in `index.html` from 10px to 1.5px, increased `backdrop-filter` blur in `paste.html` and `privatepaste.html` from 2.5px to 5px, added a border to `.input-wrapper-container` in `paste.html` and `privatepaste.html`, removed the title attribute from `<h1>` in `privatepaste.html`, simplified JSON parsing in `fetchInfo` function, removed redundant localization code, and updated `.user-a` class to use `:any-link` pseudo-class.

Various minor adjustments to improve code readability and maintainability.
2024-10-19 15:19:09 -04:00
2024-08-18 21:55:50 -04:00
2024-08-23 12:51:05 -04:00
2024-08-18 21:55:50 -04:00
2024-09-13 21:48:10 -04:00

Sharpbin

Sharpbin is a Pastebin type website completely in C#, except for the frontend, being pure HTML & CSS. Sharpbin can be used for sharing large amounts of text.

Features

  • Account System
  • Standalone
  • Raw Text Serving
  • Admin Panel that includes banning users
  • Search feature for pastes
  • Recent Pastes and Paste Archives
  • Pastes can be deleted by an admin or the creator
  • User profile pages
  • Private encrypted pastes, sadly the encryption is server side, although client side may be soon!
  • Mobile Support
  • Captchas for logins and sign ups ... And more to come!

Demo Website & Screenshots

You can find the test website at https://bin.whoswhip.top , there is no removed functionality and is the exact same code in this repo.

Languages
C# 49.5%
Svelte 35.3%
TypeScript 13.3%
HTML 1.1%
CSS 0.3%
Other 0.5%