[{"data":1,"prerenderedAt":705},["ShallowReactive",2],{"project-22396824":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":5,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":33,"aspects":34,"strip":45,"post_text":47,"what":48,"said":108,"maker_in_thread":251,"shape":259,"grid":264,"attempts":669,"same_week":670,"maker_shows":17,"maker_hidden":697,"reader_version":698,"card":699},"22396824","grep.app","Search code in GitHub repos using regular expressions","title","Show HN: Search code in GitHub repos using regular expressions","https:\u002F\u002Fgrep.app","danfox",1582466027,2020,614,155,26,3028,1,"legend","dev_tools","code search","web_app",[23,24,25,26],"regex code search","search github code","grep github","code search engine","mixed",0.374,{"positive":30,"neutral":31,"mixed":17,"critical":32},27,23,6,57,{"docs":35,"execution":37,"pricing":38,"idea":39,"performance":41,"design":43},{"positive":36,"critical":36},0,{"positive":36,"critical":32},{"positive":36,"critical":36},{"positive":40,"critical":36},12,{"positive":42,"critical":36},3,{"positive":44,"critical":36},4,[46,36,42,17,42,17,46,46,46,46,36,36,36,36,42,46,46,46,36,46,46,42,42,17,46,44,46,42,36,36,46,46,42,46,46,42,44,46,36,36],5,null,{"problem":49,"audience":65,"pricing":47,"motivation":47,"time_to_build":47,"stack":81,"openness":106,"stage":107,"team_size":106},{"value":50,"source":51,"evidence":52},"GitHub's code search is limited, so regex search across public repos is hard","commenter",[53,57,61],{"id":54,"by":55,"text":56},"22399342","latenightcoding","github's code search is notoriously bad, feels like a huge missed opportunity. Nice to see you guys reaching out to other people working in this area.",{"id":58,"by":59,"text":60},"22398477","j1elo","GitHub confirmed to me that their search is not able to find in substrings; this is annoying because if you want to find all affected code among all possibly involved…",{"id":62,"by":63,"text":64},"22397060","glouwbug","Amazin, why Microsoft hasn't built this for GitHub yet is beyond me. Can it grep on individual repos?",{"value":66,"source":67,"evidence":68},"developers searching code examples and usage across public repositories","inferred",[69,73,77],{"id":70,"by":71,"text":72},"22397728","jasoncwarner","This is awesome! @danfox, sent you an email though commenting here too. I'm the CTO @ GitHub. Would love to talk to you about this and other things we are building in this area…",{"id":74,"by":75,"text":76},"22399076","dang","I still miss Google Code Search, which was a great way to find examples of anything I wanted to learn about in programming and usually answered my questions better than anything…",{"id":78,"by":79,"text":80},"22402022","franciscop","This is amazing! One thing that allows me to do, which I wasn't before, is to do a search for the repos that use some of my open source. While there were some tools for this,…",[82,89,95,99],{"value":83,"source":84,"evidence":85},"Solr","maker",[86],{"id":87,"by":10,"text":88},"22397392","Thanks! It's built on top of Solr. It fetches the repos from GitHub - it should pick up any updates to repos within a few days. It's running on a couple servers with 20 cores…",{"value":90,"source":84,"evidence":91},"Elastic Search UI",[92],{"id":93,"by":10,"text":94},"22403759","Thanks! It's using Elastic's Search UI (https:\u002F\u002Fgithub.com\u002Felastic\u002Fsearch-ui) and Ant Design (https:\u002F\u002Fgithub.com\u002Fant-design\u002Fant-design).",{"value":96,"source":84,"evidence":97},"Ant Design",[98],{"id":93,"by":10,"text":94},{"value":100,"source":51,"evidence":101},"RE2",[102],{"id":103,"by":104,"text":105},"22397028","fanf2","I wonder how this compares to Debian Code Search (https:\u002F\u002Fcodesearch.debian.net\u002Fabout) and Russ Cox’s code search tools (https:\u002F\u002Fswtch.com\u002F~rsc\u002Fregexp\u002Fregexp4.html). Obviously…","unknown","launched",{"praise":109,"objections":152,"requests":178,"questions":205,"alternatives":224},[110,125,140],{"value":111,"source":51,"evidence":112},"Fast and responsive search",[113,117,121],{"id":114,"by":115,"text":116},"22405748","OutsmartDan","This is one of the fastest, most responsive searches i've ever used. Great work!",{"id":118,"by":119,"text":120},"22402305","KhoomeiK","How is it that fast?",{"id":122,"by":123,"text":124},"22403634","blackandblue","thank you so much for doing this! i hope it continues to open more doors of opportunities to you! primo, this is a crazy snappy proof that shows that github search can be done.…",{"value":126,"source":51,"evidence":127},"Clean, minimal interface",[128,132,136],{"id":129,"by":130,"text":131},"22411993","tekkk","Superb work. You built a better code search than Github (well with some of its features missing sure) with a lot less resources. Shows how stagnated the progress in big companies…",{"id":133,"by":134,"text":135},"22398560","cddotdotslash","The interface for this is really clean and nice - did you use a theme or framework?",{"id":137,"by":138,"text":139},"22399414","inetknght","I was going to say that I didn't want javascript on this. But it's actually pretty #neat. It's all tidied up into a single app without any dependencies. This rocks and, so far,…",{"value":141,"source":51,"evidence":142},"Fills the gap left by Google Code Search and GitHub's search",[143,144,148],{"id":74,"by":75,"text":76},{"id":145,"by":146,"text":147},"22402132","edwinyzh","Awesome! To me it looks like the come back of \"Google Code Search\" which I've been missing for many years!",{"id":149,"by":150,"text":151},"22397052","aodj","You have no idea how often I've wanted something like this for GitHub. Thanks so much!",[153,161,171],{"value":154,"source":84,"evidence":155},"Index covers only about 500k repos and is refreshed every few days",[156,160],{"id":157,"by":158,"text":159},"22398804","thanatos_dem","If this were to be offered by an actual company (a first party solution), there are some features that'd be expected that make the problem space a lot harder. Here's an \"intro to…",{"id":87,"by":10,"text":88},{"value":162,"source":84,"evidence":163},"No deduplication of forked repos in results",[164,167],{"id":165,"by":10,"text":166},"22401106","There isn't any deduplication, although that will hopefully be less of an issue at this point since there's a limited number of repositories in the index.",{"id":168,"by":169,"text":170},"22397478","TACIXAT","I do not have a great example to try on my phone, but are results deduplicated? That's my big peeve with GitHub search is getting 5 pages of the same forked repo.",{"value":172,"source":51,"evidence":173},"Highlighting appears wrong in some results",[174],{"id":175,"by":176,"text":177},"22411762","w-m","Amazing feat! Something I found when testing the regexp: the highlights seem to be off sometimes. When grepping for '\u003C.*?@gmail.com>' (sorry, just the first thing that came to…",[179,190,198],{"value":180,"source":51,"evidence":181},"Search file names or only additions and deletions",[182,186],{"id":183,"by":184,"text":185},"22401196","welder","Can I search only additions\u002Fdeletions? Recently when searching GitHub I wanted to find if anyone had replaced the usage of a deprecated method with the new one, because the docs…",{"id":187,"by":188,"text":189},"22399444","erikpukinskis","The fact that you can’t search for file names is the funniest part to me.",{"value":191,"source":51,"evidence":192},"Search within a single repo or exclude directories",[193,194],{"id":62,"by":63,"text":64},{"id":195,"by":196,"text":197},"22398515","oefrha","A tangent, my biggest gripe with GitHub code search (within a repo) off the top of my head is the inability to blacklist directories or only search whitelisted directories. Often…",{"value":199,"source":51,"evidence":200},"Support backreferences",[201],{"id":202,"by":203,"text":204},"22399198","jakear","Any plans to include backrefs? I'd like to see how many examples of \u002F(\\w+) && \\1\\.\u002F are out there in .js\u002F.ts compared to \u002F(\\w+)\\?\\.\u002F",[206,217],{"value":207,"source":51,"evidence":208},"How the index is built and how often it refreshes",[209,213],{"id":210,"by":211,"text":212},"22397023","simonw","Impressive! Really fast, full featured code search across a huge corpus. 1. How did you build the index? Did you use a GitHub dump of some sort? How often do you refresh it? 2.…",{"id":214,"by":215,"text":216},"22397156","ferenczy","I would say this needs a list of indexed repos and mainly an explanation of how it exactly works to be usable (how's the index build and how often it's refreshed, what types of…",{"value":218,"source":51,"evidence":219},"How repos were selected from the public set",[220],{"id":221,"by":222,"text":223},"22397153","lol768","How did you pick the 500k repositories to index out of the 28 million or so which are public?",[225,236,240,247],{"value":226,"source":51,"evidence":227},"Sourcegraph",[228,232],{"id":229,"by":230,"text":231},"22398056","sqs","This is really cool. What are you using it for? Usage examples, debugging, etc.? I'm the CEO at Sourcegraph (universal code search for companies to use on their internal code).…",{"id":233,"by":234,"text":235},"22401027","patrickdevivo","This is really cool! Awesome work. I assume you've seen https:\u002F\u002Fsourcegraph.com\u002F as well? This to me seems much clearer and a bit more intuitive (though I've only spent a little…",{"value":237,"source":51,"evidence":238},"Debian Code Search",[239],{"id":103,"by":104,"text":105},{"value":241,"source":51,"evidence":242},"Hound",[243],{"id":244,"by":245,"text":246},"22397725","hoorayimhelping","to grep specific repos locally, I use a tool called Hound, https:\u002F\u002Fgithub.com\u002Fhound-search\u002Fhound developed by a couple of engineers at Etsy while I was there, but never released…",{"value":248,"source":51,"evidence":249},"GitHub code search",[250],{"id":54,"by":55,"text":56},{"comments":252,"answered":46,"key":253},7,[254,255,258],{"id":87,"text":88},{"id":256,"text":257},"22397468","It was based on the number of stars\u002Fforks and the size of the repository.",{"id":165,"text":166},{"commenters":260,"max_depth":261,"maker_replies":252,"first_comment_mins":262,"lifespan_hours":263},106,8,51,54,[265,267,271,273,276,277,280,283,285,289,293,296,299,303,305,308,310,313,316,320,324,326,328,329,332,335,338,342,345,348,351,353,355,358,360,362,366,368,371,373,376,379,382,384,387,390,393,395,397,399,401,404,407,410,413,416,420,421,423,426,428,430,432,434,435,438,440,441,442,445,448,451,454,457,460,462,465,468,471,473,475,477,481,482,485,489,492,494,495,498,501,503,506,509,510,512,514,516,520,523,526,529,532,534,535,538,540,543,545,547,549,551,554,556,558,562,564,566,569,570,574,577,579,582,584,586,590,592,594,596,598,600,602,606,609,612,616,620,622,624,628,630,634,638,642,646,650,653,655,658,660,663,666],[70,36,46,266,71,36],"project\u002Fpositive\u002Fnone",[268,36,36,269,270,36],"22398523","commenter\u002Fneutral\u002Fnone","sixwing",[54,36,36,272,55,36],"other\u002Fneutral\u002Fnone",[274,36,36,272,275,36],"22399420","lucasverra",[187,36,36,272,188,36],[278,36,36,269,279,36],"22399706","nickthemagicman",[281,36,36,269,282,36],"22401095","cole-h",[284,36,36,269,279,36],"22401210",[286,36,42,287,288,36],"22404218","project\u002Fneutral\u002Fdocs","giancarlostoro",[290,36,42,291,292,36],"22406419","project\u002Fneutral\u002Fnone","WhiteOwlLion",[294,36,36,272,295,36],"22400319","sophiebits",[297,36,36,272,298,36],"22404568","aantix",[300,36,17,301,302,36],"22403210","project\u002Fcritical\u002Fexecution","glangdale",[304,36,17,301,302,36],"22403228",[306,36,36,269,307,36],"22403687","michaelmior",[309,36,36,269,302,36],"22408106",[311,36,36,272,312,36],"22403257","sovietmudkipz",[314,36,36,272,315,36],"22406017","travbrack",[317,36,42,318,319,36],"22406170","project\u002Fneutral\u002Fpricing","sdesol",[321,36,36,322,323,36],"22407098","commenter\u002Fneutral\u002Fpricing","samcrawford",[325,36,17,301,292,36],"22406391",[210,17,42,327,211,36],"maker\u002Fneutral\u002Fnone",[87,17,36,327,10,17],[330,17,46,266,331,36],"22398989","ngold",[333,17,42,291,334,36],"22399100","rattray",[336,17,46,266,337,36],"22403717","1024",[339,17,42,340,341,36],"22402489","maker\u002Fneutral\u002Fexecution","heipei",[343,17,36,269,344,36],"22402501","speedplane",[74,346,46,347,75,36],2,"project\u002Fpositive\u002Fidea",[349,346,36,269,350,36],"22411524","londons_explore",[352,346,36,269,350,36],"22411548",[354,42,36,272,158,36],"22398625",[356,42,36,272,357,36],"22398675","Existenceblinks",[157,42,46,359,158,36],"project\u002Fpositive\u002Fperformance",[361,42,46,347,319,36],"22399306",[363,42,36,364,365,36],"22403986","commenter\u002Fneutral\u002Fperformance","marceloabsousa",[367,42,36,272,319,36],"22406079",[369,42,36,272,370,36],"22399907","fjania",[372,42,36,272,319,36],"22398680",[374,42,36,272,375,36],"22399107","neonate",[377,42,36,272,378,36],"22399555","swat535",[380,42,36,272,381,36],"22399695","runawaybottle",[383,42,36,272,279,36],"22399715",[385,42,36,272,386,36],"22399748","tmpz22",[388,42,36,272,389,36],"22402156","yakshaving_jgt",[391,42,36,272,392,36],"22402610","IshKebab",[394,42,36,272,279,36],"22402955",[396,42,36,272,279,36],"22402924",[398,42,36,272,389,36],"22402956",[400,42,36,272,279,36],"22402981",[402,42,36,272,403,36],"22404914","fjp",[405,42,36,272,406,36],"22401517","wolco",[408,42,36,272,409,36],"22401971","SlowRobotAhead",[411,42,36,272,412,36],"22403540","TheSpiceIsLife",[414,42,36,272,415,36],"22406012","mtnGoat",[417,42,42,418,419,36],"22399723","project\u002Fneutral\u002Fidea","nonbirithm",[229,44,36,269,230,36],[422,44,46,347,146,36],"22402197",[424,44,36,269,425,36],"22402616","akavel",[427,44,36,269,146,36],"22403811",[429,44,36,269,230,36],"22404453",[431,44,36,269,146,36],"22405102",[433,44,36,272,230,36],"22406093",[78,46,46,347,79,36],[436,32,46,347,437,36],"22399278","danielecook",[439,32,46,266,409,36],"22401979",[244,252,36,272,245,36],[62,261,46,347,63,36],[443,261,36,269,444,36],"22397965","funklute",[446,261,36,269,447,36],"22398529","m3kw9",[449,261,36,269,450,36],"22398702","big_chungus",[452,261,36,269,453,36],"22399322","leni536",[455,261,46,347,456,36],"22398896","tehlike",[458,261,36,272,459,36],"22400966","hcm",[195,461,36,272,196,36],9,[463,461,36,272,464,36],"22400635","Noctem",[466,461,36,272,467,36],"22402654","cynicalreason",[233,469,46,470,234,36],10,"project\u002Fpositive\u002Fdesign",[472,469,36,272,146,36],"22402215",[474,469,36,269,425,36],"22402618",[476,469,36,272,146,36],"22403810",[478,479,36,272,480,36],"22398391",11,"hartator",[103,40,42,291,104,36],[483,40,36,272,484,36],"22403108","sciurus",[486,487,42,327,488,36],"22397869",13,"nickjj",[490,491,42,327,146,36],"22402279",14,[221,493,42,291,222,36],15,[256,493,36,327,10,17],[496,493,17,301,497,36],"22398794","atxbcp",[499,493,36,269,500,36],"22399812","giovannibonetti",[502,493,36,269,234,36],"22401094",[504,493,36,269,505,36],"22403318","tempay",[168,507,42,508,169,36],16,"project\u002Fneutral\u002Fexecution",[165,507,36,340,10,17],[149,511,46,347,150,36],17,[58,513,46,347,59,36],18,[175,515,17,301,176,36],19,[517,518,46,347,519,36],"22402428",20,"sn4pp",[521,518,42,508,522,36],"22405341","bananaeater",[524,518,36,269,525,36],"22410783","rafi_kamal",[214,527,42,528,215,36],21,"project\u002Fmixed\u002Fdocs",[530,527,36,269,531,36],"22402385","clarry",[129,533,46,470,130,36],22,[202,31,42,418,203,36],[536,31,42,508,537,36],"22399455","tyingq",[539,31,36,269,203,36],"22399777",[541,31,36,269,542,36],"22399809","burntsushi",[544,31,36,269,203,36],"22400544",[546,31,36,269,542,36],"22400636",[548,31,36,269,203,36],"22400989",[550,31,36,269,542,36],"22401005",[552,31,36,269,553,36],"22412319","manthideaal",[555,31,36,269,542,36],"22413192",[557,31,36,269,553,36],"22416411",[559,560,36,272,561,36],"22401348",24,"dabei",[563,560,36,272,146,36],"22402242",[122,565,46,359,123,36],25,[567,15,42,418,568,36],"22407585","mrkramer",[145,30,46,347,146,36],[571,572,42,291,573,36],"22397055",28,"enriquto",[575,572,36,269,576,36],"22397309","justanotheratom",[578,572,36,269,573,36],"22397326",[580,572,36,269,581,36],"22397533","polyphonicist",[583,572,36,269,573,36],"22398468",[183,585,42,291,184,36],29,[587,588,42,508,589,36],"22399752",30,"yuz",[591,588,36,508,10,17],"22401113",[593,588,46,266,589,36],"22402068",[595,588,36,287,10,17],"22403686",[133,597,46,470,134,36],31,[93,597,36,599,10,17],"project\u002Fneutral\u002Fdesign",[137,601,46,470,138,36],32,[603,604,46,347,605,36],"22404041",33,"bilekas",[607,608,17,301,357,36],"22398619",34,[610,608,36,611,10,17],"22401119","project\u002Fneutral\u002Fperformance",[613,614,42,418,615,36],"22408195",35,"stagas",[617,618,46,266,619,36],"22402098",36,"AdrianEGraphene",[621,618,36,269,146,36],"22402118",[114,623,46,359,115,36],37,[625,626,42,599,627,36],"22407192",38,"thrownaway954",[118,629,42,611,119,36],39,[631,632,42,611,633,36],"22403784",40,"chasers",[635,636,46,266,637,36],"22406891",41,"doubleorseven",[639,640,46,641,415,36],"22406092",42,"maker\u002Fpositive\u002Fnone",[643,644,36,272,645,36],"22412822",43,"habit20",[647,648,36,272,649,36],"22397807",44,"whatever1",[651,648,36,272,652,36],"22397843","frabert",[654,648,36,272,158,36],"22398970",[656,648,36,272,657,36],"22397900","GrantZvolsky",[659,648,36,272,537,36],"22399483",[661,648,36,272,662,36],"22399888","samatman",[664,648,36,272,665,36],"22401637","roryokane",[667,648,36,272,668,36],"22403710","GordonS",[],[671,675,679,684,688,692],{"id":672,"name":673,"points":674,"category":19},"22374991","Kasaya",386,{"id":676,"name":677,"points":678,"category":19},"22416258","Helium",191,{"id":680,"name":681,"points":682,"category":683},"22385408","MDAnki",179,"learning_science",{"id":685,"name":686,"points":687,"category":19},"22425080","Opensource.builders",161,{"id":689,"name":690,"points":691,"category":19},"22415042","Shox",99,{"id":693,"name":694,"points":695,"category":696},"22389239","exchange",91,"finance_crypto",false,"v2",{"id":700,"name":5,"line":6,"ai":697,"cat":19,"year":12,"points":13,"comments":14,"rec":27,"s":701,"top":17,"kw":702,"maker":10,"domain":5,"tier":18,"attempts":36,"strip":703,"url":9,"mix":704,"praise":111,"objection":154,"sub":20},22396824,0.37,[23,24,25,26],"5031315555000035550553315453005535534500",[30,31,17,32],1794036586819]