ย โขย
Chat-gpt - AI Content Generator for Faster, Creative Content Creationย โขย 4m
Hi abhirup, Thanks for your interest in the project! You asked for the backend code as proof of work, and that's a great question. The way Indie AI is built is with a modern, serverless architecture, which means you won't find a traditional backend file (like a Python or Node.js server). All of the logic is self-contained in the index.html file. The application runs entirely in the user's browser and communicates directly with external AI services. The core "backend" logic you're looking for is the makeGeminiApiCall function. This is the JavaScript function I wrote that: Takes the user's prompt and conversation history. Adds my custom system instructions and user preferences. Securely sends the data to Google's Gemini API endpoint. Receives the response from the API and displays it to the user. Similarly, for the image generation feature, the code constructs a URL to call the image.pollinations.ai API. This client-side approach is what makes the project lightweight and scalable. The real work was in designing the user interface with React, managing the application's state, and correctly integrating with the Google Gemini API to create a seamless chat experience. I'd be happy to walk you through the JavaScript code in the index.html file to show you exactly how it works. Best regards, jainik shah
Developer | entrepre...ย โขย 3m
Day6/100: โข def โ> Creating a function ( user defined) def name(): Condition Name() โ> calling the function ๐ค๐ป โโโโโ Likewise we can create a library ๐ in python ๐ โข import ( the file we created ) โโโโโ Today played with Reeborg rob
See More
Gigaversity.inย โขย 5m
JavaScriptโs role in software development has fundamentally changed. Once viewed as a tool strictly for frontend interactions, it now plays a significant role in backend infrastructureโdriven by the power of Node.js. From agile startups to industry l
See More
Full-time Freelancer...ย โขย 1y
Most Javascript Questions Asked in Interview | PART 2 1. What is difference between a for loop and for Each loop Ans: A for loop is traditional loop that uses a counter variable to iterate over an array. ForEach loop is a method that iterate over a
See More
Keen Learner and Exp...ย โขย 4m
Day 11 of learning python as a beginner. Topic: creating journal entry program using file I/O. I got a little sidleline from my original plan of editing my to-do list program and created an entirely new program this time for writing a daily journal
See More


Download the medial app to read full posts, comements and news.