> For the complete documentation index, see [llms.txt](https://more-about-angular.gitbook.io/artyom-js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://more-about-angular.gitbook.io/artyom-js/master.md).

# Artyom

## 官方网站

<https://docs.ourcodeworld.com/projects/artyom-js>

## 官方仓库

{% embed url="<https://github.com/sdkcarlos/artyom.js>" %}

## 通过 NPM 下载

```bash
$ npm install artyom.js
```

## 通过 Bower 下载

```bash
bower install artyom.js
```

{% hint style="info" %}
Artyom 是对 Google Chrome SpeechSynthesis 和 SpeechRecognition 的强健封装工具包，通过调用其API可以帮助开发者构建属于自己的虚拟援助。通过使用 Artyom， 你有机会在你的应用中创造出属于自己的 Siri, Google Now, Cortana。
{% endhint %}

{% hint style="info" %}
需要注意，SpeechSynthesis 和 SpeechRecognition 的官方API 只支持 Google Chrome 浏览器（因为使用了 Google Recognition 和 Synthesis 服务）。Artyom 同时也支持 Android Chrome。
{% endhint %}

{% hint style="warning" %}
使用 Artyom 需要 `HTTP` 或者 `HTTPS`, 其无法与本地文件中使用（`file://`）。如果你需要一个持续不断的虚拟支持，考虑到某些安全因素，你必须将你的项目部署于一个拥有 https 认证的站点。如果你只需要单次的虚拟支持（以 `非持续运行` 的模式使用 artyom），则不要求 https 链接。
{% endhint %}

## 通过视频学习

<https://ourcodeworld.com/articles/read/44/how-to-add-voice-commands-to-your-webpage-with-javascript>
