Sample of two plugins used in MangaBlitz, feel free to fork and create your own.