Live data from Hacker News

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

news.ycombinator.com

31–40 of 617 posts

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

#32
I built a web-based webAR creator, because I hate rewriting the same template code again and again, and I didn’t like to pay for something so easy to build myself.

I added an asset manager so I can mix and match while creating AR stuff and then directly export it as a single file so I can archive it. I mainly use it to create AR experiences for friends and family (think, interactive birthday cards or for example, when MyHeritage launched their animate old photos, I used those animations on top of image based tracking)

I might turn it into a SAAS platform for marketers, but even if I don’t I’m going to open-source it either way.

The only thing holding me back is deciding what to name it. If anyone has a nice suggestion, I’ll open source it right away

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

#33
post #29

A forked version of browserify-middleware which uses more than one thread: https://www.npmjs.com/package/browserify-middleware-concurre... Solves a common problem in the enterprise world - you have a big monolith UI stack with multiple apps, and starting it in dev mode gets slower over time. Lots of companies just allow you to start one of the individual apps, or they start splitting up the stack. This speeds up star…

Oh - also! Recently I wanted MongoDB's docs on my Kindle. But they no longer offer a PDF. So I created something to make one: https://github.com/winrid/mongodb-docs-download

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

#34
After a time it finally occurs to me that those "one off" scripts that I write to help out at work really need to be packaged up. So I end up with https://github.com/PeterHickman/Nginx-Log-Tools to get basic stats out of Nginx log files. https://github.com/PeterHickman/chop to spit out just the parts of log files I am interested in. https://github.com/PeterHickman/Raid to bundle up all of my short scripts into just one Markdown formatted file. https://github.com/PeterHickman/Measure-Rails-SELECT-Perform... to summarise database activity from Rails application or postgres logs

There were others but as the issue passed or no longer needed to be dealt with they fall into disuse. Some however have ended up as part of the tools we use at work

Some even got documented :)

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

#35

Most recently, I wrote this Docker deployment tool because I was tired of having to either set up a Kubernetes cluster or manually log into my home server to update stuff: https://gitlab.com/stavros/harbormaster It allows you to run Docker Compose containers from a simple git repo (no Docker registry), and to specify all the Compose apps you want to run in a straightforward YAML file. It'll take care of automatically…

This seems cool! I recently moved my homeserver and dev environment to a big docker-compose file and am loving it. Just curious, what prompted you to use multiple docker compose files over a single one?

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

#36
I built a sales reimplemented the salesforce formula language in JavaScript. At that time I was still using Salesforce and I was annoyed that it took forever to see the results of changing a Salesforce formula. So I wrote a JS parser and a web interface.

[0] https://github.com/leifg/formulon [1] https://formulon.io

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

#38
i was annoyed by the verbosity of XML when using it for config files at my workplace so i tried to design maximally human readable & writable text file format, which turned out to be extremely concise and fast: https://github.com/Enhex/Deco

after trying at least dozen C++ GUI libs and none of them being good enough (license, limited portability, limited customability,...) i started making my own one which is OpenGL based, got automatic layouting, separation of concerns of layout/style/logic, permissive license, and provides building blocks to make your own widgets. https://github.com/Enhex/GUI

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

#39

Most recently, I wrote this Docker deployment tool because I was tired of having to either set up a Kubernetes cluster or manually log into my home server to update stuff: https://gitlab.com/stavros/harbormaster It allows you to run Docker Compose containers from a simple git repo (no Docker registry), and to specify all the Compose apps you want to run in a straightforward YAML file. It'll take care of automatically…

This seems cool! I recently moved my homeserver and dev environment to a big docker-compose file and am loving it. Just curious, what prompted you to use multiple docker compose files over a single one?

The big advantage is that you can reuse the Compose file for other computers. For example, in my model, Home Assistant would come with a Harbormaster-compatible Compose file, so to run it you'd only need to include the Home Assistant repository URL in your config file, and you'd get automatic updates and everything without having to do anything else.

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

#40
Two things that I use daily:

Serilog.Sinks.InMemory for help with unit testing log messages etc: https://github.com/sandermvanvliet/SerilogSinksInMemory

TestableHttpClient to make testing API calls easier by providing a simple way to configure responses and behaviour as well as asserting actual calls: https://github.com/sandermvanvliet/TestableHttpClient

Both I think equal parts not invented here, “how hard is this really?”, not finding something at the time and just doing it for the fun of it

Post reply on HN