whoswhip ed98238c40 Improve paste handling and pagination logic
- Updated `PasteController.cs` to enhance visibility parameter handling and added methods for retrieving pastes with pagination and error handling.
- Added `UID` property to the `Paste` class for better identification.
- Refactored `Program.cs` to remove unused namespaces and improve response header handling.
- Enhanced `DatabaseService.cs` with new methods for retrieving pastes and user pastes, including better error handling.
- Adjusted pagination logic in `archive.js` and `dash.js` to start from page 1, improving user interface navigation.
2025-07-08 15:32:17 -04:00
2025-07-01 16:39:03 -04:00
2025-06-29 10:35:33 -04:00
2025-01-16 18:20:43 -05:00

SharpbinV2

SharpbinV2 is a re-write to the original messy code base.

Instead of using html files and replacing variables(Simple SSR) it is now done with just apis and static html pages served from wwwroot.

Current Features

  • Account Systrem
  • Syntax Highlighting
  • Private Pastes with Client Side Encryption
  • Raw Text Serving
  • Paste Compression at Rest and on Response Transit (Files are only compressed when there is a considerable file size decrease)
  • Cleaner Code Base
  • Paste Analytics (Views etc.)

TODO

  • Password Resets
  • Switch to Controllers
  • Admin Panel
  • Paste Editing
  • Paste Searching (maybe)
  • Paste Deletion
Languages
C# 49.5%
Svelte 35.3%
TypeScript 13.3%
HTML 1.1%
CSS 0.3%
Other 0.5%