Show HN: an AI copilot for Next.js developers https://ift.tt/Iv8tuUT
Show HN: an AI copilot for Next.js developers Hey HN! I'm Andrew, one of the creators of Glass, a copilot for Next.js and React developers. Glass appears as a chat bar on your locally running Next.js server, and you can tell it to make changes like "build a dashboard" or "add a login button". Glass makes the changes to your sourcecode in real-time. Our goal with Glass is to automate away the easy but slow parts of frontend development, like locating the right file to edit, writing tailwind by trial-and-error, and copy-pasting boilerplate from Claude and other tools. We want to let you do all the tedious work entirely from your browser. We built Glass using a VS Code extension that handles communications with an LLM (4o) and reads/writes to your codebase. We also built an SWC plugin to map where clicked in your browser to a location in your sourcecode - this was interesting because we determine which component you clicked on and where its instance is located in your codebase, so we did a lot of interesting prop injections to make this work. Lastly, we render our UI directly on your project using a React Provider - this was mainly to avoid building yet another interface you have to install (although it has its downsides, like disappearing when there's an error). We're super excited to build the tool out more, but we wanted to get a sense of what you think! The jump-to-code and hover-component features have been the most helpful for me developing projects in general, and the AI part can help with easier tasks like rearranging a component and doing annoying tailwind work. You can install Glass on your Next.js project here: https://useglass.ai/ . Everything is free for now, and we'd love to hear your feedback. https://useglass.ai August 17, 2024 at 05:46AM
Comments
Post a Comment
Thanks you :)
if you like it share please