[{"data":1,"prerenderedAt":610},["ShallowReactive",2],{"project-31123522":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":49,"what":50,"said":83,"maker_in_thread":185,"shape":192,"grid":196,"attempts":571,"same_week":572,"maker_shows":44,"maker_hidden":602,"reader_version":603,"card":604},"31123522","nosleep.page","Prevent your computer sleeping with just a webpage","title","Show HN: Prevent your computer sleeping with just a webpage","https:\u002F\u002Fnosleep.page\u002F","bradleyjkemp",1650643974,2022,252,130,189,2570,8,"legend","productivity","sleep prevention utility","web_app",[23,24,25,26],"prevent sleep","screen wake lock","keep awake","caffeine app","mixed",-0.258,{"positive":17,"neutral":30,"mixed":31,"critical":32},15,0,17,40,{"idea":35,"privacy":38,"execution":40,"design":41,"docs":42,"performance":43},{"positive":36,"critical":37},6,12,{"positive":39,"critical":39},1,{"positive":31,"critical":39},{"positive":39,"critical":39},{"positive":31,"critical":31},{"positive":31,"critical":44},2,[46,31,31,31,31,31,31,31,31,31,31,31,31,46,46,31,31,47,31,39,31,39,44,46,47,31,39,47,46,39,47,46,39,39,39,48,39,31,39,46],3,5,4,"There's often times I want to prevent a computer\u002Flaptop\u002FVM from sleeping and while, yes, there's various Caffeine\u002FAmphetamine apps they're often overkill.\n\nInstead, this small (12Kb) page does the job and only needs a web browser.\n\nIt's just a very simple usage of a web api normally used for things like video players: https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FAPI\u002FScreen_Wake_Lock_API",{"problem":51,"audience":57,"pricing":57,"motivation":58,"time_to_build":57,"stack":62,"openness":81,"stage":82,"team_size":81},{"value":52,"source":53,"evidence":54},"Stops a computer or VM from sleeping without heavy apps","maker",[55],{"id":56},"post",null,{"value":59,"source":53,"evidence":60},"Avoid overkill caffeine-style apps for preventing sleep",[61],{"id":56},[63,67,75],{"value":64,"source":53,"evidence":65},"Screen Wake Lock API",[66],{"id":56},{"value":68,"source":69,"evidence":70},"NoSleep.js fallback","commenter",[71],{"id":72,"by":73,"text":74},"31124079","pdxandi","Are we seeing different sites when you click on the link? Because that is literally all the landing page says. ``` This tiny site uses the Screen Wake Lock API to prevent your…",{"value":76,"source":53,"evidence":77},"Bulma CSS",[78],{"id":79,"by":10,"text":80},"31124472","Yup, that's my bad CSS I'm afraid. https:\u002F\u002Fbulma.io explicitly resets the color of \u003Ca> tags inside a hero, so I need to figure out how to stop\u002Foverride that","unknown","launched",{"praise":84,"objections":100,"requests":125,"questions":137,"alternatives":152},[85],{"value":86,"source":69,"evidence":87},"Simple and lightweight alternative to keep-awake apps",[88,92,96],{"id":89,"by":90,"text":91},"31127591","bogota","This is awesome my work computer has a stupid 5 minute setting until it sleeps that is locked.",{"id":93,"by":94,"text":95},"31126803","boo-ga-ga","Very cool, and looks slick!",{"id":97,"by":98,"text":99},"31127286","viggity","this is baller. I'd love an option that was like \"keep awake for [hours] [minutes]\"... or \"keep awake until [time]\" so that it could look like i was online until say 6:18pm",[101,108,118],{"value":102,"source":69,"evidence":103},"Runs an invisible video on browsers without Wake Lock support, costing CPU",[104],{"id":105,"by":106,"text":107},"31128169","serf","nosleep.js brings firefox from ~3% cpu usage to ~25-30% cpu usage. (it's playing an invisible video) that's a pretty steep cost to pay to simply keep a computer awake because the…",{"value":109,"source":69,"evidence":110},"Bypasses corporate auto-lock and security policies",[111,115],{"id":112,"by":113,"text":114},"31128564","robbedpeter","Yeah, let's make it harder for the people who have to clean up after security incidents. The automatic logout policies are there for a reason. Bypassing that means one day,…",{"id":116,"by":113,"text":117},"31128368","Deliberately bypassing that puts your employment at risk. There's a reason you're being forced to log in.",{"value":119,"source":69,"evidence":120},"Green background is distracting",[121],{"id":122,"by":123,"text":124},"31125793","taftster","So I like this and I'm trying it out, it seemingly works OK. However, the GREEN background is very annoying. I don't need the whole webpage to be green for me to know it's on and…",[126,133],{"value":127,"source":69,"evidence":128},"Document how it works and its limitations",[129],{"id":130,"by":131,"text":132},"31124006","justusthane","This looks cool! It would be nice if there was a little more info on the page about how it works and any potential limitations. For example, does the page have to remain in the…",{"value":134,"source":69,"evidence":135},"Timed keep-awake option",[136],{"id":97,"by":98,"text":99},[138,145],{"value":139,"source":69,"evidence":140},"Does it need the page in the foreground?",[141,142],{"id":130,"by":131,"text":132},{"id":143,"by":10,"text":144},"31124582","Oh, 100% I need some more docs on the page: it's definitely not foolproof. From my testing, it works even if the window is in the background somewhere but generally it stops…",{"value":146,"source":69,"evidence":147},"Does it ask permission before keeping the computer awake?",[148],{"id":149,"by":150,"text":151},"31128213","hoistbypetard","Can this web page keep my computer awake without me explicitly giving it permission? I don't really like that, and would like to tell my browser not to allow it.",[153,160,171,178],{"value":154,"source":69,"evidence":155},"caffeinate (macOS)",[156],{"id":157,"by":158,"text":159},"31124682","velcrovan","On macOS just run `caffeinate` from the terminal (or `man caffeinate` for more info on the options). I know OP copped to “various Caffeine\u002FAmphetamine apps” but said they're…",{"value":161,"source":69,"evidence":162},"Amphetamine and KeepingYouAwake",[163,167],{"id":164,"by":165,"text":166},"31128083","vulcan01","Amphetamine[0] works pretty well for me. They also have an extension (a kext, I think) that gives it more reliability. I don't know how reliable it is without that extension…",{"id":168,"by":169,"text":170},"31128691","adamomada","I've been using the more bare-bones KeepingYouAwake[0] just because I came across Caffeine first and this was suggested as the continuation of that simple utility. The icon makes…",{"value":172,"source":69,"evidence":173},"Keep Awake Chrome extension",[174],{"id":175,"by":176,"text":177},"31127099","mrep","Why not just use keep awake? https:\u002F\u002Fchrome.google.com\u002Fwebstore\u002Fdetail\u002Fkeep-awake\u002Fbijihlabcfdnabacffofojgmehjdielb?hl=en",{"value":179,"source":69,"evidence":180},"PowerToys Awake",[181],{"id":182,"by":183,"text":184},"31129432","gsoto","PowerToys[0] has a utility for that. It stays in the corner of the taskbar. [0] https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FPowerToys",{"comments":46,"answered":39,"key":186},[187,188,189],{"id":143,"text":144},{"id":79,"text":80},{"id":190,"text":191},"31125306","Ah neat, yeah that's exactly what I need, thanks!",{"commenters":193,"max_depth":36,"maker_replies":46,"first_comment_mins":194,"lifespan_hours":195},104,26,102,[197,201,204,208,211,213,217,220,223,226,229,232,234,237,240,243,246,248,251,254,257,259,262,265,268,271,274,275,276,279,282,285,287,290,293,296,299,300,303,306,309,312,315,317,320,322,326,330,333,336,337,340,343,346,349,351,353,357,360,363,366,368,371,375,378,381,384,386,388,390,393,397,400,404,408,412,414,417,420,422,424,425,428,431,433,437,440,443,446,449,453,455,457,460,462,464,468,469,471,474,477,479,482,485,489,492,496,500,503,505,508,510,512,516,518,520,523,526,528,530,534,536,539,543,546,551,556,559,563,567],[198,31,46,199,200,31],"31126865","project\u002Fneutral\u002Fidea","singlow",[202,31,46,199,203,31],"31127125","rsoto",[205,31,31,206,207,31],"31127259","other\u002Fneutral\u002Fnone","monkeybutton",[209,31,31,206,210,31],"31130495","shbooms",[212,31,31,206,207,31],"31131132",[214,31,31,215,216,31],"31131617","commenter\u002Fneutral\u002Fnone","mike_hock",[218,31,31,215,219,31],"31131805","sameerds",[221,31,31,215,222,31],"31135815","em3rgent0rdr",[224,31,31,215,225,31],"31133998","lupire",[227,31,31,206,228,31],"31127737","Firmwarrior",[230,31,31,206,231,31],"31129709","ksherlock",[233,31,31,206,225,31],"31134002",[235,31,31,206,236,31],"31131584","Too",[238,31,31,206,239,31],"31128046","zinekeller",[241,31,31,206,242,31],"31131291","SV_BubbleTime",[244,31,31,206,245,31],"31129153","bryans",[247,31,31,206,216,31],"31131611",[249,31,31,206,250,31],"31131629","heyoni",[252,31,31,206,253,31],"31131762","codetrotter",[255,31,31,206,256,31],"31132094","iforgotpassword",[105,39,31,258,106,31],"other\u002Fneutral\u002Fperformance",[260,39,31,215,261,31],"31128499","yyahh",[263,39,31,215,264,31],"31129143","pessimizer",[266,44,31,206,267,31],"31126793","Hamcha",[269,46,31,206,270,31],"31127819","eigenvalue",[272,46,31,206,273,31],"31128009","StrangeSound",[164,46,31,206,165,31],[168,46,31,206,169,31],[277,46,31,206,278,31],"31131220","windexh8er",[280,46,31,215,281,31],"31146977","ecf",[283,46,31,215,284,31],"31147305","freediver",[286,46,31,215,169,31],"31173724",[288,46,31,206,289,31],"31128570","huseyinkeles",[291,46,31,206,292,31],"31129123","keyle",[294,46,31,206,295,31],"31128706","Destiner",[297,46,31,206,298,31],"31129309","simonjgreen",[182,46,31,206,183,31],[301,46,31,206,302,31],"31130654","hnburnsy",[304,46,31,206,305,31],"31130061","evandale",[307,46,31,206,308,31],"31129452","jedberg",[310,46,31,206,311,31],"31130856","buzzert",[313,46,31,206,314,31],"31130962","anamexis",[316,46,31,206,225,31],"31134019",[318,46,31,206,319,31],"31137615","bobbylarrybobby",[149,48,46,321,150,31],"project\u002Fneutral\u002Fprivacy",[323,48,47,324,325,31],"31130544","project\u002Fpositive\u002Fprivacy","323",[327,47,39,328,329,31],"31130084","project\u002Fcritical\u002Fidea","WalterBright",[331,47,31,215,332,31],"31130812","motohagiography",[334,47,31,206,335,31],"31131417","labrador",[157,36,31,206,158,31],[338,36,31,206,339,31],"31124873","reidjs",[341,36,31,206,342,31],"31125212","tomstuart",[344,36,31,206,345,31],"31126098","jen729w",[347,36,31,206,348,31],"31126784","Tao331",[350,36,31,206,308,31],"31129474",[352,36,31,206,348,31],"31130288",[354,36,47,355,356,31],"31125705","project\u002Fpositive\u002Fidea","SteveDR",[358,36,31,206,359,31],"31127097","latexr",[361,36,31,206,362,31],"31127447","lambdaba",[364,36,31,206,365,31],"31127988","bajsejohannes",[367,36,31,215,362,31],"31162043",[369,36,31,206,370,31],"31128235","jcynix",[372,373,39,328,374,31],"31126622",7,"ognarb",[376,373,31,215,377,31],"31126927","mxuribe",[379,373,31,215,380,31],"31130281","seba_dos1",[382,373,31,215,383,31],"31131488","sundarurfriend",[385,373,31,215,380,31],"31131696",[387,373,31,215,383,31],"31131729",[389,373,31,215,377,31],"31133973",[391,373,39,328,392,31],"31127223","meibo",[394,17,39,395,396,31],"31128159","project\u002Fcritical\u002Fexecution","Minor49er",[122,398,39,399,123,31],9,"project\u002Fcritical\u002Fdesign",[401,398,46,402,403,31],"31127589","project\u002Fneutral\u002Fdesign","JadeNB",[405,398,46,406,407,31],"31129286","project\u002Fneutral\u002Fexecution","throwanem",[409,398,31,410,411,31],"31127676","commenter\u002Fneutral\u002Fdesign","ghotli",[413,398,31,215,123,31],"31139283",[415,398,46,402,416,31],"31131232","toastal",[130,418,46,419,131,31],10,"project\u002Fneutral\u002Fdocs",[143,418,31,421,10,39],"maker\u002Fneutral\u002Fdocs",[89,423,47,355,90,31],11,[116,423,31,215,113,31],[426,423,31,215,427,31],"31128819","TobyTheDog123",[429,423,31,215,430,31],"31130688","skykooler",[432,423,31,215,236,31],"31131637",[434,423,46,435,436,31],"31128394","project\u002Fneutral\u002Fnone","oneweekwonder",[438,423,39,328,439,31],"31129363","remram",[441,423,39,328,442,31],"31131432","ffhhj",[444,37,31,206,445,31],"31132724","hk__2",[447,37,47,355,448,31],"31132753","capableweb",[450,451,46,402,452,31],"31124358",13,"gabrielsroka",[79,451,31,454,10,39],"maker\u002Fneutral\u002Fdesign",[456,451,46,454,452,31],"31124635",[458,451,46,454,459,31],"31125038","pkage",[190,451,31,461,10,39],"maker\u002Fpositive\u002Fdesign",[463,451,39,328,236,31],"31131704",[465,466,46,199,467,31],"31124026",14,"karussell",[72,466,31,215,73,31],[470,466,31,215,467,31],"31124112",[472,466,47,355,473,31],"31124323","_trampeltier",[475,466,31,215,476,31],"31124331","spiderice",[478,466,31,215,467,31],"31124976",[480,466,31,215,481,31],"31126371","rzzzt",[483,30,46,199,484,31],"31128356","achairapart",[486,487,31,206,488,31],"31126059",16,"addsubtract",[490,32,39,328,491,31],"31127107","flakiness",[493,494,31,206,495,31],"31132510",18,"tnzk",[497,498,46,435,499,31],"31127105",19,"causality0",[501,498,31,206,502,31],"31129538","dend",[112,504,39,328,113,31],20,[506,504,31,215,507,31],"31128742","A4ET8a8uTh0",[509,504,31,215,348,31],"31130213",[511,504,39,328,113,31],"31130872",[513,514,39,328,515,31],"31128327",21,"devit",[97,517,47,355,98,31],22,[175,519,39,328,176,31],23,[521,519,31,215,522,31],"31127234","tailspin2019",[524,519,47,355,525,31],"31127524","40four",[527,519,31,215,176,31],"31128981",[529,519,31,215,525,31],"31134922",[531,532,39,328,533,31],"31124188",24,"alloai",[535,532,31,206,452,31],"31124398",[537,532,31,538,502,31],"31129543","other\u002Fpositive\u002Fnone",[540,541,31,206,542,31],"31129405",25,"Mikeb85",[544,194,31,206,545,31],"31130292","farzher",[547,548,39,549,550,31],"31135655",27,"project\u002Fcritical\u002Fperformance","emptysea",[552,553,39,554,555,31],"31129760",28,"project\u002Fcritical\u002Fprivacy","boxingrock",[93,557,47,558,94,31],29,"project\u002Fpositive\u002Fdesign",[560,561,31,206,562,31],"31128205",30,"catsarebetter",[564,565,39,549,566,31],"31127341",31,"dolmen",[568,565,46,569,570,31],"31127616","maker\u002Fneutral\u002Fexecution","GlitchMr",[],[573,578,583,587,592,597],{"id":574,"name":575,"points":576,"category":577},"31137324","This AI Does Not Exist",434,"ai",{"id":579,"name":580,"points":581,"category":582},"31185121","Pushy",329,"creative",{"id":584,"name":585,"points":586,"category":19},"31154567","Lists.sh",271,{"id":588,"name":589,"points":590,"category":591},"31170280","Caddy",269,"infrastructure",{"id":593,"name":594,"points":595,"category":596},"31160302","Sqwok",218,"consumer_social",{"id":598,"name":599,"points":600,"category":601},"31163077","Beacon",203,"dev_tools",false,"v2",{"id":605,"name":5,"line":6,"ai":602,"cat":19,"year":12,"points":13,"comments":14,"rec":27,"s":606,"top":17,"kw":607,"maker":10,"domain":5,"tier":18,"attempts":31,"strip":608,"url":9,"mix":609,"praise":86,"objection":102,"sub":20},31123522,-0.26,[23,24,25,26],"3000000000000330050101235015315311141013",[17,30,31,32],1794036619445]