mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
89e9673a001865adbdfce2ed0064d7caca0d56d6
- Updated `AuthController.cs` to change unauthenticated response to `Unauthorized` and added a new `Logout` method for session handling. - Removed the old logout endpoint in `Program.cs` and centralized logout logic in `AuthController.cs`. - Added `GetSession` and `DeleteSession` methods in `DatabaseService.cs` to enhance session management. - Updated API endpoints in `dash.js` to reflect new routing structure for authorized account info and logout.
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
Description
Mirror of https://github.com/whoswhip/Sharpbin
https://sharpbin.cc
Readme
GPL-3.0
2.2 MiB
Languages
C#
49.5%
Svelte
35.3%
TypeScript
13.3%
HTML
1.1%
CSS
0.3%
Other
0.5%