Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: LangCSS, the AI Assistant for Tailwind (langcss.com)
8 points by _clv4 4 months ago | hide | past | favorite | 3 comments
Hi Everyone,

This is very early preview of an idea I am working on.

The idea is to help you do designs using AI, outputting tailwind classes.

I think tailwind is particularly suited because you can usually "drop in" the styles created here into a bigger tailwind project no problems, whereas with regular CSS you might be "fighting" the CSS sheets, especially if they are semantically defined (e.g. input has styling rather than .input).

For a link to try this out, at the moment there is no login system or security, just go to https://langcss.com/app - if I get too much traffic I might need to turn it off! The posted links is kind of the "sale pitch" and you can add your email if you want to follow how it is going, but no need to if you don't want to.

It is basic, it is one of those much frowned upon "OpenAI wrappers" :-) but I intend to do more over time. For example give it knowledge of many free components, allow more collaboration with an online editor so you can make tweaks, then get the AI to iterate on that, and convert HTML to React, Vue etc. (using non-AI compilers).

I have been dogfooding this, and it help me design the home page logo, and many of the elements there. The footer was wholesale taken from the AI output.




Tech wise, this is using a stack I am experimenting with as my "go to" stack for simplicity.

Node.js/express

Postgres - using a free one on Vercel. No ORM just using 'pg' package. Migrations is a single .sql file I craft.

HTMX - where I have simple requirements for frontend interactions, that are server-bound.

Mithril - where I have more "react-like" requirements.

Digital Ocean App Platform $5/m.


Looks good and it did come up with responses that I would have also gone with. However, copyHTML did not work. There should be some indication that the chat request is being worked upon. Nice.


Thanks for trying it. Yes this is very early - embarrassingly so!




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

Search: