Ritesh Ghosh
cb5a4672a8
fix(ts build error): fixed ts build error due to conflicting types
2025-01-01 13:42:07 +05:30
Ritesh Ghosh
f0acd89d87
feat(/qtip): add new /qtip endpoint
2024-12-25 18:13:47 +05:30
Ritesh Ghosh
da6699ba22
feat: use refactored error handlers and cache middlewares
2024-12-24 17:10:14 +05:30
Ritesh Ghosh
da19fb7e86
feat(errorHandling): add error handlers config file
2024-12-24 17:09:43 +05:30
Ritesh Ghosh
5f1f2167df
feat(cache): add cacheConfigSetter & cacheControlMiddleware by #90
2024-12-24 17:07:35 +05:30
Abdelaziz Mahdy
dfc278be08
chore: styling changes to be more consistent
2024-12-23 03:27:43 -04:00
Abdelaziz Mahdy
f1f5db84f9
feat(cache): add Cache-Control middleware and update .env.example
2024-12-22 15:32:56 -04:00
Ritesh Ghosh
b26a9cd9ff
refactor: integrate new getOrSet method definition
2024-12-22 00:43:18 +05:30
Ritesh Ghosh
64eaa18ed9
refactor: update getOrSet method definition
2024-12-22 00:43:03 +05:30
Ritesh Ghosh
861a897999
feat(az-list): add /azlist/:sortOption endpoint for scraping hianime's az-list animes
2024-12-22 00:40:06 +05:30
Ritesh Ghosh
062e662fbc
feat: add /v endpoint for identifying api repo vesion
2024-12-22 00:39:13 +05:30
Ritesh Ghosh
54fe5389e1
feat: add global constants
2024-12-17 12:49:14 +05:30
Ritesh Ghosh
da83048f90
feat(cache): add middleware to insert CACHE_CONFIG variable in request context
2024-12-07 21:14:36 +05:30
Ritesh Ghosh
5cd99fcc64
feat(cache): integrated Redis caching layer for endpoint responses
2024-12-07 21:13:16 +05:30
Ritesh Ghosh
b7d036dbe2
feat(cache): add AniwatchAPICache class to implement API caching layer
2024-12-07 21:12:34 +05:30
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
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
Ritesh Ghosh
21a8718f87
feat: update allowed origins to include wildcard if env not present
2024-10-04 12:24:31 +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
Ritesh Ghosh
c65d786673
feat: add jname field to Anime interface
2024-07-24 20:24:18 +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
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
Ritesh Ghosh
041c0b7098
feat: add airingTimestamp and secondsUntilAiring to /anime/schedule endpoint
2024-07-14 00:09:22 +05:30
Ritesh Ghosh
3f0b367ae0
feat: add airingTimestamp and secondsUntilAiring to /anime/schedule endpoint
2024-07-14 00:09:11 +05:30
Ritesh Ghosh
68aba1d6bc
refactor: update constants.ts with typed URLs
2024-07-14 00:07:55 +05:30
Ritesh Ghosh
8d82f44896
feat: update rate limit to 6 reqs every 30 mins
2024-06-11 10:37:32 +05:30
WBRK-dev
8ee9120a10
fix: crash on unencrypted sources in megacloud extractor
2024-05-02 12:55:10 +02:00
WBRK-dev
2f0157ab33
chore: removed unnecessary lines
2024-04-28 11:47:44 +02:00
WBRK-dev
f6261199f8
feat: added characters and voice actors to /info endpoint response
2024-04-28 11:44:26 +02:00
WBRK-dev
8abde11e7b
feat: added promotional videos to /info endpoint response
2024-04-28 11:25:12 +02:00
WBRK-dev
ffebb03bc9
feat: added raw servers to /servers endpoint response
2024-04-28 10:30:10 +02:00
WBRK-dev
a0d039ecc1
feat: added the ability to grab episode sources from raw servers in endpoint /episode-srcs
2024-04-28 10:26:39 +02:00
WBRK-dev
33bdd5adcd
fix: regex key grabber
2024-04-21 13:17:26 +02:00
WBRK-dev
44d6ff5a11
feat: added new error message
2024-04-20 08:54:44 +02:00
Raze Viana
4682af675d
fix: Removed unnecessary attributes from Anime interface
2024-04-13 19:26:43 +02:00
Raze Viana
55eaf06081
feat: added mal and anilist id to anime info endpoint
2024-04-13 00:21:31 +02:00
Ritesh Ghosh
79d0bdf05f
feat(advancedSearch): add utility methods related to advanced search
2024-03-25 19:00:52 +05:30
Ritesh Ghosh
be672c5422
refactor: update exports
2024-03-25 19:00:18 +05:30
Ritesh Ghosh
ede94ab092
refactor: update exports
2024-03-25 19:00:07 +05:30
Ritesh Ghosh
68e4c70dd8
feat(advancedSearch): add advanced related constants
2024-03-25 18:59:54 +05:30
Ritesh Ghosh
d6f9f0f665
feat(advancedSearch): add utility props to search response
2024-03-25 18:59:35 +05:30
Ritesh Ghosh
71f0905115
feat(advancedSearch): add helper types
2024-03-25 18:59:00 +05:30
Ritesh Ghosh
1c02c9cf4f
feat(advancedSearch): add advanced search feature
2024-03-25 18:58:40 +05:30
Ritesh Ghosh
fef106da27
feat(advancedSearch): feat: add search filter parsing
2024-03-25 18:58:09 +05:30
Ritesh Ghosh
8565619f3a
feat: disabled ratelimit & dont_sleep for personal deployments
2024-03-12 22:57:39 +05:30
Ritesh Ghosh
870fae700b
feat: add json rate limit response; replace max with limit
2024-03-12 22:54:09 +05:30