Live data from Hacker News

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

news.ycombinator.com

231–240 of 617 posts

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

#231
post #87

I made Smocker[1]. It's a mock server we use extensively with my coworkers because we develop Go HTTP "micro" services and most of the tests we write are integration/component tests. We needed a way to mock the external services to test our service in an isolated way. Before that we used http-mock-server but it came short in a lot of ways: JSON config (very bad when you need to configure it to return JSON payloads),…

This looks amazing.

Thanks!

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

#232
I tend to worry about criticism and whether my things are actually useful enough for others to be worth the trouble. So I've never actually published anything.

When I was a teenager I made a bunch of games for which I created level editors and the like. This was before there were free alternatives that I knew of which fit my needs.

When I started with graphics programming I made a library with OpenGL helpers for setting up shader programs, textures, double buffered textures, etc. configurable via configuration files. I ended up using it for a number of private projects and my master's thesis.

I've also made a Vim plugin for handling projects: setting up working directory, loading session files, setting a number of project specific paths and compiler options, etc. I wanted it to do enough little things that it was difficult to find a ready solution.

I once had a number of video files with subtitles which were out of sync, so I made a command line tool to resync them. It only took me a few minutes so it felt worth it and was very satisfying.

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

#233
I built a Pdf viewer library for VueJS based on Mozilla's PDF.js. PDFVUER - https://github.com/arkokoley/pdfvuer

I also built a time tracker library that tracks how much time was spent on the current open tab. It also detects when the user moves away from the page or comes back.

Actively - https://github.com/arkokoley/actively

For a GIS project, I needed to extract county level data from NASA's MODIS dataset. Wrote a bash utility to do that: https://github.com/arkokoley/modis_county_cropper

Also wrote a boilerplate latex template for Academic homework: https://github.com/arkokoley/latex-homework-boilerplate

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

#234
post #87

I made Smocker[1]. It's a mock server we use extensively with my coworkers because we develop Go HTTP "micro" services and most of the tests we write are integration/component tests. We needed a way to mock the external services to test our service in an isolated way. Before that we used http-mock-server but it came short in a lot of ways: JSON config (very bad when you need to configure it to return JSON payloads),…

Although I don't do microservices, this project is really interesting.

It really shines with microservices, but it's not limited to microservices! You can configure any app supporting HTTP_PROXY environment variables with Smocker as a proxy, and still mock anything you want :) It's not our main use case but was useful a few times, so I can imagine it be used like this too.

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

#235
njk - https://github.com/mohitsinghs/njk

Annoyed by amount of tooling required to render markdown, nunjucks and front-matter, I wrote this cli and used it for all of my static sites. Since then, I’ve mostly migrated my sites to nextjs.

Surprisingly, when looking at dependent projects, people tend to put it in their dependency tree for weird reasons.

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

#237
I built audiomass ( https://audiomass.co ). it is not a dev tool but a general productivity tool (allow people to record, edit and manipulate audio directly in the browser).

I just wanted something that works as promised and respects the user (open source, 70kb total payload size, no ads, no tracking, feature complete, etc)

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

#238
I built “deploy-node-app”, an NPM package to help people deploy their node apps to docker/kubernetes - mostly because I wound up asking the same sets of questions every time and wanted to turn it into a set of prompts for people to follow.

It needs more love - I really should add more love to it... but it works fairly well for node and react apps!

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

#239
2011: httprl. Parallel http requests; can also issue a http request to its self for "asynchronous" function calls in php.

2014: apdqc. asynchronous MySQL driver used for the cache backend. Simplicity of the stack increased our uptime. async db writes are quick.

Post reply on HN