treesit-auto
astro
treesit-auto | astro | |
---|---|---|
8 | 508 | |
328 | 43,154 | |
- | 1.9% | |
8.2 | 10.0 | |
23 days ago | 4 days ago | |
Emacs Lisp | TypeScript | |
GNU General Public License v3.0 only | 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.
treesit-auto
-
Setting up Doom Emacs for Astro Development
Or you can take the red pill and use treesit-auto and automatically install the language grammar.
- treesit-auto: Automatic installation, usage, and fallback for tree-sitter major modes in Emacs 29
-
How to use tree-sitter for syntax highlighting in Emacs 29+?
So far I've been using tree-sitter.el with the tree-sitter-hl-mode for syntax highlighting. As far as I understand, Tree Sitter is now built-into Emacs 29 and above as treesit (https://github.com/emacs-mirror/emacs/blob/master/admin/notes/tree-sitter/starter-guide), which makes tree-sitter.el obsolete. There is also this package https://github.com/renzmann/treesit-auto which seems to handle the installation, mapping and activation of the language modes.
-
Emacs 29 included tree-sitter doesn't highlight as much as third party tree-sitter package
If you want it to use the ts modes by default then you'll have to adjust the major-mode-remap-alist variable. Or give the treesit-auto package a shot.
- treesit-auto: Automatically pick between TreeSitter and default major modes in Emacs 29+
-
(Small) breaking changes in treesit-auto 0.5
Over the last couple weeks while putting the treesit-auto package together it gained adoption much faster than I had expected. While I'm incredibly happy others found it useful, that also means that many assumptions in my hacky code were quickly blown apart. Also, in no small part due to my poor documentation, it was confusing to figure out exactly how/what would be supported when trying to add a new language.
-
treesit-auto 0.3: Now with automatic installation of tree-sitter grammars
GitHub for treesit-auto Original announcement of treesit-auto Blog post that inspired treesit-auto
-
Getting Emacs 29 to Automatically Use Tree-sitter Modes · robbmann
/u/casouri posted an article recently about getting started with tree-sitter. Unfortunately, it mentioned that automatic switching between those tree-sitter modes and the default modes (e.g. between python-mode and python-ts-mode won't be coming just yet, but there was a suggested workaround. I took a slightly different approach from what was outlined, and wound up with treesit-auto.el, which is customizable, and I think hits all the intended behavior.
astro
-
Website Optimization Using Strapi, Astro.js and OpenAI
We'll use several interesting technologies to achieve this: Strapi CMS to take care of the content management and backend, Astro which is a great new technology for quickly creating blazing fast frontend apps, and ChatGPT to provide the article summaries.
-
Composable architecture example: Go headless (best practices)
Astro
-
Building static websites
Case study 4: Astro
-
Setting up Doom Emacs for Astro Development
Astro is the new hot new web framework on the block. All the cool kids are using it. I've recently given up, drank the Kool-Aid, and gone all in on it.
-
Building a self-creating website with Supabase and AI
Built with Supabase, Astro, Unreal Speech, Stable Diffusion, Replicate, Metropolitan Museum of Art
-
The Subtle Case For and Against React
Astro to use every framework at once instead of just react? https://astro.build/
-
Run a Linux Distro in your Android device
Depending on the stack of the repository you are cloning, you might have to install additional dependencies. For this demo, I'm using my own website, which is a static website built with Astro.js. It which requires to have Node.js installed and Yarn for package manager.
-
Ask HN: Freelance website builders/maintainers, what's in your 2024 toolkit?
Database: turso [7] or neon postgres [8] with (drizzle orm) or cloudflare durable objects
1. https://github.com/withastro/astro
-
Ask HN: What's the simplest static website generator?
Maybe a bit too elaborate for your taste, but I've used https://astro.build/ and loved every bit of it.
-
How to Integrate Astro With ApostropheCMS pt. 1
Astro is an open-source JavaScript framework known for its versatility, performance, and new approach to web development. It enables developers to create fast, modern, content-rich web applications and sites using the "Bring Your Own Framework" (BYOF) model.
What are some alternatives?
tree-sitter-module - Building script for tree-sitter language definitions
qwik - Instant-loading web apps, without effort
GNU Emacs - Mirror of GNU Emacs
vite - Next generation frontend tooling. It's fast!
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
eleventy 🕚⚡️ - A simpler site generator. Transforms a directory of templates (of varying types) into HTML.
tree-sitter - An incremental parsing system for programming tools
Hugo - The world’s fastest framework for building websites.
SvelteKit - web development, streamlined
fresh - The next-gen web framework.
Nuxt.js - Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt]
Gatsby - The best React-based framework with performance, scalability and security built in.