blaze.nvim

๐Ÿ”ฅ for Neovim

https://github.com/qompassai/blaze.nvim

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • โœ“
    CITATION.cff file
    Found CITATION.cff file
  • โœ“
    codemeta.json file
    Found codemeta.json file
  • โœ“
    .zenodo.json file
    Found .zenodo.json file
  • โ—‹
    DOI references
  • โœ“
    Academic publication links
    Links to: arxiv.org, researchgate.net, zenodo.org
  • โ—‹
    Committers with academic emails
  • โ—‹
    Institutional organization owner
  • โ—‹
    JOSS paper metadata
  • โ—‹
    Scientific vocabulary similarity
    Low similarity (6.8%) to scientific vocabulary

Keywords

ai lua neovim qompassai

Keywords from Contributors

equator jj
Last synced: 4 months ago · JSON representation ·

Repository

๐Ÿ”ฅ for Neovim

Basic Info
  • Host: GitHub
  • Owner: qompassai
  • License: agpl-3.0
  • Language: Lua
  • Default Branch: main
  • Size: 266 KB
Statistics
  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 11
Topics
ai lua neovim qompassai
Created 9 months ago · Last pushed 4 months ago
Metadata Files
Readme Funding License Citation Zenodo

README.md

Qompass AI blaze.nvim

A blazingly fast mojo.vim fork

** **Under Active development expect breaking changes until stable release** ![Repository Views](https://komarev.com/ghpvc/?username=qompassai-blaze.nvim) ![GitHub all releases](https://img.shields.io/github/downloads/qompassai/blaze.nvim/total?style=flat-square)

LuaRocks Downloads

Lua

Lua Documentation

[![LuaRocks Downloads](https://img.shields.io/luarocks/dt/phaedrusflow/blaze.nvim?color=blue&label=LuaRocks%20downloads)](https://luarocks.org/modules/phaedrusflow/blaze.nvim)

Lua
Lua Documentation Lua Tutorials
Mojo
Mojo Documentation License: AGPL v3 License: Q-CDA

Lua Tutorials

๐Ÿ”ฅ How to Light Up Blaze.nvim
## ๐Ÿ“ฆ Features * โค๏ธโ€๐Ÿ”ฅ Full integration with Modular's Magic-CLI & Pixi * ๐Ÿ”ฅ Tree-sitter support via `blaze-ts.nvim` * ๐Ÿ’ก Autoformatting with `๐Ÿ”ฅ-fmt` * ๐Ÿงช Diagnostics with `null-ls` * ๐Ÿž Debugging via DAP * ๐ŸŒฒ Query files: `highlights.scm`, `indents.scm`, etc. * ๐Ÿ’‰ LSP integration * โœ… Healthcheck via `:Fever` *** ## โš™๏ธ How to setup ๐Ÿ”ฅ syntax highlighting 1. Add Mojo config files to your Neovim config: ```bash for FOLDER in autoload ftdetect ftplugin indent syntax; do mkdir -p ~/.config/nvim/$FOLDER && ln -s $FOLDER/blaze.nvim ~/.config/nvim/$FOLDER/blaze.nvim done ``` 2. Add to your `init.lua` or plugin loader: ```lua -- ๐Ÿ“ ~/.config/nvim/lua/plugins/init.lua -- If you're using lazy.nvim or packer.nvim, this goes in your plugin spec list: ``` ```lua -- ๐Ÿ‘‰ For lazy.nvim { "qompassai/blaze.nvim" } ``` ```lua -- ๐Ÿ‘‰ For packer.nvim use { "qompassai/blaze.nvim", requires = { "qompassai/blaze-ts.nvim", "neovim/nvim-lspconfig", "mfussenegger/nvim-dap", "rcarriga/nvim-dap-ui", "mfussenegger/nvim-dap-python", }, config = function() require("blaze").setup() end, ft = { "mojo", "๐Ÿ”ฅ" } } ``` ```lua -- ๐Ÿ‘‰ Manual Lua setup in your config (e.g., ~/.config/nvim/init.lua or after plugin loads) require("blaze.config").setup({ format_on_save = true, enable_linting = true, keymaps = true, -- Optional which-key mappings }) ``` ## ๐Ÿ“Š Lualine Integration (Still in development) ```lua require("lualine").setup({ sections = { lualine_c = { "filename", require("blaze.lualine").blaze_status, }, }, }) ``` ## Health Check ````lua ## ๐ŸŒก๏ธ Healthcheck Run the following to validate setup: ```lua :Fever ```` Youโ€™ll see: ``` ๐ŸŒฒ Tree-sitter parser availability ๐Ÿ”ฅ Mojo file ๐Ÿ”ฅ-ls LSP active ๐Ÿ”ฅ-fmt Formatter available ๐Ÿ”ฅ-lint Linter available ๐Ÿ”ฅ-dap Debugger attached ``` *** ## ๐Ÿง  Which-Key Mappings If `keymaps = true`, the following mappings are automatically registered: | Mapping | Description | | ------------ | ---------------------------- | | `fm` | Format Mojo file | | `fh` | Run healthcheck via `:Fever` | *** ## ๐Ÿ” Plugin Structure | Path | Purpose | | -------------------------- | ------------------------------------- | | `lua/blaze/autocmds/` | Paired commands | | `lua/blaze/container.lua` | Rootless Containers for Magic-Docker | | `lua/blaze/dap.lua` | Debug adapter setup via `nvim-dap` | | `lua/blaze/formatting.lua` | Handles formatting with `mojo format` | | `lua/blaze/health.lua` | ๐Ÿ”ฅ Which-Key Bindings | | `lua/blaze/keymaps.lua` | Which-Key bindings | | `lua/blaze/linting.lua` | Integrates with `nvim-lint` | | `lua/blaze/magic.lua` | Magic integration | | `lua/blaze/pixi.lua` | Pixi integration | ## ๐Ÿงฐ Dependencies * [`nvim-dap`](https://github.com/mfussenegger/nvim-dap) * [`nvim-treesitter`](https://github.com/nvim-treesitter/nvim-treesitter) * ['blaze-ts.nvim'](https://github.com/qompassai/blaze-ts.nvim) * * Optional (But recommended) * [magic-docker](https://github.com/modular/magic-docker) * \[Pixi]\(cargo install --locked --git https://github.com/prefix-dev/pixi.git [Magic](https://docs.modular.com/magic/) ## ๐Ÿ“„ License This plugin is dual-licensed under the AGPL-3 and Q-CDA licenses. See [LICENSE](/.LICENSE-AGPL) & [LICENSE-AGPL](./LICENSE) for details. Derived from: * [Modular](https://github.com/modular) * [mojo.vim](https://github.com/modularml/mojo.vim) (Apache-2.0) * [mojo-syntax](https://github.com/ovikrai/mojo-syntax) (MIT) * [pixi](https://github.com/modular/pixi) (BSD-3) * [magic-docker](https://github.com/modular/magic-docker) See [LICENSE-Apache-2.0](./LICENSE-Apache-2.0) and [LICENSES/NOTICE](./LICENSES/NOTICE). ## ๐Ÿงญ Attribution * Built by [Qompass AI](https://github.com/qompassai) * Grammar derived from `mojo.vim` & custom Tree-sitter parser * Mojo-LSP applied from 'nvim-lspconfig\`(https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/configs/mojo.lua) * Maintained by [Qompass AI](https://qompass.ai)/(https://github.com/phaedrusflow) ***
๐Ÿงญ About Qompass AI

Matthew A. Porter
Former Intelligence Officer
Educator & Learner
DeepTech Founder & CEO

Publications

ORCID ResearchGate Zenodo

Developer Programs

[![NVIDIA Developer](https://img.shields.io/badge/NVIDIA-Developer_Program-76B900?style=for-the-badge\&logo=nvidia\&logoColor=white)](https://developer.nvidia.com/) [![Meta Developer](https://img.shields.io/badge/Meta-Developer_Program-0668E1?style=for-the-badge\&logo=meta\&logoColor=white)](https://developers.facebook.com/) [![HackerOne](https://img.shields.io/badge/-HackerOne-%23494649?style=for-the-badge\&logo=hackerone\&logoColor=white)](https://hackerone.com/phaedrusflow) [![HuggingFace](https://img.shields.io/badge/HuggingFace-qompass-yellow?style=flat-square\&logo=huggingface)](https://huggingface.co/qompass) [![Epic Games Developer](https://img.shields.io/badge/Epic_Games-Developer_Program-313131?style=for-the-badge\&logo=epic-games\&logoColor=white)](https://dev.epicgames.com/)

Professional Profiles

Personal LinkedIn Startup LinkedIn

Social Media

X/Twitter Instagram Qompass AI YouTube

๐Ÿ”ฅ How Do I Support
๐Ÿ›๏ธ Qompass AI Pre-Seed Funding 2023-2025 ๐Ÿ† Amount ๐Ÿ“… Date
RJOS/Zimmer Biomet Research Grant $30,000 March 2024
Pathfinders Intern Program
View on LinkedIn
$2,000 October 2024

๐Ÿค How To Support Our Mission

[![GitHub Sponsors](https://img.shields.io/badge/GitHub-Sponsor-EA4AAA?style=for-the-badge\&logo=github-sponsors\&logoColor=white)](https://github.com/sponsors/phaedrusflow) [![Patreon](https://img.shields.io/badge/Patreon-Support-F96854?style=for-the-badge\&logo=patreon\&logoColor=white)](https://patreon.com/qompassai) [![Liberapay](https://img.shields.io/badge/Liberapay-Donate-F6C915?style=for-the-badge\&logo=liberapay\&logoColor=black)](https://liberapay.com/qompassai) [![Open Collective](https://img.shields.io/badge/Open%20Collective-Support-7FADF2?style=for-the-badge\&logo=opencollective\&logoColor=white)](https://opencollective.com/qompassai) [![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-Support-FFDD00?style=for-the-badge\&logo=buy-me-a-coffee\&logoColor=black)](https://www.buymeacoffee.com/phaedrusflow)
๐Ÿ” Cryptocurrency Donations **Monero (XMR):**
Monero QR Code
42HGspSFJQ4MjM5ZusAiKZj9JZWhfNgVraKb1eGCsHoC6QJqpo2ERCBZDhhKfByVjECernQ6KeZwFcnq8hVwTTnD8v4PzyH

Funding helps us continue our research at the intersection of AI, healthcare, and education

Frequently Asked Questions ### Q: How do you mitigate against bias? **TLDR - we do math to make AI ethically useful** ### A: We delineate between mathematical bias (MB) - a fundamental parameter in neural network equations - and algorithmic/social bias (ASB). While MB is optimized during model training through backpropagation, ASB requires careful consideration of data sources, model architecture, and deployment strategies. We implement attention mechanisms for improved input processing and use legal open-source data and secure web-search APIs to help mitigate ASB. [AAMC AI Guidelines | One way to align AI against ASB](https://www.aamc.org/about-us/mission-areas/medical-education/principles-ai-use) ### AI Math at a glance ## Forward Propagation Algorithm $$ y = w_1x_1 + w_2x_2 + ... + w_nx_n + b $$ Where: - $y$ represents the model output - $(x_1, x_2, ..., x_n)$ are input features - $(w_1, w_2, ..., w_n)$ are feature weights - $b$ is the bias term ### Neural Network Activation For neural networks, the bias term is incorporated before activation: $$ z = \\sum\_{i=1}^{n} w_ix_i + b $$ $$ a = \\sigma(z) $$ Where: - $z$ is the weighted sum plus bias - $a$ is the activation output - $\\sigma$ is the activation function ### Attention Mechanism- aka what makes the Transformer (The "T" in ChatGPT) powerful - [Attention High level overview video](https://www.youtube.com/watch?v=fjJOgb-E41w) - [Attention Is All You Need Arxiv Paper](https://arxiv.org/abs/1706.03762) The Attention mechanism equation is: $$ \\text{Attention}(Q, K, V) = \\text{softmax}\\left( \\frac{QK^T}{\\sqrt{d_k}} \\right) V $$ Where: - $Q$ represents the Query matrix - $K$ represents the Key matrix - $V$ represents the Value matrix - $d_k$ is the dimension of the key vectors - $\\text{softmax}(\\cdot)$ normalizes scores to sum to 1 ### Q: Do I have to buy a Linux computer to use this? I don't have time for that! ### A: No. You can run Linux and/or the tools we share alongside your existing operating system: - Windows users can use Windows Subsystem for Linux [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) - Mac users can use [Homebrew](https://brew.sh/) - The code-base instructions were developed with both beginners and advanced users in mind. ### Q: Do you have to get a masters in AI? ### A: Not if you don't want to. To get competent enough to get past ChatGPT dependence at least, you just need a computer and a beginning's mindset. Huggingface is a good place to start. - [Huggingface](https://docs.google.com/presentation/d/1IkzESdOwdmwvPxIELYJi8--K3EZ98_cL6c5ZcLKSyVg/edit#slide=id.p) ### Q: What makes a "small" AI model? ### A: AI models ~=10 billion(10B) parameters and below. For comparison, OpenAI's GPT4o contains approximately 200B parameters.
What a Dual-License Means ### Protection for Vulnerable Populations The dual licensing aims to address the cybersecurity gap that disproportionately affects underserved populations. As highlighted by recent attacks[1], low-income residents, seniors, and foreign language speakers face higher-than-average risks of being victims of cyberattacks. By offering both open-source and commercial licensing options, we encourage the development of cybersecurity solutions that can reach these vulnerable groups while also enabling sustainable development and support. ### Preventing Malicious Use The AGPL-3.0 license ensures that any modifications to the software remain open source, preventing bad actors from creating closed-source variants that could be used for exploitation. This is especially crucial given the rising threats to vulnerable communities, including children in educational settings. The attack on Minneapolis Public Schools, which resulted in the leak of 300,000 files and a $1 million ransom demand, highlights the importance of transparency and security[8]. ### Addressing Cybersecurity in Critical Sectors The commercial license option allows for tailored solutions in critical sectors such as healthcare, which has seen significant impacts from cyberattacks. For example, the recent Change Healthcare attack[4] affected millions of Americans and caused widespread disruption for hospitals and other providers. In January 2025, CISA[2] and FDA[3] jointly warned of critical backdoor vulnerabilities in Contec CMS8000 patient monitors, revealing how medical devices could be compromised for unauthorized remote access and patient data manipulation. ### Supporting Cybersecurity Awareness The dual licensing model supports initiatives like the Cybersecurity and Infrastructure Security Agency (CISA) efforts to improve cybersecurity awareness[7] in "target rich" sectors, including K-12 education[5]. By allowing both open-source and commercial use, we aim to facilitate the development of tools that support these critical awareness and protection efforts. ### Bridging the Digital Divide The unfortunate reality is that too many individuals and organizations have gone into a frenzy in every facet of our daily lives[6]. These unfortunate folks identify themselves with their talk of "10X" returns and building towards Artificial General Intelligence aka "AGI" while offering GPT wrappers. Our dual licensing approach aims to acknowledge this deeply concerning predatory paradigm with clear eyes while still operating to bring the best parts of the open-source community with our services and solutions. ### Recent Cybersecurity Attacks Recent attacks underscore the importance of robust cybersecurity measures: - The Change Healthcare cyberattack in February 2024 affected millions of Americans and caused significant disruption to healthcare providers. - The White House and Congress jointly designated October 2024 as Cybersecurity Awareness Month. This designation comes with over 100 actions that align the Federal government and public/private sector partners are taking to help every man, woman, and child to safely navigate the age of AI. By offering both open source and commercial licensing options, we strive to create a balance that promotes innovation and accessibility. We address the complex cybersecurity challenges faced by vulnerable populations and critical infrastructure sectors as the foundation of our solutions, not an afterthought. ### References

Owner

  • Name: Qompass
  • Login: qompassai
  • Kind: organization
  • Email: map@qompass.ai
  • Location: United States of America

Cost-Conscious GenAI Microservices

Citation (CITATION.cff)

cff-version: 1.2.0
title: "blaze.nvim"
authors:
  - family-names: "Porter"
    given-names: "Matthew A."
    orcid: "https://orcid.org/0000-0002-0302-4812"
    affiliation: "Qompass AI"
version: "2025-08-20"
date-released: "2025-08-20"
repository-code: "https://github.com/qompassai/blaze.nvim"
message: "If you use this software, please cite it as below."
abstract: '๐Ÿ”ฅ for Neovim'

GitHub Events

Total
  • Release event: 7
  • Watch event: 1
  • Delete event: 1
  • Push event: 46
  • Create event: 11
Last Year
  • Release event: 7
  • Watch event: 1
  • Delete event: 1
  • Push event: 46
  • Create event: 11

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 64
  • Total Committers: 4
  • Avg Commits per committer: 16.0
  • Development Distribution Score (DDS): 0.484
Past Year
  • Commits: 61
  • Committers: 3
  • Avg Commits per committer: 20.333
  • Development Distribution Score (DDS): 0.459
Top Committers
Name Email Commits
Qompass Current c****t@q****i 33
phaedrusflow m****p@q****i 18
QompassBot b****t@q****i 10
Nick Kreeger n****r@g****m 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 5 months ago


Dependencies

package.json npm
  • @highlightjs/cdn-assets ^11.11.1
.github/workflows/fh.yml actions
  • DeterminateSystems/flakehub-push main composite
  • DeterminateSystems/nix-installer-action main composite
  • actions/checkout v4 composite
.github/workflows/flakehub-publish-rolling.yaml actions
  • DeterminateSystems/determinate-nix-action v3 composite
  • DeterminateSystems/flakehub-push main composite
  • actions/checkout v4 composite
.github/workflows/main.yml actions
  • actions/checkout v4 composite