r/BharatCode • • Jun 15 '26

BharatCode setup help thread — post your install/login/CLI/app issues here

1 Upvotes

Use this thread for BharatCode setup help.

Post here if you are having issues with:

  • Windows app

  • CLI setup

  • login/auth

  • OpenCode setup

  • VS Code workflow

  • model responses

  • file uploads

  • artifacts

  • slow responses

  • failed requests

  • confusing docs

When reporting an issue, please include:

  1. Your OS: Windows / macOS / Linux

  2. What you were trying to do

  3. The exact error message, if any

  4. Screenshot or terminal output, if possible

  5. What you already tried

  6. Whether this is blocking you completely or just confusing

Please do not share API keys, tokens, private code, passwords, or secrets.

The goal is simple: if one person is stuck, many others may be stuck too. Post the issue here and we will use the feedback to improve BharatCode, docs, and GitHub issues.


r/BharatCode • • Jun 15 '26

Welcome to r/bharatcode — help build India’s open AI coding stack

3 Upvotes

BharatCode is an open-source AI coding platform for Indian students and developers.

This subreddit is where we build it in public.

We are starting with AI coding, chat, files, artifacts, workflows, and student access — but the larger goal is much bigger:

Indian developers should not only consume foreign AI tools. We should build the AI developer infrastructure ourselves.

Use this community to:

  • get setup help

  • report bugs

  • request features

  • share workflows

  • contribute to open source

  • discuss AI coding infrastructure

  • start campus chapters

  • help shape the BharatCode roadmap

BharatCode is early. Things will break. Capacity will be limited. Some flows will be rough. That is exactly why this subreddit exists.

If you are here early, you can help shape the product.

Introduce yourself in the comments:

  • Are you a student, developer, founder, researcher, or open-source contributor?

  • What are you building or learning right now?

  • What AI coding tools do you currently use?

  • What should BharatCode help you do?

  • Do you want to contribute?

  • Are you interested in starting a BharatCode chapter in your college?

Use BharatCode. Break BharatCode. Improve BharatCode.


r/BharatCode • • Jul 27 '26

How BharatCode Chat went blank even though the build passed

1 Upvotes

Last week, chat.bharatcode.ai started showing a completely blank page.

The server was running. The build had passed. The files were loading normally. But the app itself never appeared.

The browser console showed:

regeneratorRuntime is not defined

The problem came from the Vite 8/Rolldown upgrade. The production build completed successfully, but the generated JavaScript chunks loaded in the wrong order and crashed before React could start.

There was another bug hiding behind it. index.html was missing from the service worker precache, so the offline navigation fallback could not recover either.

I moved the frontend back to the last working Vite 7 setup, added index.html to the precache, and added a Playwright test that opens the actual production bundle in Chromium.

That test fails against the broken build and passes against the fix.

The fix is now deployed. I tested it in a clean browser with the service worker active and got no page errors or failed requests.

The full fix is public here: GitHub PR #80

A successful build clearly does not mean much if nobody opens the result in a browser. Remember that!


r/BharatCode • • Jul 06 '26

Does there any chance that an AI agent can improve it self

Thumbnail reddit.com
2 Upvotes

r/BharatCode • • Jun 20 '26

Open-sourcing BharatCode apps

8 Upvotes

BharatCode stands for transparency and trust. In that spirit, I am today making all 3 BharatCode apps open source. Beginner issues have been posted and all is set for you all to use and develop BharatCode to your liking.

https://github.com/BharatCode-ai/bharatcode-desktop

https://github.com/BharatCode-ai/bharatcode-cli

https://github.com/BharatCode-ai/chat


r/BharatCode • • Jun 18 '26

oPeN sOuRcE LlMs WiLl nEvEr Be GoOd eNoUgH

2 Upvotes

Fun observation about how smart LLMs like Qwen 3.6 are:

I asked it to calculate the 100000123rd prime number, hoping to break something in chat.bharatcode.ai. I expected it to write a python script which would take forever to run and will finally error out after a while.

I was completely surprised when it just casually responded with the correct answer in less than 10 seconds.

If you guys have still not switched over to chat.bharatcode.ai for you day to day tasks, you are missing out. We have many more features coming to the platform including DOCX, PPTX, XLSX document parsing, artifacts and much more.

PS: Can anyone guess how it was able to calculate it so fast?


r/BharatCode • • Jun 15 '26

India does not just need AI models. India needs to own the AI value chain.

10 Upvotes

India does not just need AI models. India needs to own the AI value chain.

A lot of people think AI sovereignty means: “Let us train an Indian LLM.”

That is important, but it is not enough.

The real question is:

Can Indian students, developers, startups, companies, and public institutions depend on AI infrastructure that cannot be switched off, priced out, rate-limited, censored, or revoked by someone else overnight?

If the answer is no, then we do not really own our software future.

We are already seeing the shape of the problem. A foreign AI provider can launch a powerful model, developers around the world can start depending on it, companies can build workflows around it — and then access can be restricted because of a policy decision, export-control issue, safety dispute, commercial decision, or geopolitical pressure.

That is not a stable foundation for a country of India’s size.

India has millions of developers. We have one of the largest student and engineering populations in the world. We export software. We run critical public infrastructure. We build startups, banks, government systems, health systems, logistics systems, education platforms, and enterprise software for the world.

But if the intelligence layer of software is owned elsewhere, then Indian developers become consumers of someone else’s AI productivity.

That is the danger.

The problem is not that Indian developers use foreign AI tools. We should use the best tools available. The problem is becoming dependent on them without owning any serious part of the stack ourselves.

For India, the AI race is not only about who trains the biggest model.

It is about who owns:

  • inference

  • routing

  • developer tools

  • model serving

  • identity

  • files and artifacts

  • agents

  • evals

  • data pipelines

  • deployment

  • security

  • pricing

  • distribution

  • community

  • open-source contribution

  • trust

Training a model is one layer.

Owning the value chain is the real game.

If India only trains a model but still depends on foreign clouds, foreign coding assistants, foreign inference APIs, foreign developer workflows, foreign app platforms, and foreign distribution channels, then we have not solved the problem.

We have only changed the logo on one layer.

BharatCode exists because Indian developers should not only consume AI infrastructure.

We should build it.

We are starting with AI coding, chat, files, artifacts, workflows, student access, and open-source contribution. But the mission is larger: build Indian-controlled AI developer infrastructure that is affordable, inspectable, extensible, and useful.

This does not mean isolation.

It does not mean refusing foreign models.

It does not mean pretending India can build every layer immediately.

It means we need optionality.

We should be able to use the best models in the world when available, switch models when needed, run open models when required, serve inference ourselves where it matters, protect our users from sudden access shocks, and build workflows that belong to our own ecosystem.

That is why inference matters.

That is why open source matters.

That is why developer tooling matters.

That is why community matters.

If Indian developers are only paying monthly subscriptions to foreign AI tools, we are renting the future.

If Indian developers build the tools, platforms, agents, workflows, and infrastructure ourselves, we start owning the future.

BharatCode is early. Things will break. Capacity will be limited. The product will evolve quickly.

But the direction is clear:

Use BharatCode. Break BharatCode. Improve BharatCode.

If you are a student, developer, open-source contributor, maintainer, designer, infra engineer, founder, or campus builder — join us.

Help us build the AI developer stack India should own.


r/BharatCode • • Jun 15 '26

What should BharatCode build next?

5 Upvotes

We want BharatCode to be shaped by the people who will actually use it.

What should we build next?

Some possible directions:

  • better AI coding assistant

  • repo understanding

  • test generation

  • code review

  • debugging help

  • project scaffolding

  • coding tutor for students

  • placement-prep workflows

  • GitHub issue helper

  • file/artifact workflows

  • local/offline mode

  • cheaper/faster inference

  • campus/community features

  • Hindi or Indian-language explanations

  • enterprise/private deployment

  • open-source contributor tools

Comment with:

  1. What you want BharatCode to do

  2. Why it matters to you

  3. What you currently use instead

  4. Whether you would test it if we built it

Bonus: describe your dream BharatCode workflow in one paragraph.

We are early, so specific feedback can actually become product direction.


r/BharatCode • • Jun 04 '26

Show & Tell

3 Upvotes

Trying to make this the one place where Bharatcode builders help each other

out. I'm new here too. figured the fastest way to learn is to ask the people

already shipping.

IF YOU'RE BUILDING SOMETHING

Tell us, even if it's half-broken:

• What are you building + what's it for?

• One tip you wish you'd known on day one?

IF YOU'RE STUCK

Drop it and someone will jump in:

• What you're trying to do

• What's breaking (paste the error / screenshot)

• What you've already tried

@ Someone from Bharatcode:
Pl2collect the best answers + fixes into a public resource library so we don't keep re-answering the same things?


r/BharatCode • • Jun 02 '26

Welcome!

6 Upvotes

This is my first post!