Git Product home page Git Product logo

ysarxiv-gadgets's Introduction

NPM version Linter

有兽档案馆代码库

概述 Brief

本仓库为有兽档案馆的代码仓库,为网站小工具、用户js/css等核心代码提供协作与部署支持。

底层支持 Base

本小工具库是 AnYiEE/AwsomeGadgets 的分支。

简介 / Introduction

Awesome Gadgets 是面向 MediaWiki 网站,用以统一存储、管理并编译全站小工具(Gadget)的工具。小工具开发者只需关心小工具本身的代码实现,无需关心其他方面。工具将自动检查语法、编译并部署到网站。
Awesome Gadgets is a tool designed specifically for MediaWiki websites, with the goal of centralizing the storage, management, and compilation of all site-wide CSS/JavaScript and their peer pages. Developers of these gadgets can solely focus on implementing the code for their creations without the need to worry about other aspects. The tool will automatically check the syntax, compile, and deploy gadgets to the website.

  • 使用 esbuild 编译,通过 Babel 转译现代语法以获得良好的浏览器兼容性
    Compile using esbuild and transpile modern syntax with Babel for good browser compatibility
  • 可以编写 TypeScript 和 Less,支持 CSS 和 Less 模块,可以使用 jsx-dom,可以使用 Vue 组件
    Support writing files in TypeScript and Less, support CSS/Less modules, jsx-dom components and Vue components
  • 支持引用 ResourceLoader 模块
    Support requiring ResourceLoader built-in modules
  • 支持向多个站点部署并独立控制启用与否
    Support deploying to multiple sites and independently control whether to enable/disable them
  • 自动部署
    Automatic deployment
    • MediaWiki:Gadgets-definition
    • MediaWiki:Gadget-section-*(支持自动转换中文变体)/ (with automatic conversion of Chinese variations)
    • MediaWiki:Gadget-*(支持自动转换中文变体)/ (with automatic conversion of Chinese variations)
    • MediaWiki:*.{js, css}
  • 自动从网站内删除曾经部署过但现在不再需要的页面
    Automatically delete pages that have been deployed on the website but are no longer needed

用法
Usage

文档
See documentation.

最佳实践
Best practices

ysarxiv-gadgets's People

Contributors

anyiee avatar zoruafox avatar baigeigu avatar actions-user avatar dependabot[bot] avatar waitspringqw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.