28 lines
956 B
Markdown
28 lines
956 B
Markdown
# minibin
|
|
|
|
> im using this project to learn go, it may not be the best
|
|
|
|
minibin is a simple file and paste hosting service written in Go
|
|
|
|
i will try my best to make it easy to customize and deploy, but this is a personal project and made using my own preferences, so you may need to change the tos/privacy policy/faq etc to fit your needs
|
|
|
|
goals:
|
|
|
|
- fast
|
|
- simple api/usage
|
|
- secure (as much as possible)
|
|
- moderable (reports, mime type filtering, hash ban, etc)
|
|
|
|
|
|
# roadmap/todo
|
|
- [x] upload endpoint
|
|
- [x] content endpoint
|
|
- [ ] update last accessed at
|
|
- use a memory cache and batch commit to database to keep performance
|
|
- [ ] paste page
|
|
- [ ] max total storage usage
|
|
- [ ] normalize mime types (like html)
|
|
- [ ] filter mime types config
|
|
- [ ] admin panel
|
|
- [ ] prometheus metrics
|
|
- [x] [switch mime type detection library](https://git.whoswhip.dev/whoswhip/minibin/src/commit/47518993577f94d7cf9c0743042d2ac133055924/handlers.go#L273-L276) |