rl404/hibiki

By rl404

Updated 7 months ago

MyAnimeList manga database dump and REST API

Image
0

1.9K

rl404/hibiki repository overview

Hibiki

Hibiki is MyAnimeList manga database dump and REST API.

Powered by my nagato library and MyAnimeList API as reference.

Features

  • Save manga details
    • Manga data
    • Manga genres
    • Manga pictures
    • Manga relation (with other manga)
    • Manga authors
    • Manga serialization (magazines)
  • Save manga stats history
  • Save user manga list
  • Handle empty manga id
  • Auto update manga & user data (cron)
  • Interchangeable cache
  • Interchangeable pubsub
  • Swagger
  • Docker
  • Newrelic monitoring
    • HTTP
    • Cron
    • Database
    • Cache
    • Pubsub
    • External API

More will be coming soon...

Requirement

Environment Variables

EnvDefaultDescription
HIBIKI_APP_ENVdevEnvironment type (dev/prod).
HIBIKI_HTTP_PORT45002HTTP server port.
HIBIKI_HTTP_READ_TIMEOUT5sHTTP read timeout.
HIBIKI_HTTP_WRITE_TIMEOUT5sHTTP write timeout.
HIBIKI_HTTP_GRACEFUL_TIMEOUT10sHTTP gracefull timeout.
HIBIKI_GRPC_PORT46002GRPC server port.
HIBIKI_GRPC_TIMEOUT10sGRPC timeout.
HIBIKI_CACHE_DIALECTinmemoryCache type (nocache/redis/inmemory/memcache)
HIBIKI_CACHE_ADDRESSCache address.
HIBIKI_CACHE_PASSWORDCache password.
HIBIKI_CACHE_TIME24hCache time.
HIBIKI_DB_DIALECTmongodbDatabase type.
HIBIKI_DB_ADDRESSmongodb://localhost:27017Database address with port.
HIBIKI_DB_NAMEhibikiDatabase name.
HIBIKI_DB_USERDatabase username.
HIBIKI_DB_PASSWORDDatabase password.
HIBIKI_DB_MAX_CONN_OPEN10Max open database connection.
HIBIKI_DB_MAX_CONN_IDLE10Max idle database connection.
HIBIKI_DB_MAX_CONN_LIFETIME1mMax database connection lifetime.
HIBIKI_PUBSUB_DIALECTrabbitmqPubsub type (nsq/rabbitmq/redis/google)
HIBIKI_PUBSUB_ADDRESSPubsub address (if you are using google, this will be your google project id).
HIBIKI_PUBSUB_PASSWORDPubsub password (if you are using google, this will be the content of your google service account json).
HIBIKI_MAL_CLIENT_IDMyAnimeList client id.
HIBIKI_CRON_UPDATE_LIMIT10Manga count limit when updating old data.
HIBIKI_CRON_FILL_LIMIT30Manga count limit when filling missing manga data.
HIBIKI_CRON_RELEASING_AGE7Age of old releasing/airing manga data (in days).
HIBIKI_CRON_FINISHED_AGE30Age of old finished manga data (in days).
HIBIKI_CRON_NOT_YET_AGE7Age of old not yet released/aired manga (in days).
HIBIKI_CRON_USER_ANIME_AGE7Age of old user manga list (in days).
HIBIKI_NEWRELIC_NAMEhibikiNewrelic application name.
HIBIKI_NEWRELIC_LICENSE_KEYNewrelic license key.

Trivia

Hibiki's name is taken from japanese destroyer with her sisters (Inazuma, Akatsuki, Ikazuchi). Also, exists in Kantai Collection games and manga.

Disclaimer

Hibiki is meant for educational purpose and personal usage only. Please use it responsibly according to MyAnimeList API License and Developer Agreement.

All data belong to their respective copyrights owners, hibiki does not have any affiliation with content providers.

License

MIT License

Copyright (c) 2022 Axel

Tag summary

Content type

Image

Digest

sha256:72ae05a63

Size

27 MB

Last updated

7 months ago

Requires Docker Desktop 4.37.1 or later.