[{"data":1,"prerenderedAt":352},["ShallowReactive",2],{"project-35119681":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":34,"aspects":35,"strip":41,"post_text":43,"what":44,"said":75,"maker_in_thread":206,"shape":211,"grid":216,"attempts":305,"same_week":313,"maker_shows":37,"maker_hidden":343,"reader_version":344,"card":345},"35119681","Terminal Based Wikipedia","The images were generated by carbon and it's auto syntax selection must have defined the whole thing to be shell code.","maker","Show HN: Terminal Based Wikipedia","https:\u002F\u002Fgithub.com\u002Fyashsinghcodes\u002Fwik","github.com","0xfafafa",1678626828,2023,165,39,369,3109,12,"notable","productivity","terminal reference reader","cli",[24,25,26,27],"wikipedia","terminal","command line","wikipedia cli","curious",0.061,{"positive":31,"neutral":32,"mixed":33,"critical":33},4,16,3,26,{"design":36,"idea":39,"execution":40},{"positive":37,"critical":38},1,0,{"positive":37,"critical":38},{"positive":38,"critical":33},[33,33,38,42,33,33,38,33,38,33,38,33,38,38,38,38,33,33,37,37,33,42,33,38,38,37,33,38,33,33,33,33,42,33,33,33,42],5,null,{"problem":45,"audience":43,"pricing":43,"motivation":51,"time_to_build":43,"stack":55,"openness":73,"stage":74,"team_size":74},{"value":46,"source":7,"evidence":47},"Quick reading of Wikipedia introductions without opening a browser.",[48],{"id":49,"by":11,"text":50},"35121273","I have never used Lynx personally, but just going through the description of it i would say that wik also provide quick introduction lookup to a desired topic. Initially i made…",{"value":52,"source":7,"evidence":53},"Built as a personal tool for quick topic introductions without using a browser.",[54],{"id":49,"by":11,"text":50},[56,68],{"value":57,"source":58,"evidence":59},"Python","inferred",[60,64],{"id":61,"by":62,"text":63},"35121467","nic-waller","It appears to be scraping HTML pages. https:\u002F\u002Fgithub.com\u002Fyashsinghcodes\u002Fwik\u002Fblob\u002Fmain\u002Fwik\u002Finfo.py#L50",{"id":65,"by":66,"text":67},"35127195","snvzz",">beautifulsoup Really? Seriously? No better way to query the source of a page and render it on the terminal?",{"value":69,"source":70,"evidence":71},"BeautifulSoup","commenter",[72],{"id":65,"by":66,"text":67},"open_source","unknown",{"praise":76,"objections":95,"requests":123,"questions":159,"alternatives":186},[77,88],{"value":78,"source":70,"evidence":79},"Execution and terminal design look nice.",[80,84],{"id":81,"by":82,"text":83},"35120716","lexhart","The execution is really nice! But,there are already browsers and web guidelines to make this possible without specific single purpose apps. Why would I use this over for example,…",{"id":85,"by":86,"text":87},"35120338","bitigchi","Needs a pager, otherwise looks great!",{"value":89,"source":70,"evidence":90},"Useful for piping output to other tools such as LLM summarizers.",[91],{"id":92,"by":93,"text":94},"35122056","ukuina","This is neat! Very useful to be able to pipe stdout to other tools like command-line summarization via LLMs.",[96,104,112,119],{"value":97,"source":70,"evidence":98},"Why use this over existing tools like Lynx, w3m or browser aliases.",[99,100],{"id":81,"by":82,"text":83},{"id":101,"by":102,"text":103},"35123288","capitainenemo","I was kinda wondering that myself. There's so many terminal based apps to keep track of, I've gotten into the habit of trying to know a core set fairly well (like…",{"value":105,"source":70,"evidence":106},"Needs a pager; custom pager should be avoided in favor of $PAGER.",[107,108],{"id":85,"by":86,"text":87},{"id":109,"by":110,"text":111},"35120792","johannes1234321","But please don't build a custom pager, but use $PAGER (unless this is supposed to turn into a full browser ...) so it works as expected (key bindings etc )",{"value":113,"source":70,"evidence":114},"Uses ANSI codes without checking terminal capabilities.",[115],{"id":116,"by":117,"text":118},"35123631","wkat4242","Indeed and it would be so much better to use termcap (eg through ncurses) instead of blasting ANSI codes without checking :) some of us still use terminals",{"value":120,"source":70,"evidence":121},"Scraping HTML with BeautifulSoup seems a poor choice.",[122],{"id":65,"by":66,"text":67},[124,135,142,149],{"value":125,"source":70,"evidence":126},"Section navigation and fetching specific data such as infobox values.",[127,131],{"id":128,"by":129,"text":130},"35124921","xigency","Is there any plan for navigating sections or fetching specific data from the article? For example, a command to print Demographics or Population Density for a specific country.",{"id":132,"by":133,"text":134},"35123297","fantasticfears","Is there an infobox display?",{"value":136,"source":70,"evidence":137},"Revision history access.",[138],{"id":139,"by":140,"text":141},"35120526","photochemsyn","Looks good. Access to the revision history for each page would be a nice feature that might work well in the terminal.",{"value":143,"source":70,"evidence":144},"Windows Terminal support.",[145],{"id":146,"by":147,"text":148},"35125750","qwerty456127","Does this work on all major platforms including Windows Terminal?",{"value":150,"source":70,"evidence":151},"Fix syntax highlighting applied to article text in screenshots.",[152,156],{"id":153,"by":154,"text":155},"35120485","supriyo-biswas","Why do the screenshots show some sort of syntax highlighting applied to the article text?",{"id":157,"by":11,"text":158},"35121333","The images were generated by carbon and it's auto syntax selection must have defined the whole thing to be shell code. I'll fix it in next commit. Thanks pointing it out.",[160,167,174,178],{"value":161,"source":70,"evidence":162},"Difference between -i and -s flags.",[163],{"id":164,"by":165,"text":166},"35123242","fishywang","Looks nice but a few things are a bit confusing: 1. I'm not sure what's the difference between -i and -s, they seem to work the same for a few examples I tried 2. It renders…",{"value":168,"source":70,"evidence":169},"Whether footnoted references are shown.",[170],{"id":171,"by":172,"text":173},"35132940","chris_wot","Does it show footnoted references?",{"value":175,"source":70,"evidence":176},"Whether it works on Windows and other platforms.",[177],{"id":146,"by":147,"text":148},{"value":179,"source":70,"evidence":180},"Whether it scrapes HTML or uses the API.",[181,185],{"id":182,"by":183,"text":184},"35120765","davidgerard","cool! Is this scraping the HTML pages, or fetching the wikitext through the API and rendering it?",{"id":61,"by":62,"text":63},[187,199],{"value":188,"source":70,"evidence":189},"Lynx, w3m and elinks with Wikipedia URLs or shell aliases.",[190,194,198],{"id":191,"by":192,"text":193},"35120778","justsomehnguy","``` cat \u002Fbin\u002Fwik #!\u002Fbin\u002Fsh lynx https:\u002F\u002Fen.wikipedia.org\u002Fw\u002Findex.php?search=$1 ```",{"id":195,"by":196,"text":197},"35124193","neilv","Also `elinks` and `w3m`. The mobile site, https:\u002F\u002Fen.m.wikipedia.org\u002F , looks a little better in them.",{"id":101,"by":102,"text":103},{"value":200,"source":70,"evidence":201},"emacs-w3m and eww in Emacs.",[202],{"id":203,"by":204,"text":205},"35121654","pmoriarty","In Emacs this can be done with emacs-w3m or eww.",{"comments":207,"answered":207,"key":208},2,[209,210],{"id":157,"text":158},{"id":49,"text":50},{"commenters":212,"max_depth":213,"maker_replies":207,"first_comment_mins":214,"lifespan_hours":215},32,6,48,23,[217,219,222,224,228,230,232,236,238,240,241,244,247,250,254,256,258,261,263,265,266,268,272,274,277,280,282,285,287,289,290,292,294,296,298,300,302],[153,38,33,218,154,38],"project\u002Fneutral\u002Fdesign",[220,38,33,218,221,38],"35120991","super256",[157,38,38,223,11,37],"maker\u002Fneutral\u002Fdesign",[225,38,42,226,227,38],"35132074","project\u002Fpositive\u002Fdesign","anigbrowl",[191,37,33,229,192,38],"project\u002Fneutral\u002Fidea",[195,37,33,231,196,38],"project\u002Fneutral\u002Fexecution",[233,37,38,234,235,38],"35126906","commenter\u002Fneutral\u002Fidea","dbtc",[81,207,33,237,82,38],"project\u002Fmixed\u002Fidea",[49,207,38,239,11,37],"maker\u002Fneutral\u002Fidea",[101,207,33,229,102,38],[242,207,38,243,102,38],"35123566","other\u002Fneutral\u002Fnone",[245,207,33,229,246,38],"35124197","SoftTalker",[248,207,38,243,249,38],"35127411","Bayes7",[251,207,38,252,253,38],"35127639","commenter\u002Fneutral\u002Fnone","prmoustache",[255,207,38,252,102,38],"35128114",[257,207,38,252,249,38],"35134436",[259,33,33,229,260,38],"35123526","bawolff",[85,31,33,262,86,38],"project\u002Fmixed\u002Fexecution",[109,31,37,264,110,38],"project\u002Fcritical\u002Fexecution",[116,31,37,264,117,38],[164,42,33,267,165,38],"project\u002Fmixed\u002Fdesign",[269,213,42,270,271,38],"35120123","maker\u002Fpositive\u002Fnone","JaDogg",[203,273,33,229,204,38],7,[275,273,38,243,276,38],"35125335","nvr219",[278,273,38,243,279,38],"35125366","monista",[65,281,37,264,66,38],8,[283,281,33,231,284,38],"35127578","rjh29",[286,281,38,243,66,38],"35130142",[182,288,33,231,183,38],9,[61,288,33,231,62,38],[128,291,33,229,129,38],10,[139,293,33,229,140,38],11,[92,18,42,295,93,38],"project\u002Fpositive\u002Fidea",[146,297,33,231,147,38],13,[171,299,33,231,172,38],14,[132,301,33,218,133,38],15,[303,32,42,270,304,38],"35124792","neverrroot",[306,309,310],{"id":307,"t":308,"points":31,"comments":38},"30480543",1645901698,{"id":4,"t":12,"points":14,"comments":15},{"id":311,"t":312,"points":33,"comments":38},"46711307",1769028363,[314,319,324,329,333,338],{"id":315,"name":316,"points":317,"category":318},"35150345","Modern Font Stacks",335,"dev_tools",{"id":320,"name":321,"points":322,"category":323},"35090054","lunar-lander-autopilot",277,"games",{"id":325,"name":326,"points":327,"category":328},"35161916","whatdoesthiscodedo.com",186,"ai",{"id":330,"name":331,"points":332,"category":318},"35084108","APIRank.dev",176,{"id":334,"name":335,"points":336,"category":337},"35166874","MCIWB",171,"languages",{"id":339,"name":340,"points":341,"category":342},"35143052","Counter",169,"data",false,"v2",{"id":346,"name":5,"line":347,"ai":343,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":348,"top":18,"kw":349,"maker":11,"domain":10,"tier":19,"attempts":33,"strip":350,"url":9,"mix":351,"praise":78,"objection":97,"sub":21},35119681,"The images were generated by carbon and it's auto syntax selection must have defined the whole thing to be…",0.06,[24,25,26,27],"3305330303030000331135300130333353335",[31,32,33,33],1793991061890]