All Projects → zorbyte → Temps

zorbyte / Temps

Licence: MIT license
λ A selfhostable serverless function runtime. Inspired by zeit now.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Temps

Stage Ci
Automatic deploy previews for your PRs using zeit.co/now.
Stars: ✭ 132 (+780%)
Mutual labels:  webhook, now, zeit
Meteor Now
Instantly deploy your Meteor apps with `meteor-now`
Stars: ✭ 339 (+2160%)
Mutual labels:  deployment, now, zeit
Git Deploy
Php Script for Auto-Pull in server (Using WebHook from GitLab, GitHub and Bitbucket)
Stars: ✭ 495 (+3200%)
Mutual labels:  deployment, webhook
Plek
Make continuous deployment delightful. Deploy and preview your apps for each pull request with Plek. 🇳🇱
Stars: ✭ 15 (+0%)
Mutual labels:  deployment, now
Git Auto Deploy
Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks
Stars: ✭ 251 (+1573.33%)
Mutual labels:  deployment, webhook
init ec2
init EC2 cluster, for free-password-login(ubuntu and root). for hostname, for hosts file.
Stars: ✭ 11 (-26.67%)
Mutual labels:  deployment, cluster
Swarmlet
A self-hosted, open-source Platform as a Service that enables easy swarm deployments, load balancing, automatic SSL, metrics, analytics and more.
Stars: ✭ 373 (+2386.67%)
Mutual labels:  deployment, cluster
Hooka
😎 A webhook server with zero coding
Stars: ✭ 180 (+1100%)
Mutual labels:  deployment, webhook
unity-now
▲ Vercel Now plugin for Unity. Deploy WebGL builds with ease
Stars: ✭ 21 (+40%)
Mutual labels:  deployment, zeit
Escalator
Escalator is a batch or job optimized horizontal autoscaler for Kubernetes
Stars: ✭ 539 (+3493.33%)
Mutual labels:  scale, cluster
Serving
Kubernetes-based, scale-to-zero, request-driven compute
Stars: ✭ 4,238 (+28153.33%)
Mutual labels:  scale, function
now-travis
No description or website provided.
Stars: ✭ 50 (+233.33%)
Mutual labels:  now, zeit
sre.surmon.me
💻 SRE service for Surmon.me blog.
Stars: ✭ 34 (+126.67%)
Mutual labels:  deployment, webhook
workflow-webhook
A Github workflow action to call a webhook with payload data from the event. Support for JSON or URL encoded endpoints.
Stars: ✭ 90 (+500%)
Mutual labels:  deployment, webhook
skein
A tool and library for easily deploying applications on Apache YARN
Stars: ✭ 128 (+753.33%)
Mutual labels:  deployment, cluster
Keel
Kubernetes Operator to automate Helm, DaemonSet, StatefulSet & Deployment updates
Stars: ✭ 1,870 (+12366.67%)
Mutual labels:  deployment, webhook
now-nuxt
A Now v2 Nuxt builder
Stars: ✭ 25 (+66.67%)
Mutual labels:  now, zeit
dev-gateway
Local development cluster with "now" path aliases syntax support. Allows running multiple microservices as one solid server.
Stars: ✭ 32 (+113.33%)
Mutual labels:  cluster, now
devliver
Your private self hosted composer repository with user management
Stars: ✭ 50 (+233.33%)
Mutual labels:  repository, selfhosted
serverless-scaleway-functions
Plugin for Serverless Framework to allow users to deploy their serverless applications on Scaleway Functions
Stars: ✭ 58 (+286.67%)
Mutual labels:  scale, function

Logo

Temps

A serverless lambda runner, inspired by zeit now.


What can Temps do?

  • Temps can automatically hot swap your functions to an updated version without any dramas. This is achieved through GitHub webhooks.
  • Temps auto-scales your lambda function, whenever it detects a large amount of load in the event loop it creates a new thread to spread the load on.
  • Lightning fast, responds in under 5ms for a hello world async function!

Setting up your function

Programmatic setup

Temps is a breeze to setup, it's so easy it only needs an example:

// An optional function (optionally async) that runs before the server listens is executed.
// If the argument is present, the HTTP server will be passed to init for your usage.
exports.init = async ([server]) => { };

// Also works with HTTPS!
exports.credentials = {
  key,
  cert,
};

// A required (optionally async) handler (works with exports.default as well).
module.exports = async (req, res) => {
  // If this is an async function and you return either a string or buffer here
  // Temps will send the returned data! Async functions can still be used without this behavior.
  // You can run whatever you want in here: express, koa etc.
};

Make sure to use the main field in your package.json to point to an entry point file that matches the signature of the example above.

Compiling your code

Temps compiles your code by running the lambdaBuild script if present in your package.json. Please ensure that the entry point specified in the main field of your lambda's package.json points to the compiled entry point.

Configuring Temps

Repositories

To configure Temps to work with private repositories, setup a GitHub access token with the repos scope checked. Check out .env.example to see how to configure your repository. Temps works with GitHub webhooks with plans to support more platforms in future. To set it up, generate a secret for example: crypto.randomBytes(32).toString("base64") and set it to the env variable named SECRET. Then configure a push webhook on GitHub that uses that same secret and pushes to the following endpoint: example.com/.well-known/__lambda/update.

Software configuration

Refer to .env.example... it's pretty self-explanatory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].