[{"data":1,"prerenderedAt":328},["ShallowReactive",2],{"project-27007844":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":33,"aspects":34,"strip":43,"post_text":46,"what":47,"said":78,"maker_in_thread":177,"shape":185,"grid":189,"attempts":289,"same_week":290,"maker_shows":36,"maker_hidden":320,"reader_version":321,"card":322},"27007844","git-split-diffs","GitHub style split diffs in your terminal","title","Show HN: GitHub style split diffs in your terminal","https:\u002F\u002Fgithub.com\u002Fbanga\u002Fgit-split-diffs","github.com","milkbikis",1619888703,2021,178,50,267,2533,11,"notable","dev_tools","git diff viewer","cli",[24,25,26,27],"git diff","split diff","terminal diff","syntax highlighting","loved",0.427,{"positive":31,"neutral":32,"mixed":32,"critical":32},10,2,16,{"idea":35,"design":37,"execution":40,"performance":41,"docs":42},{"positive":36,"critical":36},1,{"positive":38,"critical":39},4,0,{"positive":36,"critical":36},{"positive":39,"critical":39},{"positive":39,"critical":39},[44,39,45,39,39,45,39,39,39,39,45,39,39,39,39,39,39,39,39,44,39,45,39,36,39,39,44,39,39,39,44,39,45,45,39,45,45,45,45,36],3,5,null,{"problem":48,"audience":46,"pricing":46,"motivation":57,"time_to_build":46,"stack":61,"openness":76,"stage":77,"team_size":77},{"value":49,"source":50,"evidence":51},"Viewing git diffs side by side in the terminal with good default styling","maker",[52,54],{"id":53},"post",{"id":55,"by":11,"text":56},"27009896","Yeah I (un)fortunately learned about delta too late or I probably wouldn't have made this. The main difference is that delta's default styles and appearance did not appeal to me.…",{"value":58,"source":50,"evidence":59},"Maker preferred default styles over delta and wanted syntax highlighting matching VS Code",[60],{"id":55,"by":11,"text":56},[62,68],{"value":63,"source":50,"evidence":64},"Node.js",[65],{"id":66,"by":11,"text":67},"27029105","Yeah I looked into bundling and deno, but neither of those seemed palatable at this point. Deno’s ecosystem is still quite small, so I’d have to implement things like syntax…",{"value":69,"source":70,"evidence":71},"TypeScript","commenter",[72],{"id":73,"by":74,"text":75},"27010922","AveryEm","> 99.1% TypeScript disappointment","open_source","unknown",{"praise":79,"objections":87,"requests":109,"questions":118,"alternatives":129},[80],{"value":81,"source":70,"evidence":82},"Better default look than delta",[83],{"id":84,"by":85,"text":86},"27012305","Noumenon72","I agree that's important! Delta's screenshot colors are so ugly that yours looks like the far superior product. It also seems more focused on diffs. I feel like I could drop in…",[88,98],{"value":89,"source":70,"evidence":90},"Slow startup due to Node process and syntax highlighting",[91,95],{"id":92,"by":93,"text":94},"27010629","seabass","This is cool! A bit slow to start up, probably due to starting up a node process each run, but looks great. Wondering if you have a theme that doesn't include a background color…",{"id":96,"by":11,"text":97},"27010696","The slowest operation is syntax highlighting: https:\u002F\u002Fgithub.com\u002Fbanga\u002Fgit-split-diffs#performance. I have a PR out to improve that somewhat. Good point about the themes, I'll…",{"value":99,"source":70,"evidence":100},"Node dependencies are heavy compared to a compiled binary",[101,105],{"id":102,"by":103,"text":104},"27012800","giantandroids","I would much rather use this, a nice secluded statically compiled blob instead of letting node.js unspool a spaghetti of dependencies.",{"id":106,"by":107,"text":108},"27016546","vendiddy","The diffs look beautiful. One suggestion to the author be to bundle this as a self-contained binary. This would have a huge impact on whether I want to install it. For this, I…",[110,114],{"value":111,"source":70,"evidence":112},"Bundle as a self-contained binary",[113],{"id":106,"by":107,"text":108},{"value":115,"source":70,"evidence":116},"Theme without background color",[117],{"id":92,"by":93,"text":94},[119],{"value":120,"source":70,"evidence":121},"How to automate screenshots headlessly",[122,126],{"id":123,"by":124,"text":125},"27012334","nyellin","Is anyone familiar with a good way to programatically create a diff like this as an image? I wrote a small script that tracks changes to your kubernetes cluster and sends a diff…",{"id":127,"by":124,"text":128},"27012453","Thank you. If you find a better way which works on a headless Linux container let me know. I would be interested in the older versions of your automation even if the output is…",[130,141,152,163,170],{"value":131,"source":70,"evidence":132},"delta",[133,137],{"id":134,"by":135,"text":136},"27009823","kbd","I already use delta for this: https:\u002F\u002Fgithub.com\u002Fdandavison\u002Fdelta I thought delta was fairly well-known by now so I was surprised to see this project not mention it (the readme…",{"id":138,"by":139,"text":140},"27012340","nishparadox","I've been using delta: https:\u002F\u002Fgithub.com\u002Fdandavison\u002Fdelta It can be easily set up...",{"value":142,"source":70,"evidence":143},"vim fugitive \u002F vimdiff",[144,148],{"id":145,"by":146,"text":147},"27010929","jez","When I find myself wanting a split diff in the terminal, I tend to gravitate towards just using Vim’s built in diff mode via vim-fugitive. I even have some git aliases that will…",{"id":149,"by":150,"text":151},"27009752","nfoz","I just use `vimdiff`, but this looks better.",{"value":153,"source":70,"evidence":154},"icdiff",[155,159],{"id":156,"by":157,"text":158},"27011963","busterarm","You can just use icdiff to get handsome-looking split diffs in terminal. https:\u002F\u002Fgithub.com\u002Fjeffkaufman\u002Ficdiff in your .gitconfig ``` [diff] tool = icdiff [difftool] prompt =…",{"id":160,"by":161,"text":162},"27012538","zeckalpha","`diff -y` works in a pinch but I generally use icdiff: https:\u002F\u002Fwww.jefftk.com\u002Ficdiff",{"value":164,"source":70,"evidence":165},"kitty-diff and tig",[166],{"id":167,"by":168,"text":169},"27009587","weitzj","I enjoy having good terminal ergonomics for Git. What works for me is tig for git diffs. Also very impressive is kitty-diff. If you use kitty as your OpenGL enabled terminal…",{"value":171,"source":70,"evidence":172},"diff-so-fancy",[173],{"id":174,"by":175,"text":176},"27010446","bovine3dom","Related but for single pane diffs: https:\u002F\u002Fgithub.com\u002Fso-fancy\u002Fdiff-so-fancy",{"comments":178,"answered":36,"key":179},6,[180,181,184],{"id":55,"text":56},{"id":182,"text":183},"27010251","Yes this is the default behavior for git-split-diffs: https:\u002F\u002Fgithub.com\u002Fbanga\u002Fgit-split-diffs#narrow-terminals",{"id":96,"text":97},{"commenters":186,"max_depth":45,"maker_replies":178,"first_comment_mins":187,"lifespan_hours":188},29,211,53,[190,192,194,197,201,205,206,209,211,213,216,218,219,222,225,227,229,230,232,233,235,237,238,241,245,246,248,251,252,254,257,258,259,263,268,270,274,279,283,286],[134,39,44,191,135,39],"project\u002Fneutral\u002Fidea",[55,39,39,193,11,36],"maker\u002Fneutral\u002Fdesign",[195,39,45,196,135,39],"27010031","project\u002Fpositive\u002Fdesign",[198,39,39,199,200,39],"27011314","commenter\u002Fneutral\u002Fnone","d76d6776yudsy",[202,39,39,203,204,39],"27026908","other\u002Fneutral\u002Fnone","r0rshrk",[84,39,45,196,85,39],[207,39,39,203,208,39],"27010192","petepete",[210,39,39,203,135,39],"27010224",[182,39,39,212,11,36],"maker\u002Fneutral\u002Fexecution",[214,39,39,203,215,39],"27010528","ComputerGuru",[102,39,45,217,103,39],"project\u002Fpositive\u002Fexecution",[145,36,39,203,146,39],[220,36,39,203,221,39],"27012653","i_am_not_elon",[223,36,39,203,224,39],"27013030","airblade",[226,36,39,199,221,39],"27016898",[228,36,39,203,221,39],"27020693",[167,32,39,203,168,39],[231,32,39,203,135,39],"27010207",[156,44,39,203,157,39],[92,38,44,234,93,39],"project\u002Fmixed\u002Fperformance",[96,38,39,236,11,36],"maker\u002Fneutral\u002Fperformance",[149,45,45,196,150,39],[239,45,39,203,240,39],"27010234","gnufx",[242,45,36,243,244,39],"27010310","project\u002Fcritical\u002Fidea","Brian_K_White",[160,178,39,203,161,39],[174,247,39,203,175,39],7,[106,249,44,250,107,39],8,"project\u002Fmixed\u002Fexecution",[66,249,39,212,11,36],[123,253,39,203,124,39],9,[255,253,39,256,11,36],"27012384","maker\u002Fneutral\u002Fdocs",[127,253,44,256,124,39],[138,31,39,203,139,39],[260,18,45,261,262,39],"27009597","project\u002Fpositive\u002Fidea","gigatexal",[264,265,45,266,267,39],"27010687",12,"maker\u002Fpositive\u002Fnone","manannayak",[269,265,39,266,11,36],"27010709",[271,272,45,196,273,39],"27010855",13,"nickstinemates",[275,276,45,277,278,39],"27031059",14,"project\u002Fpositive\u002Fnone","baby",[280,281,45,266,282,39],"27013901",15,"shaicoleman",[284,33,45,266,285,39],"27010119","dikaio",[73,287,36,288,74,39],17,"project\u002Fcritical\u002Fexecution",[],[291,296,300,305,310,315],{"id":292,"name":293,"points":294,"category":295},"26998308","Second-Chance Pool",543,"consumer_social",{"id":297,"name":298,"points":299,"category":295},"27034904","Boze",450,{"id":301,"name":302,"points":303,"category":304},"27050801","Building Mobile Apps at Scale",357,"learning_science",{"id":306,"name":307,"points":308,"category":309},"27054357","CS Weapons",245,"games",{"id":311,"name":312,"points":313,"category":314},"27029776","I built Grafar",212,"languages",{"id":316,"name":317,"points":318,"category":319},"26990615","tiny-hdl",122,"hardware",false,"v2",{"id":323,"name":5,"line":6,"ai":320,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":324,"top":18,"kw":325,"maker":11,"domain":10,"tier":19,"attempts":39,"strip":326,"url":9,"mix":327,"praise":81,"objection":89,"sub":21},27007844,0.43,[24,25,26,27],"3050050000500000000305010030003055055551",[31,32,32,32],1794036606320]