[HN Gopher] Show HN: Watermelon - copilot for code review
       ___________________________________________________________________
        
       Show HN: Watermelon - copilot for code review
        
       Author : estebandalelr
       Score  : 94 points
       Date   : 2023-11-15 15:53 UTC (7 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | estebandalelr wrote:
       | 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.
        
       | baristaGeek wrote:
       | Hello, the other Esteban (CEO) here.
       | 
       | I'll also be available to answer any questions from the community
       | and to receive your feedback.
        
         | lainga wrote:
         | Hi Esteban. What's your business model?
        
           | baristaGeek wrote:
           | 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.
        
             | lainga wrote:
             | That is a generous number. Thank you for enlightening me
        
         | kleiba wrote:
         | Perhaps the watermelon is not the best choice of symbol, given
         | the current situation in the middle east?
        
           | baristaGeek wrote:
           | 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 wrote:
             | 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 wrote:
           | Has a watermelon a special meaning there? Can you elaborate?
        
             | dubcanada wrote:
             | 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.
        
               | kleiba wrote:
               | Disagree with what?
        
               | dubcanada wrote:
               | 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 wrote:
               | 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?
        
         | mike_d wrote:
         | Can you help me understand how it is open source? Or is the
         | post title just in need of an update?
        
           | JohnFen wrote:
           | It appears to be a front end to OpenAI, so I don't think it
           | can really be considered "open source", can it?
        
       | stmblast wrote:
       | This is pretty neat! Looks like I might have to try it out now
       | that there's a free open-source alternative.
        
         | baristaGeek wrote:
         | Thank you so much for your support! We truly appreciate it.
        
       | aaronbrethorst wrote:
       | Looks cool. I hope you add support for Swift soon!
        
         | baristaGeek wrote:
         | We should definitely do that. Thanks for your input!
        
         | estebandalelr wrote:
         | What would you like to tackle in Swift? Do you have a repo I
         | can snoop around?
        
       | jdcgqr wrote:
       | Excellent tool
        
       | janaagaard wrote:
       | 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?
        
         | space_ghost wrote:
         | According to the aria-label in the page: Go, Java, JavaScript,
         | PHP, Python, SQL, and TypeScript.
        
         | estebandalelr wrote:
         | Oh! Will fix that. Yes JS and TS are even what we build it in!
        
       | imjonse wrote:
       | open source wrapper around OpenAI or do other LLMs work?
        
         | baristaGeek wrote:
         | 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 wrote:
           | 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.
        
             | baristaGeek wrote:
             | Thanks for your input! It's a valid concern and something
             | we can improve.
        
       | kingkongjaffa wrote:
       | 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
        
         | estebandalelr wrote:
         | Thank you! Yes, we settled on booking to the brand, who knows,
         | maybe they will add us to their portfolio.
        
         | baristaGeek wrote:
         | There's absolutely nothing "ballsy" about describing our
         | product as a "copilot" as a lot of other people are doing, or
         | about choosing to host it on GitHub - the go-to platform for
         | open source repositories. Our product distinctly differs from
         | GitHub Copilot X, and we're confident in our approach.
        
           | Ciantic wrote:
           | What is ballsy and what isn't is debatable. I would agree it
           | is ballsy because Microsoft is using "Copilot" on now most of
           | its AI products, just today:
           | 
           | - Bing Chat is now Microsoft Copilot [1]
           | 
           | - Microsoft Copilot Studio lets anyone build custom AI
           | copilots [2]
           | 
           | [1]: https://www.theverge.com/2023/11/15/23960517/microsoft-
           | copil...
           | 
           | [2]: https://www.theverge.com/2023/11/15/23960417/microsoft-
           | copil...
        
         | russh wrote:
         | Can you Xerox that for me?
        
         | omarfarooq wrote:
         | Difference between "copilot" and "Copilot".
        
       | rgbrgb wrote:
       | Congrats on the release.
       | 
       | If I plug this into my repo, does Open AI get to train on my
       | proprietary codebase?
        
         | hobo_mark wrote:
         | 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 wrote:
           | 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.
        
       | philmo1 wrote:
       | How does Watermelon compare to CodeRabbit
       | (https://coderabbit.ai)? Very curious!
        
         | baristaGeek wrote:
         | 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.
        
         | EthicalSimilar wrote:
         | CodeRabbit spews out a lot of unnecessary text in my opinion.
         | It did catch a bug the other day though.
        
       | Galanwe wrote:
       | Does it work with self hosted github enterprise server? Is the
       | code sent out to internet at any point? can we self host
       | watermelon?
        
         | estebandalelr wrote:
         | We can talk! Please send an email to info[at]watemelon.tools
        
       | CSSer wrote:
       | 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.
        
         | baristaGeek wrote:
         | 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?
        
       | jorams wrote:
       | 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.
        
         | baristaGeek wrote:
         | 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 wrote:
           | _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.
        
         | dang wrote:
         | 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!
        
       ___________________________________________________________________
       (page generated 2023-11-15 23:01 UTC)