# AiScript

> lightweight scripting language

**Wikidata**: [Q120343661](https://www.wikidata.org/wiki/Q120343661)  
**Source**: https://4ort.xyz/entity/aiscript

## Summary
AiScript is a lightweight scripting language implemented in TypeScript. It is designed for run-time events and is primarily used as the scripting engine for the Misskey federated social networking service. The language is distributed as free and open-source software under the MIT License.

## Key Facts
- **Classification:** AiScript is a scripting language and free and open-source software (FOSS).
- **Implementation:** The language is written in TypeScript.
- **Primary Use:** It is used within the Misskey federated social networking service.
- **License:** AiScript is released under the MIT License.
- **Repository:** The source code is hosted at `github.com/syuilo/aiscript`.
- **Package Distribution:** It is available as the npm package `@syuilo/aiscript`.
- **Latest Stable Release (per source):** Version 0.14.0, released on July 19, 2023.
- **Official Website:** Available at `https://aiscript-dev.github.io/ja/` (Japanese).

## FAQs
### Q: What programming language is AiScript written in?
A: AiScript is implemented in TypeScript, which is a superset of JavaScript. This allows it to integrate into modern web development environments.

### Q: What is AiScript used for?
A: AiScript is primarily used to handle run-time events within the Misskey social networking platform. It functions as a lightweight scripting layer for the service.

### Q: Is AiScript free to use?
A: Yes, AiScript is free and open-source software released under the MIT License.

## Why It Matters
AiScript serves as a critical component of the Misskey ecosystem, a free and open-source federated social networking service. By providing a lightweight scripting language implemented in TypeScript, it allows for flexible customization and the handling of run-time events within the platform. Its architecture reflects a modern approach to embedding scripting capabilities into web applications, bridging the gap between static configuration and dynamic, programmable user interactions. The choice of TypeScript for its implementation ensures high compatibility with web technologies while offering a structured environment for developers extending the Misskey platform.

## Notable For
- **Misskey Integration:** It is the dedicated scripting language for the Misskey federated social network.
- **TypeScript Implementation:** Unlike many older scripting languages, it is built natively in TypeScript.
- **Lightweight Design:** It is specifically categorized as a "lightweight" solution for scripting needs.
- **Open Source:** It is fully open-source under the permissive MIT License.

## Body

### Development and Implementation
AiScript is classified as a scripting language designed to manage run-time events. It is distinct for being implemented in TypeScript, a strict syntactical superset of JavaScript. This design choice facilitates its integration into web-based platforms, most notably the decentralized social networking service Misskey.

The project is actively maintained as an open-source initiative. The source code is publicly accessible via GitHub at `github.com/syuilo/aiscript`, and the software is distributed through the Node Package Manager (npm) under the identifier `@syuilo/aiscript`.

### Licensing and Resources
The language is released under the MIT License, allowing for broad usage and modification within the software community.
- **Logo:** The project utilizes a specific logo file (`AiScript_logo.svg` / `AiScript_logo.png`) hosted on Wikimedia Commons.
- **Documentation:** The primary official website is hosted on GitHub Pages, with content currently available in Japanese.

### Release History
Development of AiScript has shown consistent activity, with multiple stable versions released throughout 2023. Key releases documented in the provided sources include:

- **0.12.x Series:**
  - **0.12.0:** Released January 3, 2023.
  - **0.12.1:** Released January 5, 2023.
  - **0.12.2:** Released January 7, 2023.
  - **0.12.3:** Released January 30, 2023.
  - **0.12.4:** Released February 1, 2023.

- **0.13.x Series:**
  - **0.13.0:** Released March 15, 2023.
  - **0.13.1:** Released March 17, 2023.
  - **0.13.2:** Released May 6, 2023.
  - **0.13.3:** Released May 14, 2023.

- **0.14.0:** The most recent version cited in the source material is 0.14.0, released on July 19, 2023.

## References

1. [Source](https://github.com/aiscript-dev/aiscript/blob/c73ec97d50721e521fe73def934646d78f2a77e1/LICENSE)
2. [Source](https://api.github.com/repos/syuilo/aiscript)
3. [Release 0.12.0. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.12.0)
4. [Release 0.12.1. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.12.1)
5. [Release 0.12.2. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.12.2)
6. [Release 0.12.3. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.12.3)
7. [Release 0.12.4. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.12.4)
8. [Release 0.13.0. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.13.0)
9. [Release 0.13.1. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.13.1)
10. [Release 0.13.2. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.13.2)
11. [Release 0.13.3. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.13.3)
12. [Release 0.14.0. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.14.0)
13. [Release 0.14.1. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.14.1)
14. [Release 0.15.0. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.15.0)
15. [Release 0.16.0. 2023](https://github.com/aiscript-dev/aiscript/releases/tag/0.16.0)
16. [Release 0.17.0. 2024](https://github.com/aiscript-dev/aiscript/releases/tag/0.17.0)
17. [Release 0.18.0. 2024](https://github.com/aiscript-dev/aiscript/releases/tag/0.18.0)
18. [Release 0.19.0. 2024](https://github.com/aiscript-dev/aiscript/releases/tag/0.19.0)
19. [Release 1.0.0. 2025](https://github.com/aiscript-dev/aiscript/releases/tag/1.0.0)
20. [Release 1.1.0. 2025](https://github.com/aiscript-dev/aiscript/releases/tag/1.1.0)
21. [Release 1.1.1. 2025](https://github.com/aiscript-dev/aiscript/releases/tag/1.1.1)
22. [Release 1.1.2. 2025](https://github.com/aiscript-dev/aiscript/releases/tag/1.1.2)
23. [Release 1.2.0. 2025](https://github.com/aiscript-dev/aiscript/releases/tag/1.2.0)
24. [Release 1.2.1. 2025](https://github.com/aiscript-dev/aiscript/releases/tag/1.2.1)