edge-functions-examples
cli
Our great sponsors
edge-functions-examples | cli | |
---|---|---|
4 | 21 | |
69 | 1,543 | |
- | 0.9% | |
6.4 | 9.7 | |
4 months ago | 3 days ago | |
JavaScript | TypeScript | |
- | MIT License |
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.
edge-functions-examples
-
Using custom error handling if a serverless function has crashed
More examples of using and configuring edge functions in this edge functions examples site
-
How to get the user’s timezone in JavaScript with Edge Functions
Explore more ideas and personalization use cases for Netlify Edge Functions on the blog and browse a library of examples for inspiration on our Edge Functions Examples site. Happy coding! 👩🏻💻
-
Personalize your static site based on a previous site referral
You’ve learned how you can modify static HTML pages based on the HTTP referer header, but did you know you can also perform actions based on other things like location, time, cookies and more? Check out the official Netlify Edge Functions docs, or browse our Edge Functions examples site for some inspiration. Happy coding! 👩🏻💻
-
We're all living on it. But what exactly is The Edge?
Phil Hawksworth and I put together an Edge Functions Examples site for you to explore the APIs and functionality available to you on Netlify. You can also browse the source code on GitHub, fork the repository, or copy and paste code examples to your project.
cli
-
Trigger a site update from anything that speaks HTTP with build hooks
Netlify CLI command reference
-
Netlify just sent me a $104K bill for a simple static site
There are lots of reasons to avoid Netlify.
https://github.com/netlify/cli/issues/739
-
My 2023 Year in Review
[x] Open a bug/issue before writing your code 🧑💻. This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire 🔥 (e.g. incident related), you can skip this step.
-
.env files and svelte
I think you're right. I was grasping at straws and found that there is an issue with deploying to netlify. I found somebody raising the issue here: https://github.com/netlify/cli/issues/5286
-
Server-side rendering for any React app on any FaaS provider
To launch the previewing of the whole demo app including the client side and the server side, Netlify CLI is needed but installing it globally is good enough:
-
How to deploy an Astro site
If you love working on the command line, you can also create a new site on Netlify and link up your Git repository using the Netlify CLI.
-
A vision for a social model of open source
Projects whose purpose is facilitative generally help people use other technologies, most often proprietary technologies. These may be tools, SDKs, or other utilities. It is useful for them to be open source so that developers can extend or customize them to suit their own purposes. Examples of facilitative projects are ld-find-code-refs and the Netlify CLI.
-
We're all living on it. But what exactly is The Edge?
Note: You might see a red underline under the type import if you're using VS Code. The Edge Function will still execute, but if you'd like to say goodbye to the red line, run ntl recipes vscode in your terminal. This will install a VS Code settings directory and JSON file at the root of your project. Read more about Netlify recipes on the CLI docs.
-
Previewing your posts — how to build the best decoupled content management workflow for your static site
Make sure to add the access token as an environment variable to Netlify, so you’re not storing a secret in the code. If you’re using the Netlify CLI, you can add new environment variables from the command line — no .env file required! Running the app locally with netlify dev will inject environment variables stored against your Netlify site.
-
Pitfalls When Adding Turborepo To Your Project
As soon as you’ve used this feature once, you can no longer use that subdomain with the Netlify CLI. We had to move to other prefixes using the Netlify CLI --alias option. The documentation says to “avoid” using the same prefix as branch names, but doesn’t say why... now you know! Here is the GitHub issue about this.
What are some alternatives?
Node.js-Design-Patterns-Third-Edition - Node.js Design Patterns Third Edition, published by Packt
busboy - A streaming parser for HTML form data for node.js
deno - A modern runtime for JavaScript and TypeScript.
netlify-preview-contentful-app - Preview your draft content in Contentful on your static site before your publish to production.
mk2-p4nth3rblog - My personal blog site #BuiltWithEleventy.
aws-sam-cli - CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
personalize-with-http-referer - Use Netlify Edge Functions to intercept a request to a static page, check the value of the HTTP referer header, and enhance the response of the HTML before it's returned to the browser. No client-side JavaScript required.
ld-find-code-refs - Build tool for automatically sending feature flag code references to LaunchDarkly
examples - Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
sign_up
markdown-site - Welcome to My Markdown Website! This is my second website and I'm planning to make it my main website. I hope you enjoy my website and find it useful. If you are interested in learning more about markdown and how it can help you create beautiful websites easily, look around. Feel free to leave me comments or suggestions on how I can improve it.
netlify-lambda - Helps building and serving lambda functions locally and in CI environments