🏠 back to Observable

If someone forks a notebook, and I fork the fork, can I compare to the original?

I think the title states the question. I am interested sometimes to see what someone has changed from the original. Can I do this easily, or is it “complicated”?

I think you have to edit the “compare” URL manually, but you can put any two notebook IDs in there:

https://observablehq.com/compare/parent_id@version...fork_id@version

You can find the ID (a hex string like 55bed46f68a80641) for each notebook using e.g. @mootari’s notebook here:

3 Likes

Thanks @bgchen ! It’s been a long time since you and I directly interacted here. In case you didn’t know it, you’re an all time hero of mine!

2 Likes

@bgchen :mountain_railway: hype train choo choo :mountain_railway:

definite talk.observablehq.com hall of famer

2 Likes

and to find out which versions of the original have been published (e.g. to compare to an older version), you can use this notebook:

2 Likes

You can also choose “Compare fork” for both forks, and then recombine both URLs.

Example:

  • Fork B compared to fork A:
    https://observablehq.com/compare/e6635c9d5b5ace2a@214...c14b189ca517ee46@234
  • Fork A compared to original: https://observablehq.com/compare/6a419dd0e215f527@41...e6635c9d5b5ace2a@214
  • Fork B compared to original:
    https://observablehq.com/compare/6a419dd0e215f527@41...c14b189ca517ee46@234

2 Likes

For some reason yesterday I kept thinking that @mootari had a notebook which allowed you to input two notebook URLs and get a compare link out, but no matter how hard I searched I just couldn’t find it.

Well, turns out I was remembering a tiny addition in my fork of (@mootari’s notebook that I linked above) (also from 2018!):

2 Likes