Inspiration

I kept using AI tools to generate code and then spending more time figuring out where to put it than actually writing anything. Copy, paste, wrong function, undo, try again. The AI did the hard part and left me with the tedious part. I built Codeply to fix that.

What it does

Codeply takes AI-generated code and places it directly into the right spot in your codebase. You describe what you want, pick your model, and Codeply handles the rest, including finding the correct file and insertion point automatically.

How we built it

It runs as an Electron desktop app with a SEARCH/REPLACE pipeline at its core for precise code placement. It connects to 400+ models through OpenRouter and supports fully local AI through Ollama. Auth runs on Supabase with Google and GitHub OAuth, and builds ship through GitHub Actions for both Windows and Mac.

Challenges we ran into

Cross platform Electron builds were painful. Code signing and notarization on both Windows and Mac through CI took way longer than expected. Getting the placement logic right at scale was also tricky since matching the correct insertion point across a large codebase requires more than simple string matching.

Accomplishments that we're proud of

Ollama support. Your code stays on your machine, no API calls, no data leaving your device. That felt important to get right.

What we learned

Every infrastructure decision is also a product decision. Choosing Electron, choosing OpenRouter, choosing Supabase all had consequences that only showed up later. You don't fully understand a choice until you've lived with it for a few weeks.

What's next for Codeply

Deeper codebase awareness. Right now Codeply works at the file level. The next step is understanding your full project structure so it can make smarter placement decisions across multiple files without you directing it.

Built With

  • css
  • css-frameworks-&-runtime-electron
  • electron
  • github-oauth
  • githubactions
  • githuboauth
  • google-oauth
  • googleoauth
  • html
  • html5
  • javascript
  • macos
  • node.js
  • node.js-databases-&-auth-supabase-(postgresql-+-rls-+-auth)-apis-&-integrations-openrouter-api
  • ollama
  • openrouterapi
  • postgresql
  • supabase
  • whop
  • whop-api-devops-&-ci/cd-github-actions-platforms-windows
  • windows
Share this project:

Updates