aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2025-01-01fix(ts build error): fixed ts build error due to conflicting typesRitesh Ghosh1-4/+5
2024-12-25feat(`/qtip`): add new `/qtip` endpointRitesh Ghosh1-0/+14
2024-12-24feat: use refactored error handlers and cache middlewaresRitesh Ghosh1-32/+9
2024-12-24feat(errorHandling): add error handlers config fileRitesh Ghosh1-0/+26
2024-12-24feat(cache): add cacheConfigSetter & cacheControlMiddleware by #90Ritesh Ghosh2-15/+35
2024-12-23chore: styling changes to be more consistentAbdelaziz Mahdy2-3/+3
2024-12-22feat(cache): add Cache-Control middleware and update .env.exampleAbdelaziz Mahdy2-0/+17
2024-12-22refactor: integrate new `getOrSet` method definitionRitesh Ghosh1-12/+12
2024-12-22refactor: update `getOrSet` method definitionRitesh Ghosh1-1/+1
2024-12-22feat(az-list): add `/azlist/:sortOption` endpoint for scraping hianime's ↵Ritesh Ghosh1-0/+19
az-list animes
2024-12-22feat: add `/v` endpoint for identifying api repo vesionRitesh Ghosh1-0/+6
2024-12-17feat: add global constantsRitesh Ghosh1-0/+5
2024-12-07feat(cache): add middleware to insert `CACHE_CONFIG` variable in request contextRitesh Ghosh1-4/+20
2024-12-07feat(cache): integrated Redis caching layer for endpoint responsesRitesh Ghosh1-17/+80
2024-12-07feat(cache): add `AniwatchAPICache` class to implement API caching layerRitesh Ghosh1-0/+50
2024-12-07feat(server): add aniwatch variables types for type-safe req context ↵Ritesh Ghosh1-0/+8
variable access
2024-10-06Aniwatch API Version 2 (#66)Ritesh Ghosh65-3264/+197
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-04feat: update allowed origins to include wildcard if env not presentRitesh Ghosh1-6/+5
2024-10-01Enhance CORS Configuration for Production SecurityDivyansh1-3/+18
📌 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-07-24feat: add `jname` field to Anime interfaceRitesh Ghosh1-5/+10
2024-07-21fix: added japanese anime names to all responsesWBRK-dev3-7/+17
2024-07-21feat: added `mostPopular`, `mostFavorite` and `latestCompleted` to the home ↵WBRK-dev3-0/+14
route response
2024-07-21feat: added episode count to top airing animeWBRK-dev1-29/+2
2024-07-21feat: added episode number to estimated anime scheduleWBRK-dev2-0/+2
2024-07-18fix: fixed tests regarding episode sourcesWBRK-dev1-3/+3
2024-07-18fix: fixed using specific server for episode sourcesWBRK-dev1-2/+2
2024-07-14feat: add `airingTimestamp` and `secondsUntilAiring` to `/anime/schedule` ↵Ritesh Ghosh1-0/+6
endpoint
2024-07-14feat: add `airingTimestamp` and `secondsUntilAiring` to `/anime/schedule` ↵Ritesh Ghosh1-0/+2
endpoint
2024-07-14refactor: update constants.ts with typed URLsRitesh Ghosh1-4/+4
2024-06-11feat: update rate limit to 6 reqs every 30 minsRitesh Ghosh1-1/+1
2024-05-02fix: crash on unencrypted sources in megacloud extractorWBRK-dev1-1/+1
2024-04-28chore: removed unnecessary linesWBRK-dev1-4/+0
2024-04-28feat: added characters and voice actors to `/info` endpoint responseWBRK-dev2-0/+34
2024-04-28feat: added promotional videos to `/info` endpoint responseWBRK-dev2-0/+23
2024-04-28feat: added raw servers to `/servers` endpoint responseWBRK-dev2-1/+12
2024-04-28feat: added the ability to grab episode sources from raw servers in endpoint ↵WBRK-dev3-2/+3
`/episode-srcs`
2024-04-21fix: regex key grabberWBRK-dev1-65/+42
2024-04-20feat: added new error messageWBRK-dev1-0/+4
2024-04-13fix: Removed unnecessary attributes from Anime interfaceRaze Viana1-2/+0
2024-04-13feat: added mal and anilist id to anime info endpointRaze Viana2-0/+16
2024-03-25feat(advancedSearch): add utility methods related to advanced searchRitesh Ghosh1-0/+85
2024-03-25refactor: update exportsRitesh Ghosh1-35/+10
2024-03-25refactor: update exportsRitesh Ghosh1-33/+2
2024-03-25feat(advancedSearch): add advanced related constantsRitesh Ghosh1-2/+113
2024-03-25feat(advancedSearch): add utility props to search responseRitesh Ghosh1-0/+3
2024-03-25feat(advancedSearch): add helper typesRitesh Ghosh1-0/+16
2024-03-25feat(advancedSearch): add advanced search featureRitesh Ghosh1-11/+41
2024-03-25feat(advancedSearch): feat: add search filter parsingRitesh Ghosh1-10/+33
2024-03-12feat: disabled `ratelimit` & `dont_sleep` for personal deploymentsRitesh Ghosh1-8/+25
2024-03-12feat: add json rate limit response; replace `max` with `limit`Ritesh Ghosh1-3/+9