Show HN: I made a free (open-source) extension, to use any LLM on Google sheet https://ift.tt/Y2BAFXT

Show HN: I made a free (open-source) extension, to use any LLM on Google sheet Hello everyone, This past Saturday, I decided to make purchase on Cursor after hearing how good it is with Composer function that allow to generate code on fly, especially on Claude Sonnet (not an affiliate of the products, just curious!). To make the purchase worthwhile, I challenged myself to build a Google Sheets extension in just 24 hours that allows users to connect with any Language Model (LLM)—whether it’s ChatGPT, Claude, Groq, or Gemini. The Idea The idea was simple: a formula like =Claude(prompt, model) that lets users integrate AI anywhere in their sheets. The most impressive part? 80% of the process was just tabbing and prompting AI, while only *20% was actual coding The Tech Stack Frontend: React with Next.js Backend: Node.js with Next.js API routes Database: Supabase AI Integration: OpenAI API, Anthropic API, Groq API, and Google AI API Development Assistance: Cursor and Claude Sonnet 3-5 The Journey Planning (2 hours): I started by using Claude Sonnet 3-5 to brainstorm and outline the project. It handled so much of the heavy lifting when it came to feature ideas and technical suggestions. Frontend Development (8 hours):With Cursor, I was literally tabbing through suggestions, and it felt more like _prompting_ AI to get the right code rather than writing it myself. Backend Development (6 hours): The same pattern applied here: I spent most of the time *tabbing through Cursor’s suggestions and tweaking AI prompts* for the backend, which helped me set up secure API endpoints and efficient database schemas. AI Integration (4 hours): This was the core part. I integrated multiple AI models to give users options. Claude helped refine the prompts and handle API responses with ease. Testing and Debugging (3 hours): Cursor and Claude once again made it feel like I was navigating through the process rather than writing tests from scratch. Their combined tools flagged issues quickly, cutting debugging time in half. Documentation and Deployment (1 hour): Drafted clear documentation with Claude’s help, and Cursor’s deployment features made production a breeze. Key Features AI in Google Sheets: Use AI directly with simple formulas. Multiple AI Models: Support for ChatGPT, Claude, Groq, Gemini, and more. - Cost Tracking: Automatic token calculation to track usage costs. - Security: Encrypted API key storage for peace of mind. Demo of the app : https://www.youtube.com/watch?v=HczW0F_tmvo Challenges & Solutions The biggest challenge was integrating multiple AI models seamlessly. But with *Claude Sonnet 3-5* guiding the architecture and *Cursor* suggesting solutions, the integration was mostly about *tabbing and prompting*. The architecture now easily accommodates different AI services. The extension is completely free at. : https://ift.tt/89qNtJB... What’s Next I named the project AISheeter.com - Sheets Smarter not Harder I’m releasing it for free and open-sourcing the code [here]( https://ift.tt/0mVIM5j ). This is just the start—let’s see where it goes from here! Website is at : https://ift.tt/fyUdrQI Takeaway What stood out the most throughout this project was how much *AI could take over the coding process*. It was 80% navigating through suggestions and refining prompts, and only 20% traditional coding. With the right tools and mindset, it feels like the boundaries of what’s possible in such a short time are expanding. Excited time ahead with AI ! https://ift.tt/fyUdrQI October 9, 2024 at 01:15AM

No comments:

Show HN: I created a WHOIS API service https://ift.tt/htK6lRr

Show HN: I created a WHOIS API service https://whs.is October 9, 2024 at 03:03AM