postgrest-js
firejail
postgrest-js | firejail | |
---|---|---|
11 | 139 | |
923 | 5,449 | |
1.5% | - | |
7.5 | 9.7 | |
17 days ago | 3 days ago | |
TypeScript | C | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
postgrest-js
-
Ask HN: What are some unpopular technologies you wish people knew more about?
At one point, I really thought it was used in Supabase. But I guess they only wrote the js wrapper for it. https://github.com/supabase/postgrest-js
Came here to mention Hasura as well (not sure of it's popularity though) https://hasura.io/graphql/database/postgresql
-
Why supabase client don't introduce min, max and count functions
Min/Max looks like it still has to be done via RPC (with sample code here) https://github.com/supabase/postgrest-js/issues/206
- Completely baffled about async call.
-
Why to use Supabase instead of Prisma (or any other ORM) with a Postgres DB?
There's nothing wrong with this and they're pretty open about it. But the SDK they provide for direct database operations is the weakest of the ones I've used, when it should be the strongest I think. It leverages PostgREST which is a tool for auto generating REST APIs from schemas. From the README: "The goal of this library is to make an "ORM-like" restful interface."
-
Should I use Prisma to get data or Supabase itself to get data
Looks like there's an open github issue that might answer some of your questions: https://github.com/supabase/postgrest-js/issues/303
-
Supabase secrets management available in beta
I think it’s great too. I wish they would shore up some of their existing releases though. Probably most notably, the ability to query aggregates via the officially supported route is missing: https://github.com/supabase/postgrest-js/issues/206
The workarounds suggested are not ergonomic for most use cases and it feels pretty out of place for such basic functionality to be missing in what otherwise feels like a pretty full featured product.
Their Realtime product is another example of something that languishes while new features get launched.
-
Need help looking for a tool
I haven't completely understood what you are looking for but I think Supabase could be potential useful alternative backend for you supabase.io ?
-
How I Built Skillbit: Linktree, but for Your Skills
I used postgrest-js to communicate with my PostgREST endpoint. The library is easy to use and does everything for you.
-
Supabase-JS v2
yes you're right. The JS library is a thin wrapper around PostgREST's API (https://github.com/supabase/postgrest-js)
Supabase now offers a few more features which integrate with the Postgres database - File Storage (s3), Authentication, Deno Functions, and Realtime (database change listeners). Each of these services is a standalone server and each has a corresponding JS library.
"supabase-js" wraps up the modular JS libraries into a single library for convenience
-
Supabase May 21: Apple and Twitter Logins, Supabase Grid, Go and Swift Libraries
* Swift Libraries are now underway thanks to @satishbabariya [2]
We still have a long way to go for mobile support, but the Apple logins is a big one. If you ship an app to the App Store with any third-party logins, you're required to enable Apple logins as well. While this sounds like a bit of over-reach, it's actually quite cool - if you use Apple login they obfuscate your email so that the 3rd party app don't get access to your personal data. Quite nice!
[0] CSV: https://github.com/supabase/postgrest-js/pull/187
firejail
-
Sandboxing All the Things with Flatpak and BubbleBox
bubblewrap is designed as a low-level too. There is nothing quick and dirty about it. It disallows everything by default and you have to be explicit about what you want to share with the host. If your application needs complex permissions/resources, then you will need to have a complex bubblewrap command line.
Once you have figured out which permissions/resources you need for a given program, you can wrap the command line invocation in a shell script.
If you want other people to do the work of defining permissions/resources, then have a look at firejail: https://github.com/netblue30/firejail
-
Ask HN: What are some unpopular technologies you wish people knew more about?
Firejail is cool: https://github.com/netblue30/firejail
Linux namespaces/cgroups but nowhere near as heavy as Docker.
I use it when I want to limit the memory of a Python script:
```
-
Toolship: A (More) Secure Workstation
Firejail can also be a useful option, though no good if you're on Mac https://firejail.wordpress.com/
Uses the same Linux primitives as docker etc, but can be a bit more ergonomic for this use case
-
Firejail: Light, featureful and zero-dependency security sandbox for Linux
Firejail, Flatpak (which uses Bubblewrap under the hood), and Snap (which uses AppArmor) all use the same underlying technology: Linux namespaces.
This question comes up a lot, and has been answered here: https://github.com/netblue30/firejail/wiki/Frequently-Asked-...
TL;DR: Firejail has much more comprehensive features than Flatpak (Bubblewrap). Firejail also has more comprehensive network support, support for AppArmor and SELinux, and easier seccomp filtering.
Compared to Snap (which uses AppArmor), Firejail is compatible with AppArmor and again goes above and beyond with a lot of additional features.
-
Bubblewrap – Low-level unprivileged sandboxing tool used by Flatpak
Wonderful little tool, too bad you must chain various exec calling tools to get cgroups (a bit akin to `ionice ... nice ... cmd`) and Linux users namespaces can't allow UNIX sockets while preventing network access (I think?).
Migrated from Firejail when its complexity annoyed me too much and I hit https://github.com/netblue30/firejail/issues/3001 (Firejail doesn't like parens or brackets in --put/--get parameters) to a badly NIH version using bwrap and bash to have "profiles":
- Firejail: Light featureful and zero-dependency security sandbox for Linux
-
Do, or do not. There is no try
Firejail does this. The profile database is the two "profile" directories in https://github.com/netblue30/firejail/tree/master/etc
-
Strange times make for strange friends...
What do you mean by a Firefox container? Do you mean FireJail?
What are some alternatives?
nuxt3-supabase - Nuxt 3 module and composables for Supabase.
bubblewrap - Low-level unprivileged sandboxing tool used by Flatpak and similar projects
solid-supabase - A simple wrapper around Supabase.js to enable usage within Solid.
flatpak - Linux application sandboxing and distribution framework
gotrue-swift - A Swift client library for GoTrue.
bubblejail - Bubblewrap based sandboxing for desktop applications
postgrest-go - Isomorphic Go client for PostgREST. (Now Updating)
Flatseal - Manage Flatpak permissions
vue-supabase - A supa simple wrapper around Supabase.js to enable usage within Vue.
yabai - A tiling window manager for macOS based on binary space partitioning
flarebase-auth - Firebase/Admin Auth Javascript Library for Cloudflare Workers
podman - Podman: A tool for managing OCI containers and pods.