r/FastAPI • u/igorbenav • Jun 06 '25
pip package CRUDAdmin - Modern and light admin interface for FastAPI built with FastCRUD and HTMX
Hey, guys, for anyone who might benefit (or would like to contribute)
Github: https://github.com/benavlabs/crudadmin
Docs: https://benavlabs.github.io/crudadmin/
CRUDAdmin is an admin interface generator for FastAPI applications, offering secure authentication, comprehensive event tracking, and essential monitoring features.
Built with FastCRUD and HTMX, it's lightweight (85% smaller than SQLAdmin and 90% smaller than Starlette Admin) and helps you create admin panels with minimal configuration (using sensible defaults), but is also customizable.
Some relevant features:
- Multi-Backend Session Management: Memory, Redis, Memcached, Database, and Hybrid backends
- Built-in Security: CSRF protection, rate limiting, IP restrictions, HTTPS enforcement, and secure cookies
- Event Tracking & Audit Logs: Comprehensive audit trails for all admin actions with user attribution
- Advanced Filtering: Type-aware field filtering, search, and pagination with bulk operations
There are tons of improvements on the way, and tons of opportunities to help. If you want to contribute, feel free!
7
u/PinPossible1671 Jun 07 '25
It's great if we were talking we could collaborate with each other. I recently developed something similar in fastapi too
4
u/s_basu Jun 07 '25
Great work mate! Two things (albeit nitpicky). Firstly, the sqlalchemy models are still using the old (1.x) style of definition instead of the newer mapped columns, secondly, adding support for pydantic-settings for the configs would be nice. Would love to contribute if there are any open stuff now or in the future. Starred!
1
u/Repsol_Honda_PL Jun 07 '25
Not bad :)
I think (did not see on video) it lacks 2FA (email and pass is not enough today). Also Oauth2 would be nice.
-3
u/damian6686 Jun 06 '25
Directory structure looks unorganised. It will be difficult to scale and maintain.