Tuesday, 20 December 2022

Show HN: High performance HTML5 parser for Ruby, a Nokogiri alternative https://bit.ly/3YCH2St

Show HN: High performance HTML5 parser for Ruby, a Nokogiri alternative https://bit.ly/3YEK2xG December 20, 2022 at 04:38AM

Monday, 19 December 2022

Show HN: A vichan variant that ChatGPT helped me host https://bit.ly/3FK3UqL

Show HN: A vichan variant that ChatGPT helped me host I recently set up a website hosting vichan [0] with nginx, and named it "h2ochan", inspired by the chaotic (yet moderated!) nature of imageboards like 4chan and 2chan. Plus, I love having a liter of water within arm's reach at all times. In the future, I have some plans for threading and posts that will further emphasize the "water" theme and encourage community engagement. In the past, I had tried setting up vichan a few times, but I was overwhelmed by the many technical tasks involved, such as using a remote terminal, working with MySQL databases, configuring nginx, setting file permissions and owners, and using Emacs (or trying to avoid clunky local file edits and FTP). However, I recently discovered chatGPT and have found it very helpful in assisting me with various technical issues. I began by asking for help setting up a public PHP forum, saying that I was a gamedev with some experience in Unity and C#, but not familiar with web development. chatGPT recommended that I look into ASP.NET [1] (which is similar to C#) and gave me some specific recommendations for webhosts and domain registrars. Based on these recommendations, I was able to get a Shared Windows Host [1] up and running, with my nginx [3] page visible after visiting the proper IP address. During the vichan installation process, there is a config-help screen that shows red and yellow lights, to show stuff like if vichan is missing permissions, the SQL database is misconfigured, etc. Initially, this screen showed about three errors and five warnings, mostly related to vichan's inability to read or write certain files. ChatGPT was very helpful in troubleshooting these issues, whether I copy-pasted error messages or described the problems in my own words. It helped me with tasks such as using `chmod`, `chroot`, and `grep`, as well as with fixing HTTP status codes such as 403 Forbidden, 404 Not Found, and 500 Internal Server Error [2]. ChatGPT also helped me locate log files and fix other issues, and eventually all of the warnings were resolved. Emacs was also very helpful during the setup, with chatGPT assisting with emacs commands (I have a double-sided Sheet of them somewhere...) Although I am still learning basic hotkeys, I am able to Save, Undo, and Quit with confidence, and I have almost memorized the Page Up/Down keys. I was initially drawn to Emacs because I saw a page about hotkeys for capitalizing, lowercasing, and uppercasing words years ago, but never sticking with it. Now using it more, my thoughts still being "My smartphone can't even Delete (forward) or Undo! Modifying whole WORDS like this is incredible!" Please go look at h2ochan, and Drink Water! [0] https://bit.ly/3PUKbcJ [1] I did have to switch from a Shared/managed ASP.NET to a Dedicated Linux Host, since remote SSH was not supported for Windows, only Linux [2] I forgot two of these error codes, so I asked chatGPT to remind me of ones I might have encountered during setup. chatGPT also revised my initial post (making sure chatGPT got a [] citation, no matter how confusing!) which I revised once more before posting. [3] Windows + nginx, huh? I may be mis-remembering this bit, but there was certainly a point of realizing "I need Admin access so I can edit Permissions..." or something, and that Windows without SSH was wholly insufficient for vichan [-] chatGPT was occasionally a bit outdated, which led to missing packages, non-existent paths, and imperfect configurations. However, it seemed happy to accept corrections, such as when I wanted to show line numbers in PHP files in Emacs, but my init.el file already had a setting to show line numbers for all programming languages, and I didn't have php-mode installed. Instead, I needed to use phps-mode. [-] The website favicon is a Koreisha mark, hue-shifted to the Blues. It's used in Japan to signify elderly drivers, and used Abroad by Car Enthusiasts. I love the Half-Teardrops in contrasting Bright and Subtle Blue. https://bit.ly/3PJo1d5 December 20, 2022 at 05:44AM

Show HN: Shell script for playing music from YT with a text queue file and mpv https://bit.ly/3BOLUdH

Show HN: Shell script for playing music from YT with a text queue file and mpv Hi, I am kind of hesitant to post this because I wrote this myself and it's definitely not polished but I thought people might find it useful considering some of the music related things I have seen posted here. This doesn't have anything fancy like a recommendation system or pretty ui but it makes it very easy to listen to music and keep a history of what you've listened to. If it means anything, this is the only thing I use for music playing. Features: - Everything is a text file (queue, your listen/artist history)! - Mpv as music player (you can control or get info using the ipc socket the script opens) - Download songs after you've listened to it a chosen amount - Fzf to search music - Add playlists from the cli - Manage queue from the cli, fzf, or vim - Run arbitrary commands on song change - Search and play or select from search results Here is a demo: https://bit.ly/3Vq8MY1... and the repo: https://bit.ly/3I5R5tN https://bit.ly/3HNR9hm December 19, 2022 at 11:16PM

Show HN: Fort.js – A modern progress bar for form completion https://bit.ly/3ViSDUc

Show HN: Fort.js – A modern progress bar for form completion https://bit.ly/3V4RKhT December 19, 2022 at 09:35PM

Show HN: Infisical – open-source secrets manager https://bit.ly/3Wa8AND

Show HN: Infisical – open-source secrets manager Last month, we open-sourced Infisical ( https://bit.ly/3G4HZMn ) - a simple, end-to-end encrypted tool to sync environment variables across your team and infrastructure. You can use it to store environment variables and inject them into your applications locally or into CI/CD and production infrastructure. It can be used with any language/framework and is platform independent with a super easy setup. We know secret managers exist but, in our experience, they’re too complicated, not comprehensive, not user-friendly, or a mix of all three — other nicer ones are closed-source and don’t have self-hosted options available. That’s why we’re on a mission to make secret management more accessible to every developer — not just security teams. We’ve launched this repo under the MIT license so any developer can use the tool. The goal is to not charge individual developers. We make money by charging a license fee for some future enterprise features as well as providing a hosted version and support. In the coming weeks, we plan to add features like key rotation, access logs + more integrations. We’d love to hear your thoughts and any feature requests! Give it a try ( https://bit.ly/3G4HZMn ), and let us know what you think! Main website: https://bit.ly/3G4HVMD https://bit.ly/3G4HZMn December 19, 2022 at 06:52PM

Show HN: Real or AI? A game to spot DALL-E 2 generated images https://bit.ly/3v0WytX

Show HN: Real or AI? A game to spot DALL-E 2 generated images I built this project last weekend. I was playing around with DALL-E 2 and I was impressed by how photorealistic the images generated are. I decided to build a small game to guess if the image is real or AI generated. This is my first ever weekend project, so I would appreciate any feedback :) Thanks https://bit.ly/3jdw4Tk December 19, 2022 at 12:57PM

Sunday, 18 December 2022

Show HN: Christmas Free Icons https://bit.ly/3jeB767

Show HN: Christmas Free Icons https://bit.ly/3jeB9ef December 19, 2022 at 08:04AM

Show HN: Screen Studio – Beautiful screen recordings in minutes https://bit.ly/3V3tPiB

Show HN: Screen Studio – Beautiful screen recordings in minutes Hey! I started working on this app 4 months ago. The idea is simple: automate creating promo quality videos that include screen recordings as much as possible Currently it makes cursor movement smooth, zooms in on clicks, adds background and frame around recorded window and adds cinematic motion blur. I plan to add selfie camera support, full text slides and multi-clip recordings. Works only on macOS. It is paid software (one time payment for license + 1 year of updates), but you can download and try it for free - everything except final export to file will work 100% Thanks! https://bit.ly/3BJ9sjS December 19, 2022 at 12:00AM

Show HN: View Reddit Images by Topic https://bit.ly/3Wand3l

Show HN: View Reddit Images by Topic Hi, I created a simple website to display Reddit images from set of subreddits by topic. It displays images from current top posts. https://bit.ly/3FB4bfr December 19, 2022 at 04:25AM

Show HN: Share Mastodon link in an untraditional way https://bit.ly/3BJO7qJ

Show HN: Share Mastodon link in an untraditional way https://bit.ly/3BLiq0l December 19, 2022 at 01:03AM

Show HN: Log in to Mastodon with your Twitter account https://bit.ly/3uY7OHu

Show HN: Log in to Mastodon with your Twitter account This is an idea I've had for a while. Given recent events, I decided to finally implement it and see what happens. I assume if it gets any traction it will be banned. The bigger picture here is that Twitter's network of users and follow lists is potentially reverse-engineerable. Why not take that network graph and implement it in the Fediverse? https://bit.ly/3BH4dRS December 19, 2022 at 12:38AM

Show HN: Laravel Documentation Bot https://bit.ly/3BKO3a3

Show HN: Laravel Documentation Bot https://bit.ly/3PAQaTA December 18, 2022 at 11:29AM

Saturday, 17 December 2022

Show HN: I made an Ethernet transceiver from logic gates https://bit.ly/3Yyehqk

Show HN: I made an Ethernet transceiver from logic gates https://bit.ly/3HHyzaD December 18, 2022 at 08:00AM

Show HN: I Put Artificial Intelligence Inside Google Sheets https://bit.ly/3htin2k

Show HN: I Put Artificial Intelligence Inside Google Sheets Hello Everyone, I built =SHEETAI(), a way to run GPT-3 prompts in Google Sheets. It's incredible how tasks that are hard or impossible to do w/ regular formulas become trivial. For example: sanitize data, write thank you cards, summarize product reviews, categorize feedback... Try Now for free at SheetAI.app https://bit.ly/3j0FSzV December 18, 2022 at 06:09AM

Show HN: bstruct – Declarative and efficient binary parsing in Python https://bit.ly/3WobUEv

Show HN: bstruct – Declarative and efficient binary parsing in Python https://bit.ly/3WpskfN December 17, 2022 at 06:32PM

Show HN: baseline – a free, open-source journaling and mood tracking app https://bit.ly/3FBcw2P

Show HN: baseline – a free, open-source journaling and mood tracking app Hey HN! I recently released baseline, a journaling and mood tracking app for iOS, Android, and web. If you've been looking for a better journal, or just want to work on your mental health, you should check it out! It includes: - Simple and fast journaling — just open the app and start typing. - Visualizations to help you understand your progress over time. - Screeners to help you better understand what you might be struggling with. - Customizable notifications to help you build journaling into your daily routine. - Strong privacy — personal data is encrypted with user-specific keys that I can’t access. This app started as a personal project for my own mental health, and it really helped me out — so now here we are! Again, if you've wanted to try journaling or just want to start working on your mental health, I really recommend trying it out. I'll also be here all day to answer any questions y'all have. Thanks so much :) https://bit.ly/3uZPeyK December 17, 2022 at 05:45PM

Show HN: Auto-Generate Python REST API Clients Using OpenAPI Generator https://bit.ly/3FBmSjk

Show HN: Auto-Generate Python REST API Clients Using OpenAPI Generator Hi all, We've refactored the Python client generator in OpenAPI Generator(https://bit.ly/3jd33qJ). To give it a try, please follow 3 simple steps below: 1. Download the Java JAR: https://bit.ly/3HJzA1S 2. Rename the JAR as "openapi-generator-cli.jar" 3. Execute the following command to run the generator for the PetStore API: https://bit.ly/3V4ixL5 Mac/Linux: $ java -jar openapi-generator-cli.jar generate -g python-nextgen -i https://bit.ly/3V4ixL5 -o /var/tmp/python-nextgen/ Windows: $ java -jar openapi-generator-cli.jar generate -g python-nextgen -i https://bit.ly/3V4ixL5 -o C:\tmp\python-nextgen (If JVM is not installed in your machine, please use openapi-genreator-cli docker image instead: https://bit.ly/3FW3vBN) If you've any feedback or question, please reply to https://bit.ly/3FBmTno to let me know. December 17, 2022 at 04:16PM

Show HN: Book about forms usability for devs https://bit.ly/3hF242d

Show HN: Book about forms usability for devs https://bit.ly/3FEwJok December 17, 2022 at 02:29PM

Show HN: A magic frame you can prompt to show generated art to an e-ink display https://bit.ly/3PBsKO3

Show HN: A magic frame you can prompt to show generated art to an e-ink display https://bit.ly/3PzGVmI December 17, 2022 at 05:11AM

Friday, 16 December 2022

Show HN: Simply see your client hints sent by Chrome https://bit.ly/3V3LQxu

Show HN: Simply see your client hints sent by Chrome Chrome will start to reduce the UserAgent string and replace it with client hints. here you can simply see your current UA, the reduced one, and your client hints. https://bit.ly/3hvF8T2 December 17, 2022 at 04:04AM