Hi HN! We were frustrated with text diffs on GitHub PRs, so we made DiffLens (https://github.com/marketplace/difflens) to produce language aware diffs on PRs. DiffLens constructs an Abstract Syntax Tree for each file, and uses that semantic information to intelligently diff changes. Checkout the demo on our website (https://www.difflensapp.com/difflensDemo2_849ca26f9ee09faa084cbdcdc90b6f90f8ce8495). If you review code, especially TypeScript, JavaScript or CSS, give DiffLens a try, it's free!<p>We're looking for feedback from developers. If you share our frustrations with reviewing code changes, we'd love to talk to you. Most developers already have a favourite diff tool installed locally but there exists very little for reviewing code changes online, so we worked on DiffLens slowly over a number of years. We use it to review our own code changes, and we love it. We'd really appreciate thoughts and insights about the idea and its execution from developers and will answer any questions that come up. Thanks for reading!
Please change the title to something like "<i>DiffLens: Language Aware Diffs on GitHub Pull Requests</i>". It's fine to post your stuff here, but it's better that it's clear that it's a post and not a question.<p>About the project: It was difficult to understand what it is doing looking at the 3 screenshots in the page. After a few hops I reached the demo <a href="https://www.difflensapp.com/difflensDemo2_849ca26f9ee09faa084cbdcdc90b6f90f8ce8495" rel="nofollow">https://www.difflensapp.com/difflensDemo2_849ca26f9ee09faa08...</a> that is easier to understand.
I was curious about trying out my own diff so I went to the home page: <a href="https://www.difflensapp.com/" rel="nofollow">https://www.difflensapp.com/</a> and didn't see an option.<p>It would be interesting to be able to append a github compare / pr / tree-ish link to see the diff via difflens, so maybe something like:<p><a href="https://www.difflensapp.com/github.com/rails/rails/commit/7dd149477d47e6413a282c5b61cf755b242bf757" rel="nofollow">https://www.difflensapp.com/github.com/rails/rails/commit/7d...</a><p>would render that diff via diff lens. just an idea to get more people testing.