Skip to content

Commit

Permalink
chore: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Aug 15, 2024
1 parent 7143922 commit c7e6711
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 107 deletions.
106 changes: 0 additions & 106 deletions README.md

This file was deleted.

1 change: 1 addition & 0 deletions README.md
108 changes: 108 additions & 0 deletions packages/core/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
<!-- markdownlint-disable -->

<div align="center">
<img src="./packages/client/public/favicon.png" alt="logo"/>

# MoeHub

[![wakatime](https://wakatime.com/badge/user/018dc603-712a-4205-a226-d4c9ccd0d02b/project/ff5d1027-c718-48ed-af29-678da4bdce35.svg)](https://wakatime.com/badge/user/018dc603-712a-4205-a226-d4c9ccd0d02b/project/ff5d1027-c718-48ed-af29-678da4bdce35)

⚡ A open source personal favorite character collection website system ⚡

⚡ 壹個開源的個人向喜愛角色收藏網站系統 ⚡

</div>

## Details

### Supports types

- [x] Anime characters
- [x] Manga/Comic characters
- [x] Game characters
- [x] Galgame/Visual Novel characters
- [x] Light novel characters
- [x] Other characters

Only supports **Japanese** characters, moehub doesn't support and welcome characters of other languages,especially
Z(C)hinese characters.

### International

- [x] Japan - Japanese (Default language)
- [x] American - English
- [x] Taiwan/Hongkong - Traditional Chinese
- [x] Zhina - Simplified Chinese (Will be deleted in the future)

### Cli commands

![](https://pic.imgdb.cn/item/66bd8160d9c307b7e9eb0016.png)

- `help [...command]` Get command help information
- `pwd` Reset password in force when you forget your password
- `data` Get statistics data
- `character [name]` Get all or some characters's information

### Characters birthdays reminder

![](https://pic.imgdb.cn/item/66bd8160d9c307b7e9eaff64.png)

Supports custom email template, receiver and any email accounts.

> Need you to set configurations (refer to the next content)
## Example

> [👉 There](https://m.hotaru.icu)
## Usage

1. Download release version from [Github Release](https://github.com/biyuehu/moehub/releases)

2. Extract the downloaded file

3. Install dependencies (Choose one)

```bash
npm install
yarn
pnpm install
```

4. Set your `.env` config and database


```ini
DATABASE_URL="mysql://username:password@host:port/database"

# MoeHub server port

PORT=5000

# MoeHub logger level

LOG_LEVEL=30
```

5. Import `data.sql` into your database

6. Start the server (Choose one)

```bash
npm run serve
yarn serve
pnpm serve
```

7. Login and set your website at `http://your-domain:5000/#/admin/settings` (Such as website title, name, address,
email key and more...)

## Stacks

- Frontend: React, tailwind-css, @kotori-bot/i18n
- Backend: Node.js, Koa.js, Prisma, @kotori-bot/core
- Database: Mysql
- CI/CD: Github Actions
- Code Style: BiomeJs
- Version Control: Git, GitHub
- Project Management: pnpm workspace
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "git",
"url": "git+https://github.com/biyuehu/moehub.git"
},
"files": ["lib", "prisma", ".env", "public", "data.sql"],
"files": ["lib", "prisma", ".env", "public", "data.sql", "README.md"],
"dependencies": {
"@kotori-bot/core": "^1.6.1",
"@kotori-bot/kotori-plugin-adapter-cmd": "^1.1.1",
Expand Down

0 comments on commit c7e6711

Please sign in to comment.