satori
developer-roadmap
satori | developer-roadmap | |
---|---|---|
36 | 2,112 | |
10,146 | 275,643 | |
2.0% | - | |
7.0 | 9.8 | |
about 2 months ago | 4 days ago | |
TypeScript | TypeScript | |
Mozilla Public License 2.0 | GNU General Public License v3.0 or later |
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.
satori
-
Creating an OG image using React and Netlify Edge Functions
View on GitHub
-
Show HN: Dropflow, a CSS layout engine for node or <canvas>
I've used satori [0] on the backend with TypeScript/Deno to render JSX as an SVG (which is then rendered to a PNG).
Satori is meant for rendering Open Graph images (e.g. the little images that come up when you post a link on Twitter/Slack/Facebook), but I found that it works well for rendering arbitrary images. It supports a subset of modern CSS, including flexbox.
My use case is posting match reports for League of Legends into a Discord text channel, e.g. person X just played a match, here are their stats.
It's quite nice because there are almost zero server-side native dependencies (the one exception is the library to convert svg -> png requires some native libraries).
Here's what a match report looks like: [1]
Here's an example of what the JSX looks like: [2]
[0]: https://github.com/vercel/satori
[1]: https://github.com/shepherdjerred/glitter/blob/main/assets/p...
[2]: https://github.com/shepherdjerred/glitter/blob/main/packages...
-
Learn SVG with 25 examples – How to code images in HTML
Another way is to write HTML/CSS and use satori [0] to convert that to SVG. It's meant for Open Graph images (the images that show up when you link a site in Discord, Slack, Twitter, etc.), but it works quite well for anything.
This is obviously not as flexible as true SVG, but it is familiar to author for anyone who's written a React application. I've used it on the backend to generate match reports for League of Legends [1]
[0]: https://github.com/vercel/satori
[1]: https://github.com/shepherdjerred/glitter-boys
-
Open-graph image generation with Astro
Install the @vercel/og package. This library is designed to convert React code into PNG images. It is built on Satori, a library that converts HTML and CSS into SVGs.
-
All you need to know about metadata in next.js 13 by Anik Routh
Examples are available in the Vercel OG Playground.
-
Making Dynamic Website Thumbnail
In this version, we no longer use Puppeteer to capture HTML and return images. Instead, we utilize the @vercel/og library, which employs Satori as its core engine. Satori is a library that converts HTML and CSS into SVG.
-
Generate Dynamic Open Graph and Twitter Images in Next.js
This is made possible thanks to the Dynamic Open Graph Image Generation feature introduced with Next.js version 13.3, and the new Metadata API. In summary, it involves generating images using code (in our case, TSX, HTML, and CSS) with the help of the libraries @vercel/og (already integrated in the App router) and Satori. Satori converts HTML and CSS to SVG, and then resvg-js converts the SVG to a PNG image. All of this in just a few milliseconds!
-
How to generate dynamic OG image using new NextJs with App directory
Here you are returning an ImageResponse instead of the Response, alternatively you can also extend the request and response web api using 'NextRequest' and 'NextRespone', to do that you can import them using import { NextResponse, NextRequest } from 'next/server';, though for this example it is not required. Now if you refresh your browser you will get an image generated by your 'route.js' at request time. Well we are almost done. You can render whatever dynamic data in your image you want and customize your image using og playground, you can even generate 'SVG' on request as the og image. For this example we will fetch a random number from random.org api, then we will use that number as an id and fetch an image from Lorem Picsum, with the same image url we will fetch the description for the image from the Alt Image Generator and generate an image on request with the image that we fetched and the description we have fetched and use it in a design to create the og image. Kind of like that.
-
x-satori --- using Vue file to generate Open Graph SVG or PNG by satori
Use Vue files to generate SVG images by Satori. The image can be generated by running ESM script or CLI.
-
Printing Django view with chart.js graphs, in a PDF
I'm not familiar with it but looks like it's made with nodejs, node uses the same js engine used by chrome, node renders the template and converts it to plain html/css and then they use this library to convert it to png but in the library github page it says that they don't support everything so it's kinda similar to xhtml2pdf or weasyprint
developer-roadmap
-
How to start learning web development for free
Learning the basics of web development opens doors to many other careers in the tech field. Roadmap.sh provides guides, learning paths, and roadmaps to point developers in a direction of their choosing.
-
5 Uncommon Advices from one beginner coder to another beginner coder!
There's a website I personally follow specific for roadmaps called as “roadmap.sh” where all the roadmaps are available. You can check it out, if you like. Here's the link: ▶️ https://roadmap.sh/
-
Programming vs Web Development
If you're starting your journey in web development, here is a roadmap to follow. Understand that Web development is not merely an extension of programming; it's a distinct field that requires a unique blend of coding and visual design skills. Embrace the importance of visual aesthetics from the get-go, and continuously work on improving your design sense. Trust me it will pay off in the long run, and you'll be able to create truly exceptional web experiences that not only function well but also look and feel amazing.
-
Developer should-know websites
Github developer roadmaps (backend, frontend, cloud ...)
-
Unique websites for the Developer - TechGenieDev
Roadmap.sh (https://roadmap.sh/)
-
Top 10 GitHub Repositories Every Web Developer Should Know
Web Developer-Roadmap GitHub Link: developer-roadmap Crafted by kamranahmedse, this roadmap acts as a compass for developers navigating the vast landscape of technologies. Covering front-end, back-end, and DevOps, it aids developers in charting a learning path aligned with their goals.
-
10 GitHub repositories that every developer must follow
✅ kamranahmedse/developer-roadmap: https://github.com/kamranahmedse/developer-roadmap
-
ChatGPT as a Programming Mentor: A Test Drive
It may also be beneficial to start with a high-level overview of what there is to learn in a given area, to understand the overall lay of the land - and then use ChatGPT to dig deeper into selected topics. There are many good resources that provide such an overview, like roadmap.sh or my "Definitive Guide to Succeeding as a Professional Dev".
- 18 Must-Bookmark GitHub Repositories Every Developer Should Know
-
Resources I wish I knew when I started my career
5. Roadmap
What are some alternatives?
Tailwind CSS - A utility-first CSS framework for rapid UI development.
C++ Workflow - C++ Parallel Computing and Asynchronous Networking Framework
html2canvas - Screenshots with JavaScript
computer-science - :mortar_board: Path to a free self-taught education in Computer Science!
tremor - React components to build charts and dashboards
freeCodeCamp - freeCodeCamp.org's open-source codebase and curriculum. Learn to code for free.
canvas2svg - Translates HTML5 Canvas draw commands to SVG
data-engineer-roadmap - Roadmap to becoming a data engineer in 2021
SVG-to-PDFKit - Insert SVG into a PDF document created with PDFKit
substrate - Substrate: The platform for blockchain innovators
yoga - Yoga is an embeddable layout engine targeting web standards.
system-design-primer - Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.