[{"data":1,"prerenderedAt":194},["ShallowReactive",2],{"project-39914929":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":29,"sentiment":30,"stance_mix":31,"scored_comments":36,"aspects":37,"strip":41,"post_text":43,"what":44,"said":62,"maker_in_thread":112,"shape":123,"grid":127,"attempts":150,"same_week":155,"maker_shows":185,"maker_hidden":186,"reader_version":187,"card":188},"39914929","Fancy-ANSI","Small JavaScript library for converting ANSI to HTML","title","Show HN: Fancy-ANSI – Small JavaScript library for converting ANSI to HTML","https:\u002F\u002Fgithub.com\u002Fkubetail-org\u002Ffancy-ansi","github.com","andres",1712133998,2024,16,11,2092,3515,60,"shown","languages","javascript library","library",[24,25,26,27,28],"ansi to html","javascript","ansi escape codes","terminal colors","sgr","curious",-0.067,{"positive":32,"neutral":33,"mixed":34,"critical":35},1,3,0,2,6,{"performance":38,"docs":39,"execution":40},{"positive":32,"critical":34},{"positive":34,"critical":34},{"positive":34,"critical":35},[42,34,33,33,33,32,34,34,32,34,34],5,"I made this tool to add support for custom ANSI palettes to kubetail (https:\u002F\u002Fgithub.com\u002Fkubetail-org\u002Fkubetail). Maybe you'll find it useful too.\n\nLet me know if you have any suggestions!",{"problem":45,"audience":51,"pricing":51,"motivation":52,"time_to_build":51,"stack":56,"openness":61,"stage":61,"team_size":61},{"value":46,"source":47,"evidence":48},"Converting ANSI terminal text to HTML with custom palettes","maker",[49],{"id":50},"post",null,{"value":53,"source":47,"evidence":54},"Add custom ANSI palette support to the kubetail project",[55],{"id":50},[57],{"value":58,"source":47,"evidence":59},"JavaScript",[60],{"id":50},"unknown",{"praise":63,"objections":72,"requests":94,"questions":99,"alternatives":104},[64],{"value":65,"source":66,"evidence":67},"Useful for browser-based ANSI display, e.g. a MUD client","commenter",[68],{"id":69,"by":70,"text":71},"39945697","giraffe_lady","Ah this is awesome. I've been working on a browser based mud client and none of the existing options handled everything I needed. I'll be switching to this immediately, it seems…",[73,80,87],{"value":74,"source":66,"evidence":75},"Blink support missing",[76],{"id":77,"by":78,"text":79},"39947446","kevin_thibedeau","A travesty it's missing blink support.",{"value":81,"source":66,"evidence":82},"Empty SGR sequence not handled as reset (bug, fixed in v0.1.1)",[83],{"id":84,"by":85,"text":86},"39945409","chrismorgan","Simple bug report: an empty SGR (CSI m, [m) doesn’t do anything, but should be equivalent to 0, reset all.",{"value":88,"source":66,"evidence":89},"Unclear which ANSI control codes beyond SGR are implemented",[90],{"id":91,"by":92,"text":93},"39945434","blueflow","It is unclear to what extent the ANSI control codes are implemented. The README mentions SGR and the 24-bit color extensions in the nonstandard semicolon syntax. What about…",[95],{"value":96,"source":66,"evidence":97},"Add blink support",[98],{"id":77,"by":78,"text":79},[100],{"value":101,"source":66,"evidence":102},"Which ANSI reference standard was used and what is supported beyond SGR",[103],{"id":91,"by":92,"text":93},[105],{"value":106,"source":66,"evidence":107},"Rust crate anstyle-svg for generating SVGs from ANSI output",[108],{"id":109,"by":110,"text":111},"39945530","epage","Recently did something similar in Rust but for generating SVGs. We've adopted it for snapshot testing of cargo and rustc's output. Don't have a good PR handy for showing Github's…",{"comments":42,"answered":32,"key":113},[114,117,120],{"id":115,"text":116},"39945728","Awesome! Great to hear it's useful for your project. Let me know if you have any questions or run into any issues.",{"id":118,"text":119},"39947692","Created issue: https:\u002F\u002Fgithub.com\u002Fkubetail-org\u002Ffancy-ansi\u002Fissues\u002F2 Blink support would use CSS animations which requires a deeper level of integration than the other SGR…",{"id":121,"text":122},"39945643","The library is focused on text styling so it only implements ANSI SGR parameters. I used this as a reference: https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FANSI_escape_code The full list of…",{"commenters":36,"max_depth":124,"maker_replies":42,"first_comment_mins":125,"lifespan_hours":126},4,3452,75,[128,130,132,134,136,138,140,142,144,145,148],[69,34,42,129,70,34],"project\u002Fpositive\u002Fperformance",[115,34,34,131,11,32],"maker\u002Fpositive\u002Fnone",[109,32,33,133,110,34],"project\u002Fneutral\u002Fnone",[91,35,33,135,92,34],"project\u002Fneutral\u002Fdocs",[137,35,33,135,110,34],"39945562",[77,35,32,139,78,34],"project\u002Fcritical\u002Fexecution",[118,35,34,141,11,32],"maker\u002Fneutral\u002Fexecution",[121,35,34,143,11,32],"maker\u002Fneutral\u002Fdocs",[84,33,32,139,85,34],[146,33,34,147,11,32],"39945656","maker\u002Fpositive\u002Fexecution",[149,33,34,147,11,32],"39951884",[151,154],{"id":152,"t":153,"points":124,"comments":33},"39864621",1711723123,{"id":4,"t":12,"points":14,"comments":15},[156,161,166,171,175,180],{"id":157,"name":158,"points":159,"category":160},"39923404","LLocalSearch",669,"ai",{"id":162,"name":163,"points":164,"category":165},"39895960","form",389,"web_saas",{"id":167,"name":168,"points":169,"category":170},"39918500","Plandex",304,"dev_tools",{"id":172,"name":173,"points":174,"category":170},"39887313","Libmui",300,{"id":176,"name":177,"points":178,"category":179},"39903471","OneUptime",233,"infrastructure",{"id":181,"name":182,"points":183,"category":184},"39882873","Truncate",188,"games",7,false,"v2",{"id":189,"name":5,"line":6,"ai":186,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":190,"top":18,"kw":191,"maker":11,"domain":10,"tier":19,"attempts":35,"strip":192,"url":9,"mix":193,"praise":65,"objection":74,"sub":21},39914929,-0.07,[24,25,26,27,28],"50333100100",[32,33,34,35],1794036652311]