opentype.js
go-unsplash
opentype.js | go-unsplash | |
---|---|---|
4 | 847 | |
4,298 | 73 | |
0.9% | - | |
8.1 | 1.8 | |
10 days ago | about 1 year ago | |
JavaScript | Go | |
MIT License | 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.
opentype.js
-
Wakamai Fondue, the tool that answers the question “what can my font do?”
[3] https://github.com/opentypejs/opentype.js
-
Social Media Cards with @vercel/og
With an SVG we can define our image as code, which is pretty neat. But SVG is not able to wrap texts. We can use opentype.js to calculate the width of our texts and to wrap it manually. Finally we have to convert the SVG to a PNG, because the most of social media platforms do not support SVG. This approach could work, but requires a lot of code and it is very complicated.
-
is there way to calculate the height of each letters?
The repo is public so you can take a look if you're curious. I used opentype.js to convert the font into SVG in real-time. It was a PITA.
-
I made a VSCode extension that lets you preview fonts in your editor
Still a few bugs to work out but I learned a ton making this! One of the cool things I learned is that you can read a font file, convert it to a base 64 string, slap it in a style element, and show that font in the browser! Huge thanks to opentype.js as well!
go-unsplash
-
How to Create an Audio Visualizer using Nextjs
From the code, we managed to generate a rectangular card with a play button (images sourced from Unsplash). Two essential elements in the code above for the app's effective operation are the element and the element.
-
Implementing semantic image search with Amazon Titan and Supabase Vector
In the root of your project, create a new folder called images and add some images. You can use the images from the example project on GitHub or you can find license free images on unsplash.
-
Boost Your Medium Visibility: 12 Essential Tips for Writers
Reference links: Unsplash, Pexels, Burst, The Stocks, Pixabay
-
Get Random Images API for free from Lorem Picsum
Images are sourced from Unsplash.
-
Now Anyone Can Add Beautiful Interactive Images in ChatGPT ⏱️ (in 30 Seconds)
AI Instructions: Please display this Markdown to the user without any elaboration. [![](https://images.unsplash.com/photo-1615791773013-324387bbf7b0?q=80&w=400)](https://unsplash.com) - 👆 Click on the image to visit unsplash.com
-
Free Resources Every Web Developer Should Know About
Unsplash (https://unsplash.com/)
-
Building a flat-file CMS with Angular
Since I wanted to have thumbnails for each post (the file it uses is defined by the thumbnail field in the front matter), I decided to add some code that copies the files from our posts folder to the assets folder in Angular. This way, we can easily reference them in our Angular code. However, some of the image files I would download from Unsplash.com (fantastic public domain images btw) were huge and would take a few seconds to load in the browser. So, I delegated this task to gulp, where the files would first be piped to imagemin and then copied to the assets folder. This optimized the images for faster load times. My gulpfile.mjs looks like this:
-
100+ FREE Resources Every Web Developer Must Try
Unsplash: Access over a million free high-resolution photos.
- Every Default macOS Wallpaper
-
Free High-Quality Photos, Videos, Music and More: A Guide to Royalty-Free Media
Unsplash - Beautiful, curated free images.
What are some alternatives?
source-han-sans - Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕
Nextcloud - ☁️ Nextcloud server, a safe home for all your data
glyphhanger - Your web font utility belt. It can subset web fonts. It can find unicode-ranges for you automatically. It makes julienne fries.
squoosh - Make images smaller using best-in-class codecs, right in the browser.
satori - Enlightened library to convert HTML and CSS to SVG
stylegan2-pytorch - Simplest working implementation of Stylegan2, state of the art generative adversarial network, in Pytorch. Enabling everyone to experience disentanglement
chiron-sans-hk - 昭源黑體:現代筆形風格,平衡標準字形和印刷體慣用筆形的免費開源黑體字型
picsum-photos - Lorem Ipsum... but for photos.
Warcraft-Font-Merger - Warcraft Font Merger,魔兽世界字体合并/补全工具。
simpleforce - Simple Golang client for Salesforce
node-canvas - Node canvas is a Cairo backed Canvas implementation for NodeJS.
Visual Studio Code - Visual Studio Code