Commit Graph

526 Commits

Author SHA1 Message Date
Ritesh Ghosh db022185ef feat(server): add aniwatch variables types for type-safe req context variable access 2024-12-07 21:11:44 +05:30
Ritesh Ghosh 872192bcc5 build(redis): add ioredis pkg to implement caching layer 2024-12-07 21:08:29 +05:30
Ritesh Ghosh 9d379ec4fe feat(envs): standardized env examples and add new redis connection url env 2024-12-07 21:05:50 +05:30
Conventional Changelog Action 03771a2096 chore(release): v2.1.0 [skip ci] 2024-10-29 07:44:35 +00:00
Ritesh Ghosh 96bbe101bf chore: add prettier dev dep and script for lint check 2024-10-29 13:14:04 +05:30
Ritesh Ghosh ac07ce91ea ci: add prettier lint check workflow 2024-10-29 13:13:29 +05:30
Ritesh Ghosh 9ae824b42c feat(prettier): add prettier.config.mjs 2024-10-29 13:12:45 +05:30
Ritesh Ghosh 23fcd4a19f feat(prettier): add .prettierignore 2024-10-29 13:12:19 +05:30
Ritesh Ghosh 90c0e869ab feat: add .editorconfig 2024-10-29 13:11:49 +05:30
Ritesh Ghosh fe0b6776b8 chore(ci): bump node version 2024-10-29 13:11:17 +05:30
Ritesh Ghosh dd6c5ed2ed chore: bump node version & update Dockerfile description 2024-10-29 13:10:53 +05:30
Conventional Changelog Action dffea41ccb chore(release): v2.0.2 [skip ci] 2024-10-06 03:30:38 +00:00
Ritesh Ghosh 3e84349a41 docs: update personal deployment section 2024-10-06 09:00:27 +05:30
Conventional Changelog Action 972cf2c203 chore(release): v2.0.1 [skip ci] 2024-10-06 03:29:22 +00:00
Ritesh Ghosh af5672913f docs: update personal deployment section 2024-10-06 08:59:07 +05:30
Conventional Changelog Action 996f11eebe chore(release): v2.0.0 [skip ci] 2024-10-05 19:43:37 +00:00
Ritesh Ghosh 46f688ac12 Aniwatch API Version 2 (#66)
BREAKING CHANGE:

* chore: remove files that are not necessary for api v2

* test: update existing tests to use  pkg

* feat: organized aniwatch api envs and add more info about them

* feat: update tsconfig to include strict noUnsed params

* feat(api homepage): revamp api home page

* feat: update wani kuni image

* feat: add dot img

* feat: use hono cors

* feat: use hono rate limiter

* build: remove unnecessary deps, add ones needed and update description

* feat: add hianime routes and their handlers

* feat: update vercel deployment file

* docs: update logo and scraper docs, add envs section

* feat: update main server file

* feat: update peronal deployments caution section
2024-10-06 01:13:23 +05:30
Conventional Changelog Action 55810ccf23 chore(release): v1.40.0 [skip ci] 2024-10-04 17:57:37 +00:00
Ritesh Ghosh c8b6aebaaf Add images to be used for version 2 of this API 2024-10-04 23:27:26 +05:30
Ritesh Ghosh 332feca25f feat(future): add hianime_v2 social img 2024-10-04 23:25:29 +05:30
Ritesh Ghosh 1bba988e0d feat(future): add hianime_v2 image 2024-10-04 23:08:43 +05:30
Conventional Changelog Action 2d2ae67ac8 chore(release): v1.39.0 [skip ci] 2024-10-04 06:55:23 +00:00
Ritesh Ghosh 6ce6b105c7 refactor: rename WINDOWMS env to WINDOW_MS 2024-10-04 12:25:04 +05:30
Ritesh Ghosh 21a8718f87 feat: update allowed origins to include wildcard if env not present 2024-10-04 12:24:31 +05:30
Ritesh Ghosh e30d983996 refactor: update .env.example formatting 2024-10-04 12:22:03 +05:30
Conventional Changelog Action 1f3ddc980c chore(release): v1.38.4 [skip ci] 2024-10-04 06:48:09 +00:00
Ritesh Ghosh 3813902aaa Merge pull request #64 from divyansh355/main
Enhance CORS Configuration for Production Security
2024-10-04 12:17:57 +05:30
Divyansh 91fd0918c3 Enhance CORS Configuration for Production Security
📌 Removed the wildcard (*) origin and replaced it with trusted origins from .env.

📌 Introduced environment variable (CORS_ALLOWED_ORIGINS) for dynamic origin management.

📌 Improved security by blocking untrusted origins and methods.

📌 Enhanced performance with maxAge for caching preflight responses.

📌 No breaking changes, as the fallback origin is set to http://localhost:4000 for development, ensuring compatibility with local setups.
2024-10-01 04:55:14 +00:00
Conventional Changelog Action dbbd46a99d chore(release): v1.38.3 [skip ci] 2024-09-05 06:04:54 +00:00
Ritesh Ghosh 24d35869d9 chore: update description and bump dependencies 2024-09-05 11:34:32 +05:30
Ritesh Ghosh 812daef427 chore: update index page to include stats and contributors 2024-09-05 11:34:08 +05:30
Conventional Changelog Action 2a75f73fbb chore(release): v1.38.2 [skip ci] 2024-08-14 17:08:58 +00:00
Ritesh Ghosh b87c1d4e67 Merge pull request #63 from WBRK-dev/main
docs: fixed documentation about episode sources
2024-08-14 22:38:44 +05:30
Koert Weber 8106f71f7c docs: fixed documentation about episode sources 2024-08-14 18:26:46 +02:00
Conventional Changelog Action 080d17818f chore(release): v1.38.1 [skip ci] 2024-08-13 09:07:53 +00:00
Ritesh Ghosh bb7dc6b495 chore(Dockerfile): update Docker image description 2024-08-13 14:37:29 +05:30
Conventional Changelog Action ead464f49f chore(release): v1.38.0 [skip ci] 2024-07-24 14:54:48 +00:00
Ritesh Ghosh c65d786673 feat: add jname field to Anime interface 2024-07-24 20:24:18 +05:30
Conventional Changelog Action 04e12aac67 chore(release): v1.37.0 [skip ci] 2024-07-21 13:33:01 +00:00
Ritesh Ghosh 6eb0dce2d3 Merge pull request #60 from WBRK-dev/main
feat: estimated schedule && home && japenese anime names
2024-07-21 19:02:50 +05:30
WBRK-dev 94664abdfd fix: added japanese anime names to all responses 2024-07-21 10:39:17 +02:00
WBRK-dev 5d929461ce feat: added mostPopular, mostFavorite and latestCompleted to the home route response 2024-07-21 10:18:05 +02:00
WBRK-dev 62fa83a56d feat: added episode count to top airing anime 2024-07-21 10:04:33 +02:00
WBRK-dev bdfebb5e32 feat: added episode number to estimated anime schedule 2024-07-21 09:58:18 +02:00
Conventional Changelog Action 160eb2222b chore(release): v1.36.3 [skip ci] 2024-07-18 18:23:52 +00:00
Ritesh Ghosh c02cc3f3fd Merge pull request #59 from WBRK-dev/main
fix: fixed using specific server for episode sources
2024-07-18 23:53:35 +05:30
WBRK-dev bf2c69e7ab fix: fixed tests regarding episode sources 2024-07-18 19:34:09 +02:00
WBRK-dev 4437ef24cc fix: fixed using specific server for episode sources 2024-07-18 17:39:03 +02:00
Conventional Changelog Action c86fb35d58 chore(release): v1.36.2 [skip ci] 2024-07-15 14:48:24 +00:00
Ritesh Ghosh d27e7583de test: update estimated schedule test to use zero padded date in date string 2024-07-15 20:18:04 +05:30