Bind AI - Documentation
Try Bind AI CopilotView All ModelsModel Comparisons
  • What is Bind AI?
  • Basics
    • AI Code Editor (Canvas)
    • Models
    • Integrations
      • Github Integration with Bind AI
    • Custom GPT Agents
    • Total Ingestion Tokens for Integration Syncs
    • Compute Points
    • AppSumo License Activation
    • File Uploads
      • Supported Extensions
  • IDE by Bind AI
    • Tutorial: Create Twitter + Instagram Clone with IDE (Bind AI)
Powered by GitBook
On this page
  • Important Guidelines
  • Now, Let's Begin
  1. IDE by Bind AI

Tutorial: Create Twitter + Instagram Clone with IDE (Bind AI)

PreviousIDE by Bind AI

Last updated 2 months ago

In this tutorial, we'll walk through the exact steps and prompts you can use with IDE to create a "Twitter + Instagram Clone".

As a first step, you'll need access to IDE by Bind AI. If you don't have access, you can request access or use our AI Copilot to recreate the steps.

Important Guidelines

When you try to replicate or remix this example, please follow the below Guidelines:

  1. Only provide your ideas and feature definition in the prompts, do not specify specific languages or frameworks. The IDE currently works on javascript based frameworks and automatically selects the supported languages and frameworks.

  2. If you have basic or no frontend knowledge, request to specifically create Html and Javascript based application. This will make it easy for you to understand the code and also make any manual changes.

  3. For subsequent prompts, provide clear instructions and ask to only regenerate necessary files. This will prevent regenerating entire project from scratch and overwriting some of the previous files.

  4. Wait for the IDE to automatically setup your project, create files and run terminal commands. If you interrupt or stop midway, you'll have to restart with a new thread.

  5. Create New Threads (and new Projects) for different use cases or iterations. It will help the IDE run dependencies correctly and save the right files in your project directories. If you use the same thread for multiple project ideas, it will introduce conflicting files and make it difficult to execute the project.

Now, Let's Begin

Step 1: Start with a first prompt. If you already know the specific layout, color palette, style, features you need, you should enter those in the first prompt itself, to avoid multiple re-iterations for small changes. Iterations are computationally expensive, and it also can be frustrating with converse with AI to ensure changes are exactly made as per minute details.

However, make sure to not have a bloated prompt with the entire application definition, especially if it's a complex app. It will make it difficult for you to get the desired output.

Prompt #1:

Create an application which is a combination of Twitter and Instagram. On this application, users should be able to watch a recommended feed of content, like, retweet. Use html and javascript.

Note: If you exclude "Use html and javascript", it will create a React based application.

Models used: Claude 3.7 Sonnet, DeepSeek R1, Claude 3.5 Sonnet.

You can notice that several things have happened, and your project structure, files, terminal dependencies are executed and initial UI is created. The app is built with React and uses a simulated backend with mock data. You can navigate between the home feed and user profiles, interact with posts, and see how the recommendations change based on your engagement.

Step 2: With the above prompt, hopefully, you are able to see an initial version of the application UI with necessary files generated. In subsequent prompts, you can iterate and add features. For the version we created, some parts of the UI was flickering so we wanted it to fix that, and also add some color theme.

Notice that we asked it to only regenerate the necessary files, this ensures that the previously generated working code is not affected, context window usage and compute tokens usage is also minimized.

Prompt #2

This looks great. The content on the feed is flickering, please fix it. 
The color scheme looks like twitter, make it look like instagram. 
Regenerate only the files necessary.

Step 3: Add a feature to "Create a Post"

Now that we have a basic UI, with some functioning parts, you can incrementally add features.

Prompt #3

Ok, great. "Create a Post" functionality doesn't work, however the UI elements exist. Can you make it work. When user submits a post, it should appear on the homefeed and the feed within User's profile, and user should see a confirmation of the posting action.
Also ensure that the font styling for "Create a Post" matches the rest of the content.

Step 4: Finishing touches

Since we're creating a demo application, we wanted to make it look pretty. The below prompt is to add some stock images or even actual images hosted on cloud. You can also manually edit this in the file editor and Save (Cmd+S). After saving preview will automatically generate.

Prompt 4

The profile pictures on the feed are not loading, can you use representative icons which work

Final Product

You can continue iterating, tweaking and adding more complexity including backend implementation.

Watch Video:

If you have already tried using IDE,

https://youtu.be/KnNIv-E9vYo
please share your feedback with us here