Commit Graph

2847 Commits

Author SHA1 Message Date
kwaroran
be90308f23 Add safeStructuredClone function comment 2024-10-25 18:13:00 +09:00
kwaroran
0f6246bef6 fix structuredclone 2024-10-25 18:11:00 +09:00
kwaroran
b3fddb814e Migrate all DataBase to DBState 2024-10-24 01:59:57 +09:00
kwaroran
4e9190f1b5 Refactor database variable name for performance improvement 2024-10-24 01:00:11 +09:00
kwaroran
0bb9fe9cb1 Refactor database variable name for performance improvement 2024-10-23 23:58:19 +09:00
kwaroran
2044d9b63b Change DataBase inside svelte to DBState for performance 2024-10-23 23:46:32 +09:00
kwaroran
a9f1819044 Merge branch 'main' into svelte-5 2024-10-23 22:51:53 +09:00
kwaroran
4e8beacd83 Update version to 137.1.0 2024-10-23 21:21:37 +09:00
kwaroran
0b661d51eb fix theme fixing 2024-10-23 21:21:23 +09:00
kwaroran
7de4b2ba29 Update claude 20241022 2024-10-23 21:20:54 +09:00
kwaroran
9add01cda2 Refactor svelte/legacy functions to svelte 5 syntax 2024-10-23 21:03:34 +09:00
kwaroran
f078292843 Refactor svelte-preprocess import in vite.config.ts 2024-10-23 18:36:28 +09:00
kwaroran
c7330719ad Migrate to svelte 5 2024-10-23 02:31:37 +09:00
kwaroran
e434c7ab96 Refactor table rendering in BotSettings, ModuleMenu, and CharConfig components 2024-10-22 22:13:52 +09:00
kwaroran
e8a38c6570 Refactor table rendering in BotSettings, ModuleMenu, and CharConfig components 2024-10-22 22:11:36 +09:00
kwaroran
8e1d014f6e Fix svelte 4 components to fit into requirements 2024-10-22 22:06:20 +09:00
kwaroran
00b4195ca0 Fixed bugs related to URL file import and improved usability (#652)
# PR Checklist
- After uploading the character file to GitHub, conducted tests in both
the RisuAI web and Node environments.

# Description
- Fixed the bug where the character list was not updating in certain
situations after importing a URL.
- Removed the hash after import to prevent the same character from being
imported again upon refresh.
- Added exception handling for import file downloads.
2024-10-22 21:52:01 +09:00
ModMapper
95f3bfdd4b Removed the hash after import to prevent the same character from being imported again upon refresh. 2024-10-22 20:47:27 +09:00
ModMapper
e0edf74b46 Fixed the bug where the character list was not updating in certain situations after importing a URL. 2024-10-22 20:46:00 +09:00
kwaroran
c12ec62b34 Update version to 137.0.0 2024-10-22 19:33:09 +09:00
kwaroran
1109bb15e4 Update version to 136.0.2 2024-10-22 19:25:34 +09:00
kwaroran
51da8d6038 Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-10-22 19:21:20 +09:00
kwaroran
6af4c4d0ad Fix drive backup & rust warning 2024-10-22 19:21:06 +09:00
kwaroran
17287dec0a Support Docker and improve README.md (#648)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description

This PR introduces two main changes:

1. Adds Docker support to the RisuAI project, making it easier for users
to deploy and manage the application in a containerized environment.
This is particularly useful for those who want to host the web version
of RisuAI.

2. Improves the README file:
   - Enhances the readability of the screenshots table
   - Corrects spelling and grammar issues in the Features section
   - Improves overall formatting and consistency

## Docker Usage

Run the following command in the root directory:

```shell
docker-compose up -d
2024-10-14 19:11:44 +09:00
Naki
5fe104661f Change expose to ports in docker-compose.yml 2024-10-13 01:49:53 +09:00
Naki
3f9d02c5d3 Improve README.md 2024-10-13 01:46:57 +09:00
Naki
4a61b19a05 Update README.md 2024-10-13 01:39:46 +09:00
Naki
ac370a8718 Support Docker 2024-10-13 01:29:12 +09:00
kwaroran
1762e025bd Add Custom GUI settings, not for real use now 2024-10-12 22:47:57 +09:00
kwaroran
20f4c39beb Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-10-12 19:31:36 +09:00
kwaroran
891f3e6128 Change pnpm version 2024-10-12 19:31:34 +09:00
kwaroran
477f37d55b Add fish speech tts (#647)
# PR Checklist
- [ v ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ v ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ v ] Did you added a type def?

# Description
add fish speech tts
2024-10-12 19:17:17 +09:00
kwaroran
7827ad3432 Add \r removal for firefox 2024-10-12 19:16:43 +09:00
Junha Heo
b7cb7f535c Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-10-12 01:24:04 +09:00
Junha Heo
826e59dfc5 add fish speech tts 2024-10-12 01:21:16 +09:00
kwaroran
5c61a870e1 Fix offspec 2024-10-12 00:46:34 +09:00
Junha Heo
648f4a8597 Merge branch 'main' of https://github.com/hashcoko/RisuAI 2024-10-11 22:05:20 +09:00
kwaroran
b68d3d62ea Add File Import URL (#640)
# PR Checklist
Testing conducted in both Node environments.
Due to some Tauri code under development, testing was performed on a
previous commit before rewriting.

# Description

Add Import URLs for characters, modules, presets, etc., to RisuAI.

These URLs can be used for purposes such as shortening when sharing
character files, aiming to minimize external leakage of character files.
It seems like it could be useful in character card sharing communities.

Due to the large size of import files, a CORS proxy was not used, but it
could be added if required.
2024-10-11 19:42:14 +09:00
kwaroran
9a301ca85c fix: conditionally initializing getCurrentWebviewWindow (#644)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description
This PR is not an ideal solution, but it provides a workaround for the
issue where a specific built-in function of Tauri causes freezing in
non-Tauri environments like Fixes #641.
2024-10-11 19:41:46 +09:00
kwaroran
db5502c744 chore: Specify pnpm version (#642)
## PR Checklist

- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it doesn't, did you blocked it in those versions?

> [!NOTE]
> This checkbox is intentionally left unchecked due to an ongoing issue
https://github.com/kwaroran/RisuAI/issues/641. If this issue is related
to the pnpm version, this PR should not be merged.

## Description

This PR specifies the exact version of pnpm to be used for this project
by adding the `packageManager` field to the `package.json` file.

## Changes

- Specified `"packageManager": "pnpm@9.10.0"` in `package.json`

## Motivation and Context

By explicitly declaring the pnpm version in `package.json`, we ensure
consistent package management across different development environments.
This addresses compatibility issues between the project's lockfile and
pnpm versions, preventing potential problems that could arise from
version mismatches.

## Note on Version Selection

The pnpm version 9.10.0 used in this PR is based on my current
development environment. This version is flexible and can be adjusted if
there's a specific version that should be used for this project. If
you're aware of any version constraints or if there's a preferred pnpm
version for this project, please let me know, and I'll update the PR
accordingly.
2024-10-11 19:41:09 +09:00
bangonicdd
d25a22bf22 fix: conditionally initializing getCurrentWebviewWindow 2024-10-10 14:09:31 +09:00
Naki
26313c8105 Specify pnpm version 2024-10-10 05:10:38 +09:00
ModMapper
d48d3182cf Add File Import URL 2024-10-10 01:57:45 +09:00
kwaroran
0f15a93cf8 Update version to 136.0.1 2024-10-09 23:46:59 +09:00
kwaroran
a92545cd78 Remove file assosiation 2024-10-09 23:46:41 +09:00
kwaroran
e1014266ce Add signing key env 2024-10-09 23:22:32 +09:00
kwaroran
f5464c2ace Merge branch 'main' of https://github.com/kwaroran/RisuAI 2024-10-09 23:11:44 +09:00
kwaroran
1bb32e72d2 update github action 2024-10-09 23:11:41 +09:00
kwaroran
7763543c24 fix: chat sync issue in lua engine (#639)
# PR Checklist
- [ ] Did you check if it works normally in all models? *ignore this
when it dosen't uses models*
- [ ] Did you check if it works normally in all of web, local and node
hosted versions? if it dosen't, did you blocked it in those versions?
- [ ] Did you added a type def?

# Description
This pull request resolves the issue where the chat object used in the
Lua engine was fixed at the time of initialization. This also addresses
issue #563.
2024-10-09 23:01:54 +09:00
kwaroran
017bfe43c2 Update version to 136.0.0 in tauri.conf.json, database.ts, and version.json 2024-10-09 23:01:33 +09:00