SupaScript
supabase-mailer
SupaScript | supabase-mailer | |
---|---|---|
11 | 11 | |
131 | 182 | |
- | - | |
0.0 | 1.1 | |
almost 2 years ago | 5 months ago | |
PLpgSQL | PLpgSQL | |
- | - |
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.
SupaScript
-
Server side validation
I also wrote this library, which makes things even more node/deno like: https://github.com/burggraf/supascript
- Ask HN: Anyone joined a company after contributing to their OSS projects?
-
Functions?
You can also check out my SupaScript extension here, which may give you access to other node libraries you may need: https://github.com/burggraf/SupaScript
-
Firebase and other options
And I write a majority of my functions using Javascript and even have access to a lot of npm libraries. (I wrote https://github.com/burggraf/SupaScript for this purpose).
-
Open source Firebase alternative (Supabase) raises $30M Series A
You should also look at my SupaScript repo on github. This is a wrapper on PLV8 that lets you write functions in Javascript with NodeJS and Deno-like functionality. It also makes it MUCH easier to work with JSON data and make HTTP calls to API providers. If you're comfortable with NodeJS, you'll find it pretty easy to write Postgres functions with this.
-
How can we build our custom supabase function to get JSON response by a rest API?
Supabase developer here. If you want to do this with Javascript, you might want to check out my library here: https://github.com/burggraf/supascript
- Functions when?
- Show HN: SupaScript: Postgres extension to dynamically import JavaScript libs
supabase-mailer
-
Looking for contributors for StaticBackend, a backend API in Go
Supabase developer here. Just to clarify, Supabase has server-side functions (edge functions), emails can be sent with something like my repo here (https://github.com/burggraf/supabase-mailer) or through edge functions -- but you're right, while we do have the ability to send any auth-related emails built-in (sign up, sign in with magic link, MFA, reset password, etc.) we don't have an out-of-the-box solution for sending emails, that's why I wrote that repo. And lastly, it's quite easy to schedule tasks using pg_cron, which is built into every Supabase project by default.
-
Modifying Email Remotely
Hello, I've tried these instructions https://github.com/burggraf/supabase-mailer/blob/main/Mail_Providers/Sendgrid.md when I tried to execute the first line INSERT INTO private.keys (key, value) values ('SENDGRID_API_KEY', 'aaaaaaaaaa'); in SQL editor (with my API key) in Supabase I've got this error: "Failed to run sql query: relation "private.keys" does not exist"
-
Edge Functions or Database Functions?
Here's a repo where I use the http extension extensively: https://github.com/burggraf/supabase-mailer
-
Sending Email From Postgres
I was excited to find the supabase-mailer project, but unfortunately it seems that only the Mailgun provider is fully supported and working. Mailgun only has a 30 day trial, which didn't work for my needs.
-
How to send Emails from Supabase in case of an event?
You can't call the http function like that. You need to use a SELECT statement. See https://github.com/burggraf/supabase-mailer/blob/main/02A_send_email_mailgun.sql for an example: SELECT content INTO retval FROM http (('POST', ....etc
-
Functions?
I'm not 100% sure you could do this with PostgreSQL functions, but you probably can. Since we have http access from these functions, I've written interfaces to some of the transactional email apis here: https://github.com/burggraf/supabase-mailer . (It's probably even easier if you use straight SMTP mailers.)
- Questions about sending emails
-
Open source Firebase alternative (Supabase) raises $30M Series A
Not sure what you mean. I have a couple open-source repos on github that show you how you can send emails or text messages from a Postgres function using third-party providers. I also have a repo that shows how you could roll your own auth using functions. Assigning permissions and roles is definitely something you can do in functions -- that's standard postgres stuff....
What are some alternatives?
supabase-sms - Send and receive sms messages from Supabase / PostgreSQL using a Transactional SMS Provider
plv8 - V8 Engine Javascript Procedural Language add-on for PostgreSQL
supabase-js - An isomorphic Javascript client for Supabase. Query your Supabase database, subscribe to realtime events, upload and download files, browse typescript examples, invoke postgres functions via rpc, invoke supabase edge functions, query pgvector.
pgsql-http - HTTP client for PostgreSQL, retrieve a web page from inside the database.
supabase-roll-your-own-auth - Custom Supabase authentication using PostgreSQL functions
flutterfire_desktop - An early-stage, experimental pure-Dart implementation of Firebase SDKs.
postgrest-ex - Elixir Client library for PostgREST
supabase - The open source Firebase alternative.
levant - An open source templating and deployment tool for HashiCorp Nomad jobs
core - Backend server API handling user mgmt, database, storage and real-time component