mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-18 22:31:32 +03:00
235 lines
7.9 KiB
Markdown
235 lines
7.9 KiB
Markdown
<p align="center">
|
|
<a href="https://getleon.ai"><img width="800" src="https://getleon.ai/img/hero-animation.gif" /></a>
|
|
</p>
|
|
|
|
<h1 align="center">
|
|
<a href="https://getleon.ai"><img width="96" src="https://getleon.ai/img/logo.svg" alt="Leon"></a><br>
|
|
Leon
|
|
</h1>
|
|
|
|
*<p align="center">Your open-source personal assistant.</p>*
|
|
|
|
<p align="center">
|
|
<a href="https://github.com/leon-ai/leon/blob/develop/LICENSE.md"><img src="https://img.shields.io/badge/license-MIT-blue.svg?label=License&style=flat" /></a>
|
|
<a href="https://github.com/leon-ai/leon/blob/develop/.github/CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat" /></a>
|
|
<br>
|
|
<a href="https://github.com/leon-ai/leon/actions/workflows/build.yml"><img src="https://github.com/leon-ai/leon/actions/workflows/build.yml/badge.svg?branch=develop" /></a>
|
|
<a href="https://github.com/leon-ai/leon/actions/workflows/tests.yml"><img src="https://github.com/leon-ai/leon/actions/workflows/tests.yml/badge.svg?branch=develop" /></a>
|
|
<a href="https://github.com/leon-ai/leon/actions/workflows/lint.yml"><img src="https://github.com/leon-ai/leon/actions/workflows/lint.yml/badge.svg?branch=develop" /></a>
|
|
<br>
|
|
<a href="https://discord.gg/MNQqqKg"><img src="https://svgshare.com/i/V09.svg"/></a>
|
|
<a href="https://twitter.com/louistiti_fr"><img src="https://img.shields.io/twitter/follow/louistiti_fr?label=Follow&style=social" /></a>
|
|
</p>
|
|
|
|
<p align="center">
|
|
<a href="https://getleon.ai">Website</a> ::
|
|
<a href="https://docs.getleon.ai">Documentation</a> ::
|
|
<a href="http://roadmap.getleon.ai">Roadmap</a> ::
|
|
<a href="https://github.com/leon-ai/leon/blob/develop/.github/CONTRIBUTING.md">Contributing</a> ::
|
|
<a href="https://blog.getleon.ai/the-story-behind-leon/">Story</a>
|
|
</p>
|
|
|
|
---
|
|
|
|
## 👋 Introduction
|
|
|
|
**Leon** is an **open-source personal assistant** who can live **on your server**.
|
|
|
|
He **does stuff** when you **ask him for**.
|
|
|
|
You can **talk to him** and he can **talk to you**.
|
|
You can also **text him** and he can also **text you**.
|
|
If you want to, Leon can communicate with you by being **offline to protect your privacy**.
|
|
|
|
### Why?
|
|
|
|
> 1. If you are a developer (or not), you may want to build many things that could help in your daily life.
|
|
> Instead of building a dedicated project for each of those ideas, Leon can help you with his
|
|
> packages/modules (skills) structure.
|
|
> 2. With this generic structure, everyone can create their own modules and share them with others.
|
|
> Therefore there is only one core (to rule them all).
|
|
> 3. Leon uses AI concepts, which is cool.
|
|
> 4. Privacy matters, you can configure Leon to talk with him offline. You can already text with him without any third party services.
|
|
> 5. Open source is great.
|
|
|
|
### What is this repository for?
|
|
|
|
> This repository contains the following nodes of Leon:
|
|
> - The server
|
|
> - The packages/modules
|
|
> - The web app
|
|
> - The hotword node
|
|
|
|
### What is Leon able to do?
|
|
|
|
> Today, the most interesting part is about his core and the way he can scale up. He is pretty young but can easily scale to have new features (packages/modules).
|
|
> You can find what he is able to do by browsing the [packages list](https://github.com/leon-ai/leon/tree/develop/packages).
|
|
|
|
Sounds good for you? Then let's get started!
|
|
|
|
## ☁️ Try with a Single-Click
|
|
|
|
Gitpod will automatically setup an environment and run an instance for you.
|
|
|
|
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/leon-ai/leon)
|
|
|
|
## 🚀 Getting Started
|
|
|
|
### Prerequisites
|
|
|
|
- [Node.js](https://nodejs.org/) >= 16
|
|
- [npm](https://npmjs.com/) >= 8
|
|
- Supported OSes: Linux, macOS and Windows
|
|
|
|
To install these prerequisites, you can follow the [How To section](https://docs.getleon.ai/how-to/) of the documentation.
|
|
|
|
### Installation
|
|
|
|
```sh
|
|
# Install the Leon CLI
|
|
npm install --global @leon-ai/cli
|
|
|
|
# Install Leon (stable branch)
|
|
leon create birth
|
|
# OR install from the develop branch: leon create birth --develop
|
|
```
|
|
|
|
### Usage
|
|
|
|
```sh
|
|
# Check the setup went well
|
|
leon check
|
|
|
|
# Run
|
|
leon start
|
|
|
|
# Go to http://localhost:1337
|
|
# Hooray! Leon is running
|
|
```
|
|
|
|
### Docker Installation
|
|
|
|
```sh
|
|
# Install Leon
|
|
leon create birth --docker
|
|
|
|
# Run
|
|
leon start
|
|
|
|
# Go to http://localhost:1337
|
|
# Hooray! Leon is running
|
|
```
|
|
|
|
## 📚 Documentation
|
|
|
|
For full documentation, visit [docs.getleon.ai](https://docs.getleon.ai).
|
|
|
|
## 📺 Video
|
|
|
|
[Watch a demo](https://www.youtube.com/watch?v=p7GRGiicO1c).
|
|
|
|
## 🧭 Roadmap
|
|
|
|
To know what is going on, follow [roadmap.getleon.ai](http://roadmap.getleon.ai).
|
|
|
|
## ❤️ Contributing
|
|
|
|
If you have an idea for improving Leon, do not hesitate.
|
|
|
|
**Leon needs open source to live**, the more modules he has, the more skillful he becomes.
|
|
|
|
## 📖 The Story Behind Leon
|
|
|
|
You'll find a write-up on this [blog post](https://blog.getleon.ai/the-story-behind-leon/).
|
|
|
|
## 🔔 Stay Tuned
|
|
|
|
- [Twitter](https://twitter.com/louistiti_fr)
|
|
- [Newsletter](http://newsletter.getleon.ai)
|
|
- [Blog](https://blog.getleon.ai)
|
|
- [GitHub issues](https://github.com/leon-ai/leon/issues)
|
|
- [YouTube](https://www.youtube.com/channel/UCW6mk6j6nQUzFYY97r47emQ)
|
|
- [#LeonAI](https://twitter.com/search?f=live&q=%23LeonAI%20(from%3Alouistiti_fr)&src=typed_query)
|
|
|
|
## 👨 Author
|
|
|
|
**Louis Grenard** ([@louistiti_fr](https://twitter.com/louistiti_fr))
|
|
|
|
## 👍 Sponsors
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td align="center" valign="middle" width="128">
|
|
<a href="https://www.aoz.studio/">
|
|
<img src="https://user-images.githubusercontent.com/1731544/153794939-c42f1b10-a15d-4e82-b448-dc95bfe85b1c.png" />
|
|
AOZ Studio
|
|
</a><br>
|
|
<sub><sup>100 USD / month</sup></sub>
|
|
</td>
|
|
<td align="center" valign="middle" width="128">
|
|
<a href="https://github.com/FluxIndustries">
|
|
<img src="https://github.com/FluxIndustries.png?size=128" />
|
|
Flux Industries
|
|
</a><br>
|
|
<sub><sup>204 USD / year</sup></sub>
|
|
</td>
|
|
<td align="center" valign="middle" width="128">
|
|
<a href="https://github.com/GregoireAMATO">
|
|
<img src="https://github.com/GregoireAMATO.png?size=128" />
|
|
GrAMATO
|
|
</a><br>
|
|
<sub><sup>17 USD / month</sup></sub>
|
|
</td>
|
|
<td align="center" valign="middle" width="128">
|
|
<a href="https://github.com/phareal">
|
|
<img src="https://github.com/phareal.png?size=128" />
|
|
phareal
|
|
</a><br>
|
|
<sub><sup>17 USD / month</sup></sub>
|
|
</td>
|
|
<td align="center" valign="middle" width="128">
|
|
<a href="https://github.com/Divlo">
|
|
<img src="https://github.com/Divlo.png?size=128" />
|
|
Divlo
|
|
</a><br>
|
|
<sub><sup>10 USD / month</sup></sub>
|
|
</td>
|
|
<td align="center" valign="middle" width="128">
|
|
<a href="https://github.com/KeithIMyers">
|
|
<img src="https://github.com/KeithIMyers.png?size=128" />
|
|
Keith Myers
|
|
</a><br>
|
|
<sub><sup>10 USD / month</sup></sub>
|
|
</td>
|
|
<td align="center" valign="middle" width="128">
|
|
<a href="http://sponsor.getleon.ai/">
|
|
You?
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
You can also contribute by [sponsoring Leon](http://sponsor.getleon.ai).
|
|
|
|
Please note that I dedicate most of my free time to Leon.
|
|
|
|
By sponsoring the project you make the project sustainable and faster to develop features.
|
|
|
|
The focus is not only limited to the activity you see on GitHub but also a lot of thinking about the direction of the project. Which is naturally related to the overall design, architecture, vision, learning process and so on...
|
|
|
|
### Special Thanks
|
|
|
|
<a href="https://vercel.com/?utm_source=leon-ai&utm_campaign=oss">
|
|
<img src="https://i.imgur.com/S5olXWh.png" alt="Vercel" width="128" />
|
|
</a>
|
|
|
|
## 📝 License
|
|
[MIT License](https://github.com/leon-ai/leon/blob/develop/LICENSE.md)
|
|
|
|
Copyright (c) 2019-present, Louis Grenard <louis.grenard@gmail.com>
|
|
|
|
## Cheers!
|
|
![Cheers!](https://github.githubassets.com/images/icons/emoji/unicode/1f379.png "Cheers!")
|