9 repository-uri
Plugins for modifying source code and template processing.
Explore 9 awesome GitHub repositories matching part of an awesome list · Code Transformers. Refine with filters or upvote what's useful.
GoGoCode is an AST-based code transformation toolkit that enables developers to query, match, and rewrite JavaScript source code using jQuery-style selectors and wildcard patterns. At its core, it provides a programmatic code refactoring library that manipulates parsed AST nodes, allowing precise structural modifications without worrying about formatting differences. The toolkit also functions as a JavaScript AST query engine, finding code patterns through snippet-based matching with wildcards that capture unknown or variable-length fragments. What distinguishes GoGoCode is its callback-drive
Adds new statements before, after, or inside matched code blocks using positional insertion methods.
ComponentKit is a declarative UI framework for building iOS interfaces through composition of small, reusable components. It provides a structured approach to constructing user interfaces where each component is defined as an immutable, pure function of its inputs, enabling predictable rendering and state management. The framework supports both stateless and stateful components, with controllers that can be attached to manage persistent state across component updates. The framework distinguishes itself through its component architecture that emphasizes explicit data flow and compile-time safe
Tracks insertion positions from component state to avoid race conditions with the list view.
Farm is a Rust-based web build tool and development server that compiles JavaScript, TypeScript, CSS, HTML, and static assets into optimized bundles. It uses a module-graph-based bundling approach with persistent module-level caching, enabling near-instant builds and sub-20ms hot module replacement during development. The tool processes assets based on file extensions, handling CSS, Sass, Less, PostCSS, HTML, and images as first-class modules without requiring JavaScript transformation. Farm distinguishes itself through its Vite-compatible plugin system, accepting Vite, Rollup, and Unplugin p
Modifies final bundled code of a resource pot, such as replacing placeholder strings before output.
Pyarmor este un set de instrumente pentru protejarea software-ului Python prin ofuscarea codului sursă, protecția bytecode-ului și compilarea binară. Funcționează ca un ofuscator de cod, protector de bytecode și compilator binar conceput pentru a preveni ingineria inversă și accesul neautorizat la scripturile și pachetele Python. Proiectul se distinge prin furnizarea unui manager de licențe software cuprinzător care permite licențierea legată de hardware. Acest lucru permite dezvoltatorilor să blocheze execuția scripturilor pe dispozitive fizice sau mașini virtuale specifice și să impună date de expirare stricte prin chei de runtime criptate. Capabilitățile sale mai largi acoperă distribuția securizată prin generarea de wheels ofuscate și executabile independente pentru mai multe platforme. Suprafața de securitate include verificări de integritate la runtime, cum ar fi prevenirea atașării debugger-ului, protecția la nivel de memorie și conversia funcțiilor Python în extensii C compilate. Instrumentul include o interfață în linie de comandă și suportă integrarea în pipeline-uri de integrare continuă (CI) pentru a automatiza procesul de ofuscare în timpul build-urilor.
Employs specialized transformation modes to harden scripts and restrict execution environments.
Acest proiect este un asistent AI pentru Visual Studio Code care utilizează un model de limbaj mare pentru a genera cod și a răspunde la interogări de programare. Funcționează ca un generator de cod și asistent, permițând inserarea fragmentelor generate de AI direct în fișierele sursă active și oferind o interfață conversațională printr-un chat în panoul lateral. Extensia facilitează refactorizarea structurală, optimizarea și depanarea blocurilor de cod selectate prin prompturi în limbaj natural. De asemenea, generează explicații în limbaj natural și documentație tehnică pentru segmente de cod complexe fără a necesita ca utilizatorul să părăsească mediul de dezvoltare. Instrumentul gestionează starea conversației pentru a oferi memorie pe termen scurt pentru interogări ulterioare și interacționează cu editorul prin paleta de comenzi și meniurile contextuale. Preia textul evidențiat pentru a oferi context pentru transformări și modifică buffer-ul editorului activ pentru a insera conținut la poziția cursorului. Interfața este randată folosind un mediu de chat bazat pe webview în panoul lateral al editorului.
Calculates active cursor coordinates to inject AI-generated content directly into the source file.
Cherry Markdown is a web-based Markdown editor and parsing engine that converts markup text into sanitized HTML with a real-time synchronized preview pane. It functions as a rich text interface and WYSIWYG tool, providing a system for transforming markup strings into HTML documents or portable formats. The project distinguishes itself through high-performance rendering and a flexible extensibility model. It uses virtual DOM diffing and partial rendering to maintain responsiveness in large documents, and it allows for the creation of custom parsing rules and specialized HTML components via a p
Inserts specific text or formatted Markdown syntax directly at the user's active cursor position.
This is a collection of official extensions for the Rollup bundling process. These plugins serve as module transformers, resolution managers, and bundle optimizers designed to modify how JavaScript modules are processed, resolved, and optimized. The suite provides specialized capabilities for modern web transpilation, converting TypeScript, JSX, Flow, and GraphQL into compatible JavaScript. It distinguishes itself through extensive non-JavaScript asset integration, allowing the import of JSON, YAML, CSV, and image files as JavaScript modules or data URIs, and providing support for bundling We
Applies code transformations to final bundled chunks to handle auto-generated code or target compatibility levels.
A vite plugin for processing html. It is developed based on lodash template
Minifies and adds EJS support to HTML files.
Give Vite the ability to resolve 'nameof' calls in TypeScript
Listed in the “Code Transformers” section of the Awesome Vite awesome list.