blob: 950f407dd1c8d0e26712be8b3926aad984376b84 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# ⭐ Mayu
> Moe-Counter Compatible Website Hit Counter
Mayu is a drop-in replacement for [Moe-Counter](https://github.com/journey-ad/Moe-Counter) designed
to be lightweight and easy to use.
Mayu is written in [Gleam](https://gleam.run) and uses [SQLite](https://sqlite.org) as its database.
## Usage
### Local
```bash
$ git clone [email protected]:Fuwn/mayu.git
$ cd mayu
$ gleam run
```
### Docker
```shell
docker run --volume 'mayu:/mayu/data/' -p '80:3000' --rm fuwn/mayu:latest
```
### Database
Mayu will use SQLite by default and will place the database file, `count.db`, within the `data/` directory of the project's root directory.
## Resource Attributions
- [A-SOUL_Official](https://space.bilibili.com/703007996)
- [Moebooru](https://github.com/moebooru/moebooru)
- [Rule 34](https://rule34.xxx) (NSFW)
- [Gelbooru](https://gelbooru.com) (NSFW)
## Licence
This project is licensed with the [GNU General Public License v3.0](LICENSE).
|