# ssssssss-team/magic-api

magic-api 是一个接口快速开发框架，通过Web页面编写脚本以及配置，自动映射为HTTP接口，无需定义Controller、Service、Dao、Mapper、XML、VO等Java对象

Repository: https://github.com/ssssssss-team/magic-api
Canonical: https://ross.abutalabs.com/products/magic-api
Homepage: http://ssssssss.org
Language: Java
License: MIT
License Family: permissive
Topics: http-api, api, restful-api, api-framework, http-api-generator, magic-api, magic-script, sql, automatic-api
Last push: 2025-06-05T23:14:14+00:00

## Health v2 (maintenance only)
Score: 45/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 25, release rhythm 40, longevity 100
- inputs: {"age_days": 2312, "days_push": 454, "days_rel": 454, "gap_med": 16.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1904, forks 432 (observed 2026-08-28T04:05:51.797148+00:00)

## What it is
magic-api is a Java-based rapid API development framework that lets developers write scripts and configure HTTP interfaces through a web UI, automatically mapping them to HTTP endpoints without defining Controller, Service, Dao, Mapper, XML, or VO classes. It uses the magic-script scripting engine for dynamic compilation and live publishing, with support for multiple relational and non-relational databases, clustering, and Swagger documentation generation.

## Use cases
- build REST APIs without writing Java boilerplate
- create HTTP endpoints from a web UI with scripts
- rapidly prototype database-backed APIs
- expose SQL queries as HTTP interfaces
- manage and version API scripts online
- generate Swagger docs for dynamically created APIs
- configure multiple data sources at runtime

## When to choose
- you need to ship CRUD or SQL-backed HTTP APIs quickly in a Java/Spring Boot stack
- you want non-Java developers or ops staff to configure APIs via a web UI
- you need live API editing and publishing without restarting the server
- you want built-in multi-datasource, pagination, caching, and permission features for APIs

## When to avoid
- you need complex business logic better expressed in typed Java code with full IDE tooling
- your team requires strict code review and static typing for all API logic
- you are not on the JVM/Spring Boot ecosystem
- you need extremely high-performance, low-latency endpoints where a scripting layer adds overhead

## Facets
- artifact type: framework
- maturity: stable
- function: api-framework, web-framework, database, http-server, templating
- domain: web-development, backend, apis, developer-tools, databases
- platform: jvm, self-hosted
- tags: rapid-api-development, magic-script, low-code, spring-boot-starter, online-editor, dynamic-api, sql-scripting, swagger-docs, web-server

## Member repositories
- ssssssss-team/magic-api (main) score 45

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.797148+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:52.048626+00:00, confidence not recorded.
  - readme: https://github.com/ssssssss-team/magic-api (fetched 2026-08-28T04:05:51.797148+00:00, sha a2acb47c3bce)
  - homepage: http://ssssssss.org (fetched 2026-08-29T10:50:53.139961+00:00, sha b42cb49b5a2f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
