[{"data":1,"prerenderedAt":354},["ShallowReactive",2],{"project-46276002":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":35,"aspects":36,"strip":44,"post_text":46,"what":47,"said":82,"maker_in_thread":200,"shape":213,"grid":217,"attempts":315,"same_week":316,"maker_shows":38,"maker_hidden":346,"reader_version":347,"card":348},"46276002","Sqlit","A lazygit-style TUI for SQL databases","title","Show HN: Sqlit – A lazygit-style TUI for SQL databases","https:\u002F\u002Fgithub.com\u002FMaxteabag\u002Fsqlit","github.com","MaxTeabag",1765813634,2025,190,42,351,3837,10,"notable","dev_tools","database client tui","cli",[24,25,26,27,28],"sql tui","database client","terminal sql","postgresql","sqlite","loved",0.307,{"positive":32,"neutral":18,"mixed":33,"critical":34},11,3,2,26,{"privacy":37,"design":40,"docs":41,"execution":42,"idea":43},{"positive":38,"critical":39},1,0,{"positive":34,"critical":39},{"positive":39,"critical":39},{"positive":38,"critical":34},{"positive":38,"critical":39},[39,33,45,39,33,39,45,45,39,33,33,33,39,38,39,39,45,39,39,39,33,39,33,39,45,38,33,45,39,33,45,33,39,45,39,33,33,33,45,45],5,"I work mostly in the terminal but found myself constantly switching to bloated GUIs like SSMS only for the simple task of browsing tables and run queries. And I didn't find Existing SQL TUIs intuitive, having to read documentation to learn keybindings and CLI flags to connect. Given I had recently switched to linux, I found myself using vs code's sql database extension. Something was awfully wrong.\n\nI wanted something like lazygit for databases – run it, connect, and query and frankly just make it enjoyable to access data.\n\n\n```\n  Sqlit is a keyboard-driven SQL TUI with:    - Context-based key",{"problem":48,"audience":54,"pricing":63,"motivation":64,"time_to_build":63,"stack":68,"openness":79,"stage":80,"team_size":81},{"value":49,"source":50,"evidence":51},"Existing SQL tools are bloated GUIs or hard TUIs needing docs to learn keybindings and connection flags","maker",[52],{"id":53},"post",{"value":55,"source":56,"evidence":57},"developers and admins who work in the terminal","inferred",[58,59],{"id":53},{"id":60,"by":61,"text":62},"46294604","baq","Admins don’t ever close the tool, it’s always open on some RDP. Devs have different usage patterns. SSMS is super duper nice if you’re an admin or a power SQL server user\u002Fdev.…",null,{"value":65,"source":50,"evidence":66},"Wanted a lazygit-style way to browse tables and run queries without GUIs or documentation",[67],{"id":53},[69],{"value":70,"source":56,"evidence":71},"Python",[72,76],{"id":73,"by":74,"text":75},"46296692","lgas","I was surprised to find that I could not run it with uvx: ``` % uvx sqlit Built unicodecsv==0.14.1 Built sqlit==0.1.6 Installed 2 packages in 1ms Traceback (most recent call…",{"id":77,"by":74,"text":78},"46299685","You need to install psycopg2, or perhaps more likely psycopg2-binary to access postgres databases. After hiichbindermax and mrbump helped me out upthread, I was able to get it…","open_source","launched","unknown",{"praise":83,"objections":107,"requests":123,"questions":149,"alternatives":164},[84,96],{"value":85,"source":86,"evidence":87},"Intuitive and easy to use without reading docs","commenter",[88,92],{"id":89,"by":90,"text":91},"46333342","mxgrn","Love how easy and intuitive it is to use it! Keep it up, what a great project!",{"id":93,"by":94,"text":95},"46302400","tracker1","Definitely cool to see... Lost of new TUI applications, but seems to be more than a handful of DB UIs at this point. Was half surprised it wasn't another Rust+Ratatui…",{"value":97,"source":86,"evidence":98},"Clean UI that uses space efficiently",[99,103],{"id":100,"by":101,"text":102},"46297361","tanin","I've built a similar app but for desktop GUI. The UI is very similar to this app because I like TUI style UI due to the efficient use of UI space. It focuses more on editing and…",{"id":104,"by":105,"text":106},"46283639","alsetmusic","Very attractive design.",[108,116],{"value":109,"source":86,"evidence":110},"Connection failed without psycopg2; installation of database drivers is unclear",[111,115],{"id":112,"by":113,"text":114},"46298510","waterTanuki","Tried it out on a local test postgres db. First error: \"Connection failed, no module named 'psycopg2'\"",{"id":77,"by":74,"text":78},{"value":117,"source":86,"evidence":118},"Menu items hidden behind space mode and help text is incomplete",[119],{"id":120,"by":121,"text":122},"46284349","no_news_is","Very nice, works well. It seems you put some menu items behind what I'll call \"[space] mode,\" where you you have to press the spacebar first to open the command menu, then use…",[124,131,142],{"value":125,"source":86,"evidence":126},"Vim-style navigation keys",[127],{"id":128,"by":129,"text":130},"46301072","vinshoo","Looks great! It seems that sqlit still relies on arrow keys for getting around. Would it be possible to add options for more vim style on these places? - Browse explorer tree…",{"value":132,"source":86,"evidence":133},"In-memory or non-stored credentials",[134,138],{"id":135,"by":136,"text":137},"46295685","caminanteblanco","This looks awesome! Is there a way to log in some way that doesn't leave your credentials saved in a text file or your bash history? I would use this at work, but I think my…",{"id":139,"by":140,"text":141},"46300558","nodesocket","Agree, the ability to define an in-memory only connection seems super useful.",{"value":143,"source":86,"evidence":144},"Temporary CLI connections to a database file",[145],{"id":146,"by":147,"text":148},"46299535","mrbump","Congrats, looks fantastic! I have been looking for something like that. Maybe I have missed it, but one feature I would really love is support for temporary connections - e.g.…",[150,157],{"value":151,"source":86,"evidence":152},"How does it differ from Harlequin?",[153],{"id":154,"by":155,"text":156},"46296205","oulipo2","What would be the main differences with Harlequin?",{"value":158,"source":86,"evidence":159},"Does it support remote D1?",[160],{"id":161,"by":162,"text":163},"46283701","slimebot80","This looks lovely.... does it support remote D1?",[165,173,181,192],{"value":166,"source":86,"evidence":167},"Harlequin",[168,169],{"id":154,"by":155,"text":156},{"id":170,"by":171,"text":172},"46299611","jbstack","I've recently been trying to find a good SQL TUI client, and one of the ones I tried was Harlequin. The main disadvantage, which every other SQL TUI I tried also suffers from, is…",{"value":174,"source":86,"evidence":175},"lazysql",[176,180],{"id":177,"by":178,"text":179},"46299354","NSPG911","I asked the same thing on Discord where he also showcased it. He answered the question with this. > I wanted to make something that makes intuitive sense to me, and I wanted to…",{"id":128,"by":129,"text":130},{"value":182,"source":86,"evidence":183},"rainfrog",[184,188],{"id":185,"by":186,"text":187},"46294125","yoavm","Looks great, congrats! Also check out https:\u002F\u002Fgithub.com\u002Fachristmascarl\u002Frainfrog which seems to have similar goals, though is Postgres only.",{"id":189,"by":190,"text":191},"46295393","kej","It looks like rainfrog has branched out from just postgres, but still doesn't cover the range that sqlit does.",{"value":193,"source":86,"evidence":194},"SSMS",[195,199],{"id":196,"by":197,"text":198},"46294420","debarshri","One of the feedback i have heard from people using SSMS is that it has all the admin operations available in the UI as compared to doing it yourself. Lot of admins i deal with…",{"id":60,"by":61,"text":62},{"comments":201,"answered":202,"key":203},8,4,[204,207,210],{"id":205,"text":206},"46304479","That's a really good point. I am going to implement the option to leave the password blank, so you'll get prompted for a password on connection every time, so nothing will get…",{"id":208,"text":209},"46304498","Thanks! Those are really good suggestions, the next release is going to have more vim keys :)",{"id":211,"text":212},"46304556","Great UX feedback, that's going to be sorted out in the next release. Also the pipx comment made me decide to put much more thought into how sqlit helps with package installation…",{"commenters":214,"max_depth":45,"maker_replies":201,"first_comment_mins":215,"lifespan_hours":216},28,589,118,[218,220,222,224,226,228,230,232,233,235,236,240,242,244,247,251,254,257,259,260,262,264,266,268,271,273,275,276,277,281,283,285,287,289,291,293,295,299,302,305,307,311],[100,39,39,219,101,39],"other\u002Fpositive\u002Fdesign",[135,38,33,221,136,39],"project\u002Fneutral\u002Fprivacy",[139,38,45,223,140,39],"project\u002Fpositive\u002Fprivacy",[205,38,39,225,11,38],"maker\u002Fneutral\u002Fprivacy",[128,34,33,227,129,39],"project\u002Fmixed\u002Fdesign",[208,34,39,229,11,38],"maker\u002Fneutral\u002Fnone",[185,33,45,231,186,39],"project\u002Fpositive\u002Fnone",[189,33,45,231,190,39],[93,202,39,234,94,39],"other\u002Fneutral\u002Fnone",[120,45,33,227,121,39],[237,45,33,238,239,39],"46294750","project\u002Fneutral\u002Fdocs","zahlman",[241,45,33,238,155,39],"46299920",[211,45,39,243,11,38],"maker\u002Fneutral\u002Fdocs",[73,245,38,246,74,39],6,"project\u002Fcritical\u002Fexecution",[248,245,39,249,250,39],"46297209","commenter\u002Fneutral\u002Fnone","hiichbindermax",[252,245,39,253,147,39],"46299277","commenter\u002Fneutral\u002Fdocs",[255,245,45,256,74,39],"46299639","project\u002Fpositive\u002Fexecution",[196,258,39,234,197,39],7,[60,258,39,234,61,39],[261,258,39,234,197,39],"46295351",[263,258,39,234,94,39],"46302529",[146,201,33,265,147,39],"project\u002Fneutral\u002Fidea",[267,201,39,229,11,38],"46304516",[161,269,33,270,162,39],9,"project\u002Fneutral\u002Fnone",[272,269,39,229,11,38],"46304711",[89,18,45,274,90,39],"project\u002Fpositive\u002Fdesign",[112,32,38,246,113,39],[77,32,33,238,74,39],[278,279,45,231,280,39],"46300142",12,"ruicraveiro",[282,279,39,229,11,38],"46304705",[154,284,33,265,155,39],13,[177,284,45,286,178,39],"project\u002Fpositive\u002Fidea",[170,284,33,288,171,39],"project\u002Fmixed\u002Fidea",[290,284,39,229,11,38],"46304759",[292,284,45,231,171,39],"46310836",[294,284,39,229,11,38],"46335978",[296,297,33,238,298,39],"46295761",14,"le-mark",[300,297,33,238,301,39],"46297735","ursula_gren",[303,297,33,238,304,39],"46300871","talideon",[104,306,45,274,105,39],15,[308,309,45,231,310,39],"46296052",16,"onemoresoop",[312,313,45,231,314,39],"46296974",17,"bpiroman",[],[317,322,327,331,336,341],{"id":318,"name":319,"points":320,"category":321},"46290349","Picknplace.js",455,"languages",{"id":323,"name":324,"points":325,"category":326},"46294144","fuzzycanary",373,"security_privacy",{"id":328,"name":329,"points":330,"category":20},"46234734","bidicalc",252,{"id":332,"name":333,"points":334,"category":335},"46234186","Sim",240,"ai",{"id":337,"name":338,"points":339,"category":340},"46249538","uvm32",196,"infrastructure",{"id":342,"name":343,"points":344,"category":345},"46264657","UDP-7777",104,"productivity",false,"v2",{"id":349,"name":5,"line":6,"ai":346,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":350,"top":18,"kw":351,"maker":11,"domain":10,"tier":19,"attempts":39,"strip":352,"url":9,"mix":353,"praise":85,"objection":109,"sub":21},46276002,0.31,[24,25,26,27,28],"0350305503330100500030305135035305033355",[32,18,33,34],1793991136499]