Live data from Hacker News

Ask HN: What are some tools / libraries you built yourself?

news.ycombinator.com

101–110 of 617 posts

Re: Ask HN: What are some tools / libraries you built yourself?

#101
I've written...

* a Java library to open up ports on your router, because at the time nothing existed for Java that handled all 3 major port mapping protocols.

* a Java library implementation of Kademlia, because I wanted to learn the protocol.

* a Java coroutines toolkit, because I needed the functionality but at the time Javaflow was dead but Project Loom wasn't yet a thing.

* a Node library that extends markdown-it with my own special flavour of Markdown that I use for taking long-form notes. It automatically links terms in the document and lets me call into container images to generate outputs (e.g. generate chemfig/tikz/svgbob/graphviz diagrams, run a block of python and spit the output, etc..). I built this one because, at the time, Google Docs just wasn't cutting it in terms of features and had some bugs when the doc was hitting the low hundreds of pages. A sample of the MD https://raw.githubusercontent.com/offbynull/learn/master/Bio...> and its rendered output at https://offbynull.com/data/learn/Bioinformatics/output/outpu...>.

Re: Ask HN: What are some tools / libraries you built yourself?

#103

I wrote a library for animating image backgrounds on the web using After Effects style filters and transitions: https://aeroheim.github.io/midori/ It's basically a post-processing pipeline implemented with Three.js and WebGL using a few shaders that I wrote. I created it primarily because I needed it for one of my current projects, so the use case is fairly niche and mostly only relevant for stuff like creative codin…

This is really cool! I’ve never seen a slideshow look that nice

Thank you!

Re: Ask HN: What are some tools / libraries you built yourself?

#104
I have a shell script (technically PHP) that uses the clipboard to retrieve json, parses it and converts it into a correctly formatted php array then puts it back on the clipboard.

Fantastic for writing unit tests where you want to quickly freeze API responses and such.

There is more it could do but it's hands down the best RoI in terms of dev time I've had in a while.

Re: Ask HN: What are some tools / libraries you built yourself?

#105

I have a shell script (technically PHP) that uses the clipboard to retrieve json, parses it and converts it into a correctly formatted php array then puts it back on the clipboard. Fantastic for writing unit tests where you want to quickly freeze API responses and such. There is more it could do but it's hands down the best RoI in terms of dev time I've had in a while.

How do you parse the text?

Re: Ask HN: What are some tools / libraries you built yourself?

#106
I created a dotfiles management tool, yadm https://yadm.io

I'm a huge fan of Git, and the Git mental model just makes sense to me. I wanted to manage my dotfiles in the same way. At the time I had tried several other solutions, mostly similar tools like homeschick and vcsh.

I wanted a solution that was very portable, which both of those existing tools were. However, homeschick became a bit clunky to use because each time I wanted to do most operations I had to first "cd" into my "castle". In addition, that tool used symlinks, which doesn't work out well to manage a file that may get overwritten by a tool.

vcsh was the other main tool I tried. This tool adopts the bare repo technique, allowing files to be used instead of symlinks. The major drawback it had was that it was designed to work with multiple repos, and forces you to specify the repo with every command. Some simple aliasing helped mitigate that though. But by that time I also started writing some custom code to encrypt private data and was struggling to maintain different branches for different systems which had slight tweaks to configurations. It just became all fragmented and difficult to manage.

That is what lead me to create my own tool. The important features I wanted: portability, seamless interaction with Git, alternate files for different hosts, encryption for private data. I shared it as open source back in 2015 and it has grown in popularity some. It's been improved a lot over time including contributions from others. I'm glad so many others have found it useful.

Re: Ask HN: What are some tools / libraries you built yourself?

#107
I built milkman[1], an alternative to postman because I wanted one tool to integrate with the whole web development stack. One tool that contains my SQL, rest and grpc calls to easily debug issues. Also nearly none of those kind of tools that existed supported SSE which I also use in my day to day work.

[1] https://github.com/warmuuh/milkman

Edit: I love these threads. You read so many things and Frameworks and random stuff that you really learn in what silo you are actually living

Re: Ask HN: What are some tools / libraries you built yourself?

#108

As a frontend developer I often struggle with the component library to use. At last I set out to create my own https://nfui.js.org . It isn't complete yet. I still need to fix SSR and create a few essential component. But so far it is coming out great. With bundle size There are many I have tried before this project, but there is something always missing. I primarily work on React and so my experience can be a little…

have you tried tailwinds and their uikit tailwindui?

Re: Ask HN: What are some tools / libraries you built yourself?

#109
I made a crappy little web tool[1] that lets me paste a timestamp into it, and will show me that time in my current timezone by default (I think that's just hardcoded haha), or in another one that I select. I mostly use it when reasoning about logs -- for some reason my mind has never gotten used to mapping UTC time to my time.

It also has a selector for the source timezone, but that doesn't work, for reasons I've forgotten. I think that part was intended to allow me to see times without tz data included, reinterpreted as being from other tzs, but I never ended up using it enough to fix.

I made this because I often read some logs, thought "hmm when was this again?", then typed "UTC to EDT" into a new tab, and then ended up on some ad-loaded page that with dropdowns to select things like the year. I don't want dropdowns! I've already got a timestamp. I made this over a year ago and I use it 2-3x/week.

1 - https://wcarss.ca/tz

Re: Ask HN: What are some tools / libraries you built yourself?

#110
I wanted to easily deploy chrome's puppeteer scripts on AWS lambda. The goal was to alert me when a delivery slot was available on Bigbasket during peak covid.

Now I use the same to check if my websites are running properly :)

I call this project little lambda puppets and it deploys puppeteer script on aws lamba in one click and comes with inbuilt telegram api integration to send out alerts and cron. It has served me well for almost over an year now.

(1) https://github.com/san-kumar/lambdapuppets

Post reply on HN