Skip to content

Commit 98f1116

Browse files
committed
Use open data
1 parent f95934c commit 98f1116

File tree

111 files changed

+13
-2906
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+13
-2906
lines changed

.github/workflows/deployment-production.yml

+3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
SENTRY_DSN: ${{ secrets.PRODUCTION_SENTRY_DSN }}
7777
run: envsubst < production.env.sample > production.env
7878

79+
- name: Fetch data
80+
run: git clone https://github.com/botblock/data
81+
7982
- name: Publish to Production
8083
run: npm run publish:production
8184
env:

.github/workflows/deployment-staging.yml

+3
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ jobs:
7676
SENTRY_DSN: ${{ secrets.STAGING_SENTRY_DSN }}
7777
run: envsubst < staging.env.sample > staging.env
7878

79+
- name: Fetch data
80+
run: git clone https://github.com/botblock/data
81+
7982
- name: Publish to Staging
8083
run: npm run publish:staging
8184
env:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ node_modules/
33
.DS_Store
44
tmp/
55
dist/
6+
data/
67
*.env

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Read the API docs at <https://botblock.org/api/docs>.
1111
3. Update `wrangler.toml` for your account.
1212
- Use `wrangler whoami` to get your account ID, update the value in `wrangler.toml` to match.
1313
- Use `wrangler kv:namespace create "RATELIMIT"` to create the KV namespace, update the `id` and `preview_id` in `wrangler.toml` to match.
14-
4. Develop with the worker by running `npm run dev`.
14+
4. Clone a copy of BotBlock's open data with `git clone https://github.com/botblock/data`.
15+
5. Develop with the worker by running `npm run dev`.
1516

1617
## Deployments
1718

data/features/additional-bot-owners-editors.json

-7
This file was deleted.

data/features/bot-internationalisation-support.json

-7
This file was deleted.

data/features/bot-resubmission.json

-7
This file was deleted.

data/features/bot-reviews.json

-7
This file was deleted.

data/features/certified-bot-vanity-urls.json

-7
This file was deleted.

data/features/custom-bot-donate-link.json

-7
This file was deleted.

data/features/custom-bot-github-link.json

-7
This file was deleted.

data/features/custom-bot-invite-link.json

-7
This file was deleted.

data/features/custom-bot-support-link.json

-7
This file was deleted.

data/features/custom-bot-website-link.json

-7
This file was deleted.

data/features/discord-bot-support-link.json

-7
This file was deleted.

data/features/has-ads-on-site.json

-7
This file was deleted.

data/features/has-categories-or-tags.json

-7
This file was deleted.

data/features/has-certification-program.json

-7
This file was deleted.

data/features/has-mobile-support.json

-7
This file was deleted.

data/features/has-search.json

-7
This file was deleted.

data/features/has-voting.json

-7
This file was deleted.

data/features/has-widget.json

-7
This file was deleted.

data/features/html-long-description.json

-7
This file was deleted.

data/features/iframe-long-description.json

-7
This file was deleted.

data/features/markdown-long-description.json

-7
This file was deleted.

data/features/offers-paid-promotion.json

-7
This file was deleted.

data/features/paid-access.json

-7
This file was deleted.

data/features/requires-owner-in-server.json

-7
This file was deleted.

data/features/server-count-api.json

-7
This file was deleted.

data/features/site-internationalisation-support.json

-7
This file was deleted.

data/features/vanity-urls-for-all.json

-7
This file was deleted.

data/features/votes-sent-to-webhooks.json

-7
This file was deleted.

data/features/voting-data-exposed.json

-7
This file was deleted.

data/legacy.json

-15
This file was deleted.

data/lists/arcane-center.xyz.json

-34
This file was deleted.

data/lists/arobotlist.xyz.json

-38
This file was deleted.

0 commit comments

Comments
 (0)