Hacker News new | past | comments | ask | show | jobs | submit login

First, just because an example app stores the password in plain text, doesn’t mean you have to do the same. Hashing a password isn’t really that complicated.

I wrote on how to implement a simple login system in FastHTML [1]

Second, you can use fast tags in other python projects. Import it from fastcore and call the „to_xml()“ function on the fast tags. This will convert it to HTML

[1] https://blog.mariusvach.com/posts/login-fasthtml




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: