html-to-image
js-dos
html-to-image | js-dos | |
---|---|---|
9 | 17 | |
5,197 | 972 | |
- | - | |
6.0 | 8.1 | |
19 days ago | 3 days ago | |
TypeScript | TypeScript | |
MIT License | GNU General Public License v3.0 only |
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.
html-to-image
-
nize.pics β create beautiful images of code and screenshots
Thanks! It's built with React (Next.js) and Mantine for the UI components. I'm not sure what you mean with edit systems, but the layers are using react-draggable. The syntax highlighting is powered by shiki and a bunch of exported VS Code themes. The state is handled by zustand, with the undo-redo functionality built on top of it. The code formatting is done with prettier and the image export uses html-to-image.
-
How do I make Design Templates like Canva Templates that are unique but can be modified & exported as an image? Should I use Canvas or WebGL?
DOM with html-to-image for screenshot
- GitHub - bubkoo/html-to-image: Generates an image from a DOM node using HTML5 canvas and SVG.
- Bubkoo/HTML-to-image: Generate an image from a DOM node
-
Trying to save Tweets as PNG, profile pictures display in rendered component, but not in exported PNG. Any ideas?
So I am currently developing a React application using html-to-image to accomplish what I want. Basically, I have created an application that allows the user to input the URL to a Tweet, and then I generate a customizable React component that can ultimately be downloaded as a PNG or SVG. The application looks like this: https://i.imgur.com/qP4zDDO.png
-
Capture HTML element and share it to twitter/reddit/facebook
There are ways of turning a DOM element in to a JPG or PNG. Like the html-to-image package. But I have no idea how you'd let the user share it to Twitter.
-
After 1 YEAR of hard work my NEW Ultimate Web Desktop Environment is ready for launch!!!!! ππ
Peek hover preview of windows
-
I use something like html2canvas to download the image from my webpage, but the quality is so low (300px width). I wonder is it possible to download the image with higher quality (at least 800px width?)?
In my image editor project I use html-to-image. It's a fork of dom-to-image and it has a few extra options. It has canvasWidth and canvasHeight for scaling the output but I'm not sure how they work because I used another setting called pixelRatio, since in my image editor I have an option to save the image to whatever the editor zoom is set to, so I already had the proper scale value and never ended up trying the other to settings.
-
π§’ Stefan's Web Weekly #30
bubkoo/html-to-image β Generates an image from a DOM node using HTML5 canvas and SVG.
js-dos
- Web-Based Turbo Pascal Compiler
- You can now play DOOM and other retro games in Obsidian by downloading the ObsiDOOM plugin!
-
Oregon Trail
Funny timing. I actually just built an in-house server this past Friday to host the original Oregon Trail using js-dos because I don't like poking holes in the content filter for sites like archive.org. I didn't worry too much about copyright, as I assumed it was abandonware at this point.
-
Ask HN: Again: The βI want to do everything but end up doing nothingβ dilemma
Thanks glad you liked it! It's actually not a port but is running on DOS via https://js-dos.com/, same as Doom and Jazz Jackrabbit. I actually have my 8 favorite Shareware games on my website which can all be played.
https://dustinbrett.com/?app=FileExplorer&url=/Users/Public/...
-
Run old software in browser?
Maybe something like https://js-dos.com/ for dos and https://www.emulatorjs.com/ for old game consoles?
-
WebAssembly in my Browser Desktop Environment
DOS Emulation via js-dos
-
5 Insane Features in my OS in the Browser!!! π€―
Adding emulators is something I always wanted to do and I have plans to add more in 2022. For 2021 I was able to add Virtual x86 (.img/.iso), BoxedWine (.exe/.zip), JS-DOS (.exe/.zip) & Ruffle (.swf/.spl). Most of these emulators utilize WebAssembly to run non-JS code.
-
After 1 YEAR of hard work my NEW Ultimate Web Desktop Environment is ready for launch!!!!!
It can indeed run some real windows programs via BoxedWine. I've set it up so you can double click an .exe and it will automatically try and run it, although typically if it needs support dll's then they are all in a zip. For example the zip file for Notepad++ 32-bit x86 can directly run in BoxedWine. You just drag the zip file on, right click and select run in BoxedWine. It can also run DOS apps/games via JS-DOS and has similar mappings for exe/zip. Both emulators make use of WASM as do several other apps, such as the x86 emulator shown in the demo video. My main "OS" is only JS/HTML/CSS written in TypeScript with React/Styled Components.
- JavaScript-DOS: The best API for running DOS programs in browser
What are some alternatives?
html2canvas - Screenshots with JavaScript
dos-game - A Dockerfile for running Docker based DosBox games streamed to a browser client.
dom-to-image - Generates an image from a DOM node using HTML5 canvas
eruda - Console for mobile browsers
react-heat-map - A lightweight calendar heatmap react component built on SVG, customizable version of GitHub's contribution graph.
daedalOS - Desktop environment in the browser
canvg - JavaScript SVG parser and renderer on Canvas
Monaco Editor - A browser based code editor
react-native-picture-puzzle - βοΈ π§© A picture puzzle component.
v86 - x86 PC emulator and x86-to-wasm JIT, running in the browser
wapm-cli - π¦ WebAssembly Package Manager (CLI)