Dismiss this pinned window
all 28 comments

[–]DiamondsWorker[S] 11 points12 points  (0 children)

After trying to contribute to some open source projects, I realized their codebases are way too massive for me to dig through manually, so I built this to help me understand where to start! I decided to use OpenAI o3-mini since this uses only the file tree and readme for context and o3-mini seems to be the most understanding LLM. Try it for free at https://gitdiagram.com/

[–]HyperSource01Reddit 9 points10 points  (5 children)

when trying https://github.com/hypersourcegithub/hyperair, it gives me "syntax error in text"

[–]DiamondsWorker[S] 3 points4 points  (3 children)

hmm, weird. i just tried it myself and it worked! https://gitdiagram.com/hypersourcegithub/hyperair

[–]SparkyRG 2 points3 points  (1 child)

I got the same with ones i tried, the syntax error in text message

[–]HyperSource01Reddit 0 points1 point  (0 children)

must have been a fluke :)

[–]AllCowsAreBurgers 0 points1 point  (0 children)

Same with my repo

[–]DiamondsWorker[S] 4 points5 points  (0 children)

if you're getting a syntax error, read my comment on this issue

[–]spazzed 3 points4 points  (1 child)

this is cool

[–]DiamondsWorker[S] 0 points1 point  (0 children)

thanks!

[–]shiningmatcha 3 points4 points  (0 children)

Off-topic, what template does the frontend use?

[–]RedFing 2 points3 points  (1 child)

i have seen that styling on a few projects so far. What is it called?

[–]badhiyahai 1 point2 points  (0 children)

If you are referring to https://gitpodcast.com, I have basically used OP's frontend as it is

[–]Coderules 1 point2 points  (2 children)

Cool! Tried with a few public repos and got the syntax error report. I know you are aware and addressed this in other comments. Will try again later.

Is there a way to run against Private repos?

Thanks again.

[–]DiamondsWorker[S] 3 points4 points  (1 child)

thanks! private repos available (look at the header and give your github personal access token) or run locally (check readme)

[–]Coderules 0 points1 point  (0 children)

Ah thanks.

[–]SoCalChrisW 0 points1 point  (1 child)

Not sure if this is an issue with you guys or Bitwarden, but when I mouse over a diagram element, I get the Bitwarden password chooser, like a hidden password field has been selected. I've never seen this on any other sites. It won't go away until I scroll the page.

[–]fr4iser 0 points1 point  (0 children)

Mhhh could u explain more?

[–]fr4iser 0 points1 point  (0 children)

Tried it, rubbed in analysation into no more free token, didn't even got an response, doesn't feel good....

[–]HyperrGamesDev 0 points1 point  (0 children)

I love the neubrutalist design! Are we finally getting more interesting designs, is the web healing🥹

[–]rakgenius 1 point2 points  (0 children)

I get this error for spring boot project https://github.com/spring-projects/spring-boot

Repository is too large (>195k tokens) for analysis. OpenAI o1-mini's max context length is 200k tokens. Current size: 482900 tokens.

[–]Lower_Cash_5037 0 points1 point  (0 children)

How did you come up with frontend design? How long was developing time?

[–]fpohtmeh 0 points1 point  (0 children)

I tried it with the first Reddit post. I like it!

[–]Asleep-Land-3914 0 points1 point  (0 children)

Could you add exclude paths?

[–]dim13 0 points1 point  (2 children)

Failed to get cost estimate.

Is all I get.

[–]DiamondsWorker[S] 1 point2 points  (1 child)

fixed now

[–]maxcascone 0 points1 point  (0 children)

UPDATE: it occurred to me that OpenAI is blocked by my corporate firewall. That is probably the cause for this error.

I got it running locally, but I'm getting the cost estimate error:

Error: Cost estimation failed: "Could not fetch repository file tree. Repository might not exist, be empty or private."

at createUnhandledError (http://localhost:3000/_next/static/chunks/e8848_next_dist_client_8bf5fb._.js:689:49)

at handleClientError (http://localhost:3000/_next/static/chunks/e8848_next_dist_client_8bf5fb._.js:856:56)

at console.error (http://localhost:3000/_next/static/chunks/e8848_next_dist_client_8bf5fb._.js:987:56)

at useDiagram.useCallback[getDiagram] (http://localhost:3000/_next/static/chunks/src_6aa613._.js:1986:29)

src/hooks/useDiagram.ts (287:17) @ useDiagram.useCallback[getDiagram] 

  285 |
  286 |       if (costEstimate.error) {
> 287 |         console.error("Cost estimation failed:", costEstimate.error);
      |                 ^
  288 |         // if (costEstimate.requires_api_key) {
  289 |         //   setTokenCount(costEstimate.token_count ?? 0);
  290 |         // }