carbonyl
shite
carbonyl | shite | |
---|---|---|
35 | 24 | |
14,164 | 182 | |
- | - | |
0.9 | 7.6 | |
9 months ago | 3 months ago | |
Rust | Shell | |
BSD 3-clause "New" or "Revised" License | 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.
carbonyl
-
Show HN: Consol3 – A 3D engine in the terminal that executes on the CPU
supports WebGL over SSH/MoSH
https://www.brow.sh/docs/introduction/ :
> The terminal client updates and renders in realtime so that, for instance, you can watch videos. It uses the UTF-8 half-block trick () to get 2 colours from every character cell, thus simulating basic graphics.
https://github.com/fathyb/carbonyl :
> Carbonyl originally started as html2svg and is now the runtime behind it.
Always wondered how brew.sh added the brew sprite there; that's real nice.
TIL that e.g. Kitty term can basically framebuffer modified Chrome?
https://github.com/chase/awrit :
> Yep, actual Chromium being rendered in your favorite terminal that supports the Kitty terminal graphics protocol.
FWIW Cloudflare has clientless Remote Browser Isolation that also splits the browser at the rendering engine.
A TUI Manim renderer would be neat. Re: Teaching math with Manim and interactive 3d: https://github.com/bernhard-42/jupyter-cadquery/issues/99
What would you add to make it easier to teach with this entirely CPU + software rendering codebase?
What prompts for learning would you suggest?
- Pixar in a Box, Wikipedia history of CG industry: https://westurner.github.io/hnlog/#comment-36265807
- "Rotate a wireframe cube or the camera perspective with just 2d pixels to paint to; And then rotate the cube about a point other than the origin, and then move the camera while the cube is rotating"
- OTOH, ManimML, Yellowbrick, and the ThreeJS Wave/Particle simulator might be neat with a slow terminal framebuffer too
- Carbonyl browser: a Chromium based browser built to run in a terminal
- New Renderers for GTK
- Browsh: The modern text-based web browser
- Chromium running inside your terminal
- fathyb/carbonyl: Chromium running inside your terminal
-
I'm writing a new web browser for the terminal
or Carbonyl
-
Download files that require authentication using a CLI
have you tried carbonyl? https://github.com/fathyb/carbonyl
-
Show HN: TxtNet Browser – Browse the Web over SMS, No Wi-Fi/Mobile Data Needed
Maybe Carbonyl? (https://github.com/fathyb/carbonyl) It's a chromium browser for the terminal. You could use it as a backend.
-
Using Carbonyl of Browsh in emacs?
I use EWW as a browser in emacs but sometimes I need a browser that is more GUI oriented. I stumbled on two such browsers that can be used in a terminal: Carbonyl and Browsh
shite
-
Ask HN: What's the simplest static website generator?
Pandoc can be your friend. My site maker [1] is built around it.
I think a hundred or so well-chosen lines of your favourite scripting language can do wonders. Mine is ~300 lines of Bash because I over-engineered a thing or two for kicks. The core of it is maybe 50 lines.
[1] https://github.com/adityaathalye/shite
The README documents the architecture and rationale. Maybe it will help you figure out yours. Happy hacking!
-
Useful Uses of Cat
[1] https://evalapply.org
[2] https://github.com/adityaathalye/shite?tab=readme-ov-file#te...
-
500 Lines or Less – Writing a useful program in fewer than 500 line code – AOSA
Bookmarked! These look like amazing study projects; the kind one can copy and learn from. Quite like how they do it in art school. Each one of them looks like it solves a nontrivial problem, and edifies the reader on the basic contours/tenets of the problem/solution space.
I love this kind of stuff, because it shows one _can_ solve a pretty juicy problem with not that much code, honestly. Also because it suggests that the industrial-strength equivalent has a lot more in for use cases, corner cases, and/or optimisations that are not relevant for one's requirements (at least not yet, maybe not ever).
I aspire to write code like that. Useful, concise, but not obtuse. Some of my code is not as significant as those examples, and maybe falls short of my ideals, but it gets a lot done in well under 500 loc. e.g. my website maker in Bash [1] (hot-builds and hot-refreshes without JS), or the JS that drives text art animations for Hanukkah of Data [2].
[1] https://github.com/adityaathalye/shite is about 350 LoC counted this way (excluding the script containing HTML templates).
$ grep -E -v "^$|\\s?#" bin/{events,metadata,templating,utils,hotreload}.sh | wc -l
-
“Make” as a Static Site Generator
I love the code [1]. Mine [2] is a bit over engineered because I wanted hot-reloading (without JS), and it was a delightful yak shave.
But the basic idea is the same --- heredocs for templating, using a plaintext -> html compiler (pandoc in my case), an intermediate CSV for index generation.
Very nice!
[1] https://github.com/karlb/karl.berlin/blob/master/blog.sh
[2] https://github.com/adityaathalye/shite
- FLiP Stack Weekly 28 Jan 2023
- FLiP Stack Weekly 28-Jan-2023
- Show HN: Shite – little hot-reloadin' static site maker from shell
-
Show HN: Shite: The little hot-reloadin' static site maker from shell
xdotool emulates user actions under the X Window System (e.g. typing, mouse around, click etc.).
I'm using it to send keypresses to the browser, as you rightly observe.
So if I want to just reload a page, the browser gets F5.
To GOTO some page, it gets a stream of keystrokes for the URL characters and then Enter.
It's really that simple-minded, and it works!
This case statement covers my usage: https://github.com/adityaathalye/shite/blob/master/bin/hotre...
-
Pandoc [a universal document converter] 3.0
Pandoc powers my little static site maker:
cf. https://github.com/adityaathalye/shite/blob/master/bin/templ...
__shite_templating_compile_source_to_html() {
What are some alternatives?
runlike - Given an existing docker container, prints the command line necessary to run a copy of it.
shell-genie - Your wishes are my commands
winssh-pageant - Bridge to Windows OpenSSH agent from Pageant. This means the openssh agent has the keys and this proxies pageant requests to it.
CameraTraps - PyTorch Wildlife: a Collaborative Deep Learning Framework for Conservation.
nitter - Alternative Twitter front-end
browservice - Browservice: Browse the modern web on historical browsers
SirTunnel - Minimal, self-hosted, 0-config alternative to ngrok. Caddy+OpenSSH+50 lines of Python.
logs-benchmark - Logs performance benchmark repo: Comparing Elastic, Loki and SigNoz
imaginAIry - Pythonic AI generation of images and videos
eaf-browser - A modern, customizable and extensible browser in Emacs