Settings

Theme

Show HN: Watermelon – copilot for code review

github.com

107 points by estebandalelr 2 years ago · 57 comments

Reader

CSSer 2 years ago

I wonder how many of these products are going to slurp up proprietary information from unwitting code teams before it's over. Granted, if your team/org isn't smart enough to consider that, maybe there's not really much there of value anyway.

  • quickthrower2 2 years ago

    Looks like it is for open source only anyway.

    Plus many things have the opportunity to slurp up your code: package managers, build tools, linters, Github (well...) etc.

  • baristaGeek 2 years ago

    We strongly believe in opening up the codebase to embrace transparency and show users that their code is being read, not stored.

    That being said, we understand that many companies can't use OpenAI-powered products because of the lack of a data transfer agreement (ChatGPT Enterprise version aside).

    Self-hosted tools aside, what vendors do you use that solve this problem well?

philmo1 2 years ago

How does Watermelon compare to CodeRabbit (https://coderabbit.ai)? Very curious!

  • EthicalSimilar 2 years ago

    CodeRabbit spews out a lot of unnecessary text in my opinion. It did catch a bug the other day though.

  • baristaGeek 2 years ago

    I hadn't heard about them before. Their product looks awesome!

    From checking out their website, it seems like they've developed a more advanced way of chatting with line diffs, whereas we've built a superior PR summary system by tracing code context from various systems.

baristaGeek 2 years ago

Hello, the other Esteban (CEO) here.

I'll also be available to answer any questions from the community and to receive your feedback.

  • mike_d 2 years ago

    Can you help me understand how it is open source? Or is the post title just in need of an update?

    • JohnFen 2 years ago

      It appears to be a front end to OpenAI, so I don't think it can really be considered "open source", can it?

  • lainga 2 years ago

    Hi Esteban. What's your business model?

    • baristaGeek 2 years ago

      Currently, we're running an experiment where we provide teams with 500 free PR analyses each month. Beyond that, we charge $16 per month for each seat.

  • kleiba 2 years ago

    Perhaps the watermelon is not the best choice of symbol, given the current situation in the middle east?

    • baristaGeek 2 years ago

      It's important to note that our choice of the watermelon symbol was made two years ago, with no intention of causing discomfort or insensitivity to any situation. We apologize if it has inadvertently caused any unease.

      • kleiba 2 years ago

        Yes, of course I didn't mean to suggest that you chose a specific symbol to make a political statement or anything like that. My thinking was more that if you were to suffer negative implications as a result of that choice, that would be a rather unfortunate outcome for you and your project.

        I think it's quite clear that you chose the watermelon long before the current events started unfolding.

    • zelphirkalt 2 years ago

      Has a watermelon a special meaning there? Can you elaborate?

      • dubcanada 2 years ago

        https://time.com/6326312/watermelon-palestinian-symbol-solid... appears to have the answer.

        But I will say I completely disagree, nobody owns a symbol and I don't think it's acceptable to allocate emojis to specific events.

        • fsckboy 2 years ago

          to round out the story of the symbology, the other flags/placards being waved in that photo are "sabra" cactuses, prickly pears, available in green and red with a sweet fruit. "Sabra" is a common Israeli self-epithet, to mean something like "we are like sabras, prickly on the outside, sweet on the inside"; so those protesters are sending a "unity" sort of message by waving both.

          https://www.greenprophet.com/wp-content/uploads/blur-botanic...

        • kleiba 2 years ago

          Disagree with what?

          • dubcanada 2 years ago

            I made my point in my comment, things are not just one meaning. Emojis do not just have one meaning. Words do not have one meaning (most of the time). Nobody would equate a watermelon for open source copilot for code analysis as being anti-Palestine or pro-Palestine or anti-Israel or pro-Israel. I don't understand why it was even brought up.

            • kleiba 2 years ago

              You've made your points, sure. But by doing so, you're also implicitly attributing the opposite of your opinion to me, which is not fair.

              > Nobody would equate a watermelon for open source copilot for code analysis as being anti-Palestine or pro-Palestine or anti-Israel or pro-Israel.

              How could you even know what other people would equate with what?

      • _ncyj 2 years ago

        The first thought that came to mind for me was how in some Chinese internet culture, eating watermelon represents watching an event for entertainment without much investment even to the detriment of others. Apparently it’s being used for solidarity with Palestine though.

estebandalelrOP 2 years ago

Hello, Esteban, the CTO here.

I hated PR review in my last company and decided to fix it along with my best friend Esteban (yes, same name!).

We created a system that tags your PRs, gives you context from other services and checks for common errors, and would love your feedback. Install it and see it in every PR.

For now, it’s free for the first 500 PRs per month.

janaagaard 2 years ago

The homepage (https://github.com/marketplace/watermelon-context) states that Watermelon supports "C, C#, C++ and 7 other languages", but I can't figure out what these other languages are. Has anyone found this info? Is TypeScript a supported language?

rgbrgb 2 years ago

Congrats on the release.

If I plug this into my repo, does Open AI get to train on my proprietary codebase?

  • hobo_mark 2 years ago

    According to OpenAI, they only harvest data coming from ChatGPT (their app), but not from third parties using the OpenAI API.

    > How we use your data. Your data is your data. As of March 1, 2023, data sent to the OpenAI API will not be used to train or improve OpenAI models (unless you explicitly opt in).

    > Note that this data policy does not apply to OpenAI's non-API consumer services like ChatGPT or DALL·E Labs.

    https://platform.openai.com/docs/models/how-we-use-your-data

    • baristaGeek 2 years ago

      Thanks for highlighting this for the community!

      Besides this, you can also see on our repository that we only send line diffs, titles of pull requests, and descriptions of pull requests to the GPT API, not your entire codebase.

imjonse 2 years ago

open source wrapper around OpenAI or do other LLMs work?

  • baristaGeek 2 years ago

    We appreciate your curiosity about our app. Just to clarify, we're actually a RAG application, not a wrapper. Our focus is on reviewing PRs in a manner similar to human reviewers, by tracing code context from various sources.

    Currently, we exclusively integrate with OpenAI's models because they've been highly effective for our needs. However, we're definitely open to the idea of supporting open-source and self-hosted LLMs in the future. Thanks for bringing this up, and I hope this clears up any confusion!

    • imjonse 2 years ago

      Good luck, but using the term open source here is indeed confusing. While your own code is open source, the core of your app is the OpenAI API and without it your app does not work. So the project as a whole does not have the main characteristics of open source apps as generally understood (one can inspect the innards to see how it works, good privacy by default, free). It is sad that so much of the recent AI hype distorted the meaning of the term open source, both due to opaque models that can be downloaded for free and web-apps wrapping the OpenAI API.

Galanwe 2 years ago

Does it work with self hosted github enterprise server? Is the code sent out to internet at any point? can we self host watermelon?

stmblast 2 years ago

This is pretty neat! Looks like I might have to try it out now that there's a free open-source alternative.

aaronbrethorst 2 years ago

Looks cool. I hope you add support for Swift soon!

jdcgqr 2 years ago

Excellent tool

jorams 2 years ago

I hate to have to bring this up, but please don't advertise source available software as being open source. You have a cool product and making the source available is a good thing, you don't need to lie about the extent to which you're opening it up.

  • dang 2 years ago

    It seems easiest to just take "open source" out of the title above - the post is fine without that bit, and it will reduce distractions - so I've done that now. Thanks!

  • baristaGeek 2 years ago

    It's valid that you bring this up!

    We're still discussing this. We do have a plan to open what's currently built entirely, and later build proprietary features inside an /ee dir.

    You can read more about our strategy on our company's open handbook: https://github.com/watermelontools/public-handbook/blob/main...

    • pvg 2 years ago

      We're still discussing this.

      The suggestion in the GP is that you are mis-representing your product and you seem to be confirming this. Instead of asking people to read the handbook, it seems easier to just change the inaccurate bits for now.

kingkongjaffa 2 years ago

Calling it a “copilot” when there’s clearly another product in this space, seems a little, provocative.

Its kind of ballsy to host it on github :p

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection