API client for Kitsu.io, with optional Anime collection, and optional Anilist syncing.
Timothy J. Warren
1fb95adfbf
Version 2.2 Pull Request tracking changes leading up to version 2.2 See merge request !1 |
||
---|---|---|
app | ||
build | ||
migrations | ||
public | ||
src/Aviat | ||
tests | ||
.editorconfig | ||
.gitignore | ||
.htaccess | ||
.travis.yml | ||
build.xml | ||
composer.json | ||
index.php | ||
phinx.yml | ||
phpdoc.dist.xml | ||
README.md | ||
sonar-project.properties |
Hummingbird Anime Client
A self-hosted client that allows custom formatting of data from the hummingbird api
Features
-
Anime List views (Each with list and cover views):
- Watching
- Plan to Watch
- On Hold
- Dropped
- Completed
- Combined View
-
Manga List views (Each with list and cover views):
- Reading
- Plan to Read
- On Hold
- Dropped
- Completed
- Combined View
-
Anime collection view (segmented by media type):
- Cover Images
- Table List
Requirements
- PHP 5.5+
- PDO SQLite (For collection tab)
- GD
Installation
- Install via composer:
composer create-project timw4mail/hummingbird-anime-client
- Configure settings in
app/config/config.php
to your liking - Create the following directories if they don't exist, and make sure they are world writable
- app/cache
- public/js/cache
- public/images/manga
- public/images/anime
Server Setup
nginx
Basic nginx setup
server {
location / {
try_files $uri $uri/ /index.php$uri?$args;
}
location ~ ^(.+\.php)($|/) {
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_index index.php;
}
location ^~ /vendor {
deny all;
}
}
Apache
Make sure to have mod_rewrite
and AllowOverride All
enabled in order to take
advantage of the included .htaccess
file. If you don't wish to use an .htaccess
file,
include the contents of the .htaccess
file in your Apache configuration.
Anime Collection Additional Installation
- Run
php /vendor/bin/phinx migrate -e development
to create the database tables - For importing anime:
- Login
- Use the form to select your media
- Save & Repeat as needed
- For bulk importing anime:
- Find the anime you are looking for on the hummingbird search api page:
https://hummingbird.me/api/v1/search/anime?query=
- Create an
import.json
file in the root of the app, with an array of objects from the search page that you want to import - Go to the anime collection tab, and the import will be run
- Find the anime you are looking for on the hummingbird search api page: