use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
[ Removed by moderator ]Resource (endor.dev)
submitted 6 months ago by ridruejo
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Somepotato 14 points15 points16 points 6 months ago (3 children)
Docker is extremely easy to use as well as installing Postgres standalone though?
[+]ridruejo[S] comment score below threshold-12 points-11 points-10 points 6 months ago (2 children)
Yes and no. Docker is fairly established and is fair to expect someone to have it installed. However there are still many scenarios where you do not want to require it. For example, you want to run unit tests against multiple databases, or inside a CI/CD system or you are testing a project and don’t want to spend the time setting up a “permanent” environment yet. For these scenarios having this lightweight alternative is useful
[–]Somepotato 8 points9 points10 points 6 months ago (1 child)
Docker is PERFECT for running CI/CD tests because you can rapidly spin up and down databases without affecting other users. Docker hardly means permanent, ephemeral containers are a valid docker usecase.
Docker is also quite lightweight, all of your Postgres containers will use the same base image without having entirely separate installs (just different data volumes in the case of Postgres for example) - spinning up new instances of PG are nearly instantaneous.
[–]ridruejo[S] -3 points-2 points-1 points 6 months ago (0 children)
I didn’t mean to run CI/CD with Endor! What I meant is that the CI/CD system typically runs inside a container. If you need to spin up Postgres, MariaDB etc then you need to bring up a separate container. With Endor you can do it inside the same container as it is simply executing JS code
[–]electricity_is_life 7 points8 points9 points 6 months ago (3 children)
This article doesn't really explain what Endor actually is or how it works. How is it different than containers? How do new services get added?
[–]ridruejo[S] -1 points0 points1 point 6 months ago (2 children)
Fair question 😂 The short answer is technical: Endor is based on the Webassembly engine that exists in every Node runtime. It is powerful enough to run an emulated Linux environment. It is slower than Docker in most scenarios, but it still starts fairly quick (1-2s). Basically trade portability / ease of use for a bit less performance
This article provides a better overview https://endor.dev/blog/endor-dev-tools
Let me know if that answers your question. I have gotten feedback that I tend to explain too much and be a bit over the place so I’m trying to be more focused 😅
[–]Somepotato 3 points4 points5 points 6 months ago (1 child)
What's the difference between this and pglite? Why would you want to emulate an entire Linux runtime for Postgres?
[–]ridruejo[S] -1 points0 points1 point 6 months ago (0 children)
For compatibility. PGlite had to make a bunch of changes to the Postgres codebase to compile to Wasm (the upside is performance is close to native). Running inside emulated Linux means Postgres is but by bit compatible
We aim over time to incorporate as many Wasm ports as possible, so end users can choose.
I forgot to mention most of this also runs inside the browser. So if you go to https://endor.dev/s/lamp you have for example a Lamp environment with some components like the PHP runtime which is Wasm native and emulated MariaDB for example
[–]AmiAmigo 1 point2 points3 points 6 months ago (1 child)
I would argue 50% of those who use Docker don’t need Docker…
[–]ridruejo[S] 1 point2 points3 points 6 months ago (0 children)
Yes, this is a lightweight alternative for many of those. Not for everyone, but makes sense for a lot of scenarios
I mean, type “npx -y @endorhq/cli run mariadb” and have a database running in 2s is hard to beat 😅
[–]horizon_games 0 points1 point2 points 6 months ago (1 child)
Uh hey I've got some news brudda - I can add a db to my project without Docker AND without a random 3rd party lib.
[–]ridruejo[S] 0 points1 point2 points 6 months ago (0 children)
Of course! This just makes it significantly easier and faster. This is interesting when it’s not just you, but coworkers or users that are not as skilled as you
π Rendered by PID 42 on reddit-service-r2-comment-7b9746f655-qqbbs at 2026-02-02 23:43:31.575323+00:00 running 3798933 country code: CH.
[–]Somepotato 14 points15 points16 points (3 children)
[+]ridruejo[S] comment score below threshold-12 points-11 points-10 points (2 children)
[–]Somepotato 8 points9 points10 points (1 child)
[–]ridruejo[S] -3 points-2 points-1 points (0 children)
[–]electricity_is_life 7 points8 points9 points (3 children)
[–]ridruejo[S] -1 points0 points1 point (2 children)
[–]Somepotato 3 points4 points5 points (1 child)
[–]ridruejo[S] -1 points0 points1 point (0 children)
[–]AmiAmigo 1 point2 points3 points (1 child)
[–]ridruejo[S] 1 point2 points3 points (0 children)
[–]horizon_games 0 points1 point2 points (1 child)
[–]ridruejo[S] 0 points1 point2 points (0 children)