HamedMP / CursorLens

An open-source dashboard for Cursor.sh IDE. Log AI code generations, track usage, and control AI models (including local ones). Run locally or use upcoming hosted version.
https://www.cursorlens.com
GNU Affero General Public License v3.0
98 stars 11 forks source link

Add Docker file to simply running #1

Open HamedMP opened 3 weeks ago

HamedMP commented 3 weeks ago

At the moment running it is not easy.

You need:

running beside your Nextjs app.

Ideally with one docker compose up everything will be set for you and the link will always be same, so no need to change Cursor's setting everytime using ngrok (as in Free plan, you'll get a new link each time creating a tunnel).

Pavikkaran-p commented 3 weeks ago

Can I work on this issue?

HamedMP commented 3 weeks ago

Hi, absolutely, it's help wanted, I would appreciate the help 🙏🏼

For context, here are my thoughts on it, feel free to adjust them and add your ideas:

  1. To start with, it can give back 2 URL, one from ngrok to put in Cursor, and another for seeing the dashboard (mostly likely a local URL)
  2. Ideally, we get only 1 URL (it should be https to work with Cursor), and that will have, e.g.
    • /v1: for cursor
    • /dashboard/... for the UI side

Let me know what you think @Pavikkaran-p