mirror of
https://github.com/xHyroM/waki.git
synced 2024-11-12 18:38:06 +01:00
Compare commits
4 commits
9b0fd2b67b
...
e1ba59d641
Author | SHA1 | Date | |
---|---|---|---|
e1ba59d641 | |||
75c5a7eedd | |||
f82596b861 | |||
2b08164e53 |
6 changed files with 16 additions and 2077 deletions
8
.gimi/config.toml
Normal file
8
.gimi/config.toml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[providers]
|
||||||
|
[providers.sourcehut]
|
||||||
|
ssh = "git@git.sr.ht:~hyro/waki"
|
||||||
|
primary = true
|
||||||
|
[providers.github]
|
||||||
|
ssh = "git@github.com:xhyrom/waki.git"
|
||||||
|
[providers.codeberg]
|
||||||
|
ssh = "git@codeberg.org:xHyroM/waki.git"
|
1
.github/FUNDING.yml
vendored
Normal file
1
.github/FUNDING.yml
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
ko_fi: xhyrom
|
|
@ -4,8 +4,7 @@ Runs fully on [Cloudflare Workers](https://workers.cloudflare.com/).
|
||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
- [node.js](https://nodejs.org/)
|
- [bun](https://bun.sh)
|
||||||
- [pnpm](https://pnpm.js.org/)
|
|
||||||
- [cloudflare account](https://cloudflare.com)
|
- [cloudflare account](https://cloudflare.com)
|
||||||
|
|
||||||
## How to setup
|
## How to setup
|
||||||
|
@ -13,7 +12,7 @@ Runs fully on [Cloudflare Workers](https://workers.cloudflare.com/).
|
||||||
After cloning the repository and installing the dependencies, you need to run the following command to deploy the worker:
|
After cloning the repository and installing the dependencies, you need to run the following command to deploy the worker:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
pnpm run deploy
|
bun run deploy
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, you need to set the following environment variables in your Cloudflare account:
|
Then, you need to set the following environment variables in your Cloudflare account:
|
||||||
|
@ -30,4 +29,4 @@ You can set the environment variables using the Cloudflare dashboard or using th
|
||||||
wrangler secret put API_TOKEN
|
wrangler secret put API_TOKEN
|
||||||
wrangler secret put PROVIDERS
|
wrangler secret put PROVIDERS
|
||||||
wrangler secret put MAIN_PROVIDER
|
wrangler secret put MAIN_PROVIDER
|
||||||
```
|
```
|
||||||
|
|
BIN
bun.lockb
Executable file
BIN
bun.lockb
Executable file
Binary file not shown.
|
@ -10,10 +10,10 @@
|
||||||
"cf-typegen": "wrangler types"
|
"cf-typegen": "wrangler types"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@cloudflare/vitest-pool-workers": "^0.1.0",
|
"@cloudflare/vitest-pool-workers": "^0.1.19",
|
||||||
"@cloudflare/workers-types": "^4.20240512.0",
|
"@cloudflare/workers-types": "^4.20240729.0",
|
||||||
"typescript": "^5.0.4",
|
"typescript": "^5.5.4",
|
||||||
"vitest": "1.3.0",
|
"vitest": "1.3.0",
|
||||||
"wrangler": "^3.0.0"
|
"wrangler": "^3.68.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
2069
pnpm-lock.yaml
2069
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue