1
0
Fork 0
mirror of https://github.com/xHyroM/waki.git synced 2024-09-19 20:23:21 +02:00

Compare commits

...

4 commits

Author SHA1 Message Date
e1ba59d641
build: add funding 2024-08-05 22:42:06 +02:00
75c5a7eedd
build: use gimi 2024-08-05 22:41:43 +02:00
f82596b861
docs: use bun 2024-08-05 22:38:41 +02:00
2b08164e53
build: switch to bun 2024-08-05 22:38:04 +02:00
6 changed files with 16 additions and 2077 deletions

8
.gimi/config.toml Normal file
View 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
View file

@ -0,0 +1 @@
ko_fi: xhyrom

View file

@ -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

Binary file not shown.

View file

@ -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"
} }
} }

File diff suppressed because it is too large Load diff