edge-functions-examples
eleventy πβ‘οΈ
Our great sponsors
edge-functions-examples | eleventy πβ‘οΈ | |
---|---|---|
4 | 244 | |
69 | 16,213 | |
- | 1.8% | |
6.4 | 9.3 | |
4 months ago | 5 days ago | |
JavaScript | JavaScript | |
- | 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.
eleventy πβ‘οΈ
-
Converting BlogCFC blog to Eleventy
This post outlines the steps for migrating an existing BlogCFC blog to a JamStack, with a focus on using Eleventy.
-
Ask HN: What's the simplest static website generator?
I suggest you to try out eleventhy (https://www.11ty.dev/)
Quite simple to start, and a nice system to add some scripting and styles without the requirement of bringing in a framework.
-
Eleventy - Create a global production flag
A production flag enables you to run activities in dev or production such as minifying assets, showing draft posts, etc. There isn't a built-in flag or function that comes with eleventy (11ty) specifically for this. However we have this info at our fingertips.
-
Ask HN: Looking for lightweight personal blogging platform
I can't recommend Eleventy enough!
https://www.11ty.dev
I converted my WordPress blog to Eleventy 4 years ago and never looked back, it's been delightful!
https://www.joshcanhelp.com/taking-wordpress-to-eleventy/
-
Removing React is just weakness leaving your codebase
Itβs 2024, and you are about to start a new project. Do you reach for React, a framework you know and love or do you look at one of the other hot new frameworks like Astro, Enhance, 11ty, SvelteKit or gasp, plain vanilla Web Components?
-
VS Code - Fix a task automation issue - `The terminal process failed to launch (exit code: 127`
The "dev" script is running the eleventy server in dev mode. The details of the script are not important for this discussion, but to round out the background here is an abbreviated version of my package.json:
-
Eleventy vs. Next.js for static site generation
Eleventy is a fast and powerful SSG that really shines when it comes to pure static site generation because it does not require the loading of a client-side JavaScript bundle in order to serve content.
-
You don't need JavaScript for that
The irony is using a JavaScript-based static site generator to make the site: https://www.11ty.dev
-
Why You Should Write Your Own Static Site Generator
https://doublejosh.com/post/186193119278/metalsmithjs-is-sti...
Then two years ago I needed a more robust SSR system based on React, so I went with GatsbyJS. It's insanely mature and intuitive, but as we all know that community and business is now drying up too. But the framework is still great.
Now everyone sings the praises of NextJS, which can be used for SSR but is intended for applications and active server endpoints. But more complexity doesn't mean better.
I'm keen to try other simple frameworks when the result is a static site. I may give https://www.11ty.dev a shot.
-
From Jason: my custom digital garden in 11ty
11ty is a lightweight static site generator. I chopped up my HTML and used the 11ty starter template called eleventy-base-blog as the structural foundation for the site.
What are some alternatives?
Node.js-Design-Patterns-Third-Edition - Node.js Design Patterns Third Edition, published by Packt
astro - The web framework for content-driven websites. βοΈ Star to support our work!
deno - A modern runtime for JavaScript and TypeScript.
Hugo - The worldβs fastest framework for building websites.
mk2-p4nth3rblog - My personal blog site #BuiltWithEleventy.
SvelteKit - web development, streamlined
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.
Gatsby - The best React-based framework with performance, scalability and security built in.
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.
Publii - The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
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.
Grav - Modern, Crazy Fast, Ridiculously Easy and Amazingly Powerful Flat-File CMS powered by PHP, Markdown, Twig, and Symfony