mirror of
https://github.com/xHyroM/waki.git
synced 2024-11-23 15:11:05 +01:00
Compare commits
No commits in common. "e1ba59d641844a01e0e77d1b37a71c127ff2443b" and "9b0fd2b67b9b290561ec05c9839b374611090282" have entirely different histories.
e1ba59d641
...
9b0fd2b67b
6 changed files with 2077 additions and 16 deletions
|
@ -1,8 +0,0 @@
|
|||
[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
1
.github/FUNDING.yml
vendored
|
@ -1 +0,0 @@
|
|||
ko_fi: xhyrom
|
|
@ -4,7 +4,8 @@ Runs fully on [Cloudflare Workers](https://workers.cloudflare.com/).
|
|||
|
||||
## Requirements
|
||||
|
||||
- [bun](https://bun.sh)
|
||||
- [node.js](https://nodejs.org/)
|
||||
- [pnpm](https://pnpm.js.org/)
|
||||
- [cloudflare account](https://cloudflare.com)
|
||||
|
||||
## How to setup
|
||||
|
@ -12,7 +13,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:
|
||||
|
||||
```bash
|
||||
bun run deploy
|
||||
pnpm run deploy
|
||||
```
|
||||
|
||||
Then, you need to set the following environment variables in your Cloudflare account:
|
||||
|
@ -29,4 +30,4 @@ You can set the environment variables using the Cloudflare dashboard or using th
|
|||
wrangler secret put API_TOKEN
|
||||
wrangler secret put PROVIDERS
|
||||
wrangler secret put MAIN_PROVIDER
|
||||
```
|
||||
```
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -10,10 +10,10 @@
|
|||
"cf-typegen": "wrangler types"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cloudflare/vitest-pool-workers": "^0.1.19",
|
||||
"@cloudflare/workers-types": "^4.20240729.0",
|
||||
"typescript": "^5.5.4",
|
||||
"@cloudflare/vitest-pool-workers": "^0.1.0",
|
||||
"@cloudflare/workers-types": "^4.20240512.0",
|
||||
"typescript": "^5.0.4",
|
||||
"vitest": "1.3.0",
|
||||
"wrangler": "^3.68.0"
|
||||
"wrangler": "^3.0.0"
|
||||
}
|
||||
}
|
2069
pnpm-lock.yaml
Normal file
2069
pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue