Skip to content

Commit

Permalink
[FEAT] Local stable diffusion (#326)
Browse files Browse the repository at this point in the history
* [FEAT] Local Stable Diffusion via /limagine

* 0.14.1

* [FIX] Generate better images via local SD
  • Loading branch information
earnestangel authored Feb 16, 2024
1 parent 8da23ca commit 83fa68b
Show file tree
Hide file tree
Showing 10 changed files with 233 additions and 6,295 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,7 @@ coverage
integrations
/bin/test/

/vc.json
/vc.json

# Temporary Files
temp/
122 changes: 71 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,51 @@
<img align="left" width="400px" src="https://repository-images.githubusercontent.com/606736855/f1ef8a0f-dfc1-4477-b42d-ac2e9945e77e">

# Ririko AI
A powerful AI-powered general Discord bot that you can call your companion. With Twitch Live Notifier, Giveaways, OpenAI, Stable Diffusion, Moderations, Anime / Manga Finder and more features. Based on Discord.js v14.

A powerful AI-powered general Discord bot that you can call your companion. With Twitch Live Notifier, Giveaways,
OpenAI, Stable Diffusion, Moderations, Anime / Manga Finder and more features. Based on Discord.js v14.

<img align="left" width="400px" style="padding-right: 20px" src="https://repository-images.githubusercontent.com/606736855/f1ef8a0f-dfc1-4477-b42d-ac2e9945e77e">

<p>&nbsp;</p>

[![RirikoAI](https://circleci.com/gh/RirikoAI/RirikoBot.svg?style=svg)](https://app.circleci.com/pipelines/github/RirikoAI/RirikoBot?branch=master)
[![CodeQL](https://github.com/RirikoAI/RirikoBot/workflows/CodeQL/badge.svg)](https://github.com/RirikoAI/RirikoBot/actions?query=workflow%3ACodeQL)

[![NPM Version](https://badge.fury.io/js/ririko.svg)](https://npmjs.org/package/ririko)
[![GitHub tag](https://img.shields.io/github/tag/RirikoAI/RirikoBot?include_prereleases=&sort=semver&color=blue)](https://github.com/RirikoAI/RirikoBot/releases/)
[![NPM Download Stats](https://img.shields.io/npm/dw/ririko)](https://www.npmjs.com/package/ririko)
[![License](https://img.shields.io/badge/License-MIT-blue)](#license)
[![issues - RirikoBot](https://img.shields.io/github/issues/RirikoAI/RirikoBot)](https://github.com/RirikoAI/RirikoBot/issues)
[![Discord](https://img.shields.io/discord/1084420682995224716?color=blue&label=Discord&logo=discord&logoColor=white)](https://discord.gg/VWzecBNTVv)
[![Made In](https://img.shields.io/badge/made%20in-Malaysia-red.svg)](https://www.google.com/search?q=malaysia)

<p>&nbsp;</p>

## How RirikoAI Works?

RirikoAI is a Discord bot that works `node.js` and `npm`, it connects to several APIs (which you need to sign up for) so the bot can work its magic. RirikoAI can be hosted on a PC or a Server and it also works with Pterodactyl (Docker) servers.
RirikoAI is a Discord bot that is powered by `NodeJS`, it connects to several APIs (which you need to sign up for) so
the bot can work its magic. RirikoAI can be hosted on a PC or a Server and it also works with Pterodactyl (Docker)
servers.

| **RirikoAI Hosted Version is Coming Soon** |
|--------------------------------------------|

| **RirikoAI Hosted Version is Coming Soon** |
| ------ |
No more using your PC to run the bot 24/7

| Please consider giving the repo a star ⭐ if you like it. It gives me motivation 😊 |
| --- |
|------------------------------------------------------------------------------------|

No more using your PC to run the bot 24/7
## How to Install?

Now have web installer! Simply run without configuring anything `npm i --include=dev && npm run start` after downloading
this source files.

**Please follow the step by step instructions here to
install: [WIKI: how-to-install](https://github.com/RirikoAI/RirikoBot/wiki/How-to-Install)**

## Quickstart:
Requirements: [node.js LTS](https://nodejs.org/en/download), [git](https://git-scm.com/download/win) and npx (install via npm like below)

Requirements: [node.js LTS](https://nodejs.org/en/download), [git](https://git-scm.com/download/win) and npx (install
via npm like below)

[!!] To install, do not use `npm install Ririko`. Follow this instead:

Expand All @@ -38,77 +65,70 @@ If you dont have npx:
npm install -g npx
```

**Please follow the step by step instructions here to install: [WIKI: how-to-install](https://github.com/RirikoAI/RirikoBot/wiki/How-to-Install)**
**Please follow the step by step instructions here to
install: [WIKI: how-to-install](https://github.com/RirikoAI/RirikoBot/wiki/How-to-Install)**

Official RirikoAI Support Discord (see the bot live on action/get help here): https://discord.gg/VWzecBNTVv

**[!] This project is still under heavy developments. Update 10th June 2023 - I've started to spend more and more time into this project, more features will come 😀**

[![RirikoAI](https://circleci.com/gh/RirikoAI/RirikoBot.svg?style=svg)](https://app.circleci.com/pipelines/github/RirikoAI/RirikoBot?branch=master)
[![CodeQL](https://github.com/RirikoAI/RirikoBot/workflows/CodeQL/badge.svg)](https://github.com/RirikoAI/RirikoBot/actions?query=workflow%3ACodeQL)

[![NPM Version](https://badge.fury.io/js/ririko.svg)](https://npmjs.org/package/ririko)
[![GitHub tag](https://img.shields.io/github/tag/RirikoAI/RirikoBot?include_prereleases=&sort=semver&color=blue)](https://github.com/RirikoAI/RirikoBot/releases/)
[![NPM Download Stats](https://img.shields.io/npm/dw/ririko)](https://www.npmjs.com/package/ririko)
[![License](https://img.shields.io/badge/License-MIT-blue)](#license)
[![issues - RirikoBot](https://img.shields.io/github/issues/RirikoAI/RirikoBot)](https://github.com/RirikoAI/RirikoBot/issues)
[![Discord](https://img.shields.io/discord/1084420682995224716?color=blue&label=Discord&logo=discord&logoColor=white)](https://discord.gg/VWzecBNTVv)
[![Made In](https://img.shields.io/badge/made%20in-Malaysia-red.svg)](https://www.google.com/search?q=malaysia)
**[!] This project is still under heavy developments. Update 10th June 2023 - I've started to spend more and more time
into this project, more features will come 😀**

###


### Join Our Discord

<p>Official RirikoAI Support Discord (see the bot live on action/get help here): https://discord.gg/VWzecBNTVv</p>

<img src="https://i.imgur.com/85Z84vf.png" width="300px" align="center">


<div align="center">
<img src="https://ririko.angel.net.my/ririkobg.jpg">
</div>

###

## Features

### 🤖1. AI

**💬Companion / Chatbot:**
The AI chatbot uses the `.` prefix. Try it out by linking to your Discord bot and inviting it to your server. Start with `.hello`
The AI chatbot uses the `.` prefix. Try it out by linking to your Discord bot and inviting it to your server. Start
with `.hello`

Whats unique compared to the thousands of AI chatbots out there?
Ririko can remember your past conversations. It is also personalized to each user, so no more cross contaminating prompts and no more forgetting or confused about your own name
Whats unique compared to the thousands of AI chatbots out there?
Ririko can remember your past conversations. It is also personalized to each user, so no more cross contaminating
prompts and no more forgetting or confused about your own name

**🎵AI Powered Music bot:**
Try asking it to play a random anime music or suggesting you a Nightcore music. Something like `.Hey can you play me an anime music?`
Try asking it to play a random anime music or suggesting you a Nightcore music. Something
like `.Hey can you play me an anime music?`

**🖼️Stable Diffusion:**
What you imagine can be a reality. Ririko can create art based on your imagination. Try it out by issuing this command `/imagine` and follow the instructions.
What you imagine can be a reality. Ririko can create art based on your imagination. Try it out by issuing this
command `/imagine` and follow the instructions.

### 🎥2. Twitch Stream Notifier
Do you want to get notified when your favourite streamer is live on Twitch? Take a look at Ririko Twitch Stream Notifier by issuing this command `!info twitch`

### 🎉3. Giveaways
Do you want to get notified when your favourite streamer is live on Twitch? Take a look at Ririko Twitch Stream Notifier
by issuing this command `!info twitch`

### 🎉3. Giveaways

Create giveaways using `!giveaway-create`, drops using `!giveaway-drop` and more! (see !help).

### ☂️4. General Purpose bot

**Anime:** Collection of anime commands
`!foxgirl`, `!manga`, `!nekogif`, `!react`, `!waifu`, `!wallpaper`, `!wink`
`!foxgirl`, `!manga`, `!nekogif`, `!react`, `!waifu`, `!wallpaper`, `!wink`

**Announcer:** Get announced when someone joined or left the server
`!leave-announcer`, `!nitro-announcer`, `!welcomer`
`!leave-announcer`, `!nitro-announcer`, `!welcomer`

**AutoVoiceChannel:** Eliminate empty voice channels, create them on the go when needed
`!setupavc`
`!setupavc`

**Fun:** More to come
`!spoiler`
`!spoiler`

**Music:** Play your favourite music
`!autoplay`, `!filter`, `!forward`, `!join`, `!leave`, `!lyrics`, `!nowplaying`, `!pause`, `!play`, `!playskip`, `!playtop`, `!previous`, `!queue`, `!repeat`, `!resume`, `!rewind`, `!seek`, `!shuffle`, `!skip`, `!skipto`, `!stop`, `!volume`
`!autoplay`, `!filter`, `!forward`, `!join`, `!leave`, `!lyrics`, `!nowplaying`, `!pause`, `!play`, `!playskip`, `!playtop`, `!previous`, `!queue`, `!repeat`, `!resume`, `!rewind`, `!seek`, `!shuffle`, `!skip`, `!skipto`, `!stop`, `!volume`

**Ririko:** Setup the prefix, get info of commands, other general stuffs
`!info`, `!help`, `!owners`, `!ping`, `!prefix`
`!info`, `!help`, `!owners`, `!ping`, `!prefix`

**Roles:** Reaction roles, auto roles
`!addrr`, `!autorole`, `!removerr`
Expand All @@ -117,22 +137,22 @@ Create giveaways using `!giveaway-create`, drops using `!giveaway-drop` and more
`!ban`, `!kick`, `!mute`, `!purge`, `!unban`, `!unmute`, `!warn` and more!

### 🥷🏻4. Anime / Manga Finder
Find your favourite anime / manga using this command: `!anime`
For example: `!anime Oshi No Ko`

I'm still working hard to make the anime recommendation function works, so you can find similar anime by a given keyword or genre. Stay tuned.
Find your favourite anime / manga using this command: `!anime`
For example: `!anime Oshi No Ko`

## Installing Ririko AI bot and use it on your Discord
**Please follow the step by step instructions here to install: [WIKI: how-to-install](https://github.com/RirikoAI/RirikoBot/wiki/How-to-Install)**
I'm still working hard to make the anime recommendation function works, so you can find similar anime by a given keyword
or genre. Stay tuned.

## Contributing

Contributions are always welcome! If you have any feature you want to add, feel free to fork the repo and create a PR. It doesn't have to be too fancy, so long as we both understand each other :D
Contributions are always welcome! If you have any feature you want to add, feel free to fork the repo and create a PR.
It doesn't have to be too fancy, so long as we both understand each other :D

See `CONTRIBUTING.md` for ways to get started.

Please adhere to this project's `code of conduct` in `CODE_OF_CONDUCT.md`.

[![Use this template](https://img.shields.io/badge/Generate-Use_this_template-2ea44f?style=for-the-badge)](https://github.com/RirikoAI/RirikoBot/generate)
[![Use this template](https://img.shields.io/badge/Generate-Use_this_template-2ea44f?style=for-the-badge)](https://github.com/RirikoAI/RirikoBot/generate)

<img src="https://api.visitorbadge.io/api/VisitorHit?user=RirikoAI&repo=RirikoBot&countColor=%237B1E7A" />
2 changes: 0 additions & 2 deletions installer/.gitignore

This file was deleted.

Loading

0 comments on commit 83fa68b

Please sign in to comment.