Skip to content

A continuous vertical manga viewer application with chapter navigation and much more.

License

Notifications You must be signed in to change notification settings

marginal23326/Manga-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manga Viewer

Table of Contents

Overview

Manga Viewer is a simple, offline application designed for seamless manga reading. It offers a continuous vertical viewing experience with manga management options, intuitive navigation, and customizable settings.

Features

  • Manga Management: Add, edit, and organize multiple manga series on the homepage.
  • Smooth Navigation: Effortlessly browse through chapters and images using various methods.
  • Image Enhancement: Zoom, fullscreen, and lightbox functionalities for detailed viewing.
  • Customizable Settings: Configure paths, chapter details, themes, and more to suit your preferences.
  • Progress Tracking: Visual indicators for scroll position and chapter progress.
  • Offline Functionality: Runs locally without the need for an internet connection.

Technologies Used

  • HTML5
  • CSS3 (Bootstrap 5, FontAwesome, Google Fonts)
  • JavaScript (ES6+)
  • jQuery
  • CryptoJS
  • Sortable.js
  • Smoothscroll

Installation

  1. Clone the repository:
    git clone https://github.com/marginal23326/Manga-Viewer.git
  2. Navigate to the project directory:
    cd Manga-Viewer
  3. Open index.html in your preferred web browser.

File Structure

Manga-Viewer/
├── index.html
├── styles.css
├── script.js
├── lib/
│   └── (library files)
├── assets/
│   └── fullscreen.svg
├── README.md
└── LICENSE

Usage Guide

Homepage

  • Adding Manga:
    1. Click "Add Manga"
    2. Fill in the details (Title, Description, Images Full Path, Total Images, Total Chapters)
    3. Click "Save Manga"
  • Managing Manga:
    • Edit: Hover over a manga and click the edit button
    • Delete: Hover over a manga and click the delete button
    • Reorder: Click and drag manga cards to rearrange

Navigation Bar

  • First Chapter: <<
  • Previous Chapter: <
  • Next Chapter: >
  • Last Chapter: >>
  • Toggle Fullscreen: fullscreen

Sidebar

  • Zoom Controls:
    • Zoom In: +
    • Zoom Out: -
    • Reset Zoom:
  • Chapter Selection: Use the dropdown menu
  • Settings: Click the ⚙ button to access:
    • General settings (theme, shortcuts)
    • Manga details
    • Navigation preferences
    • Display options
  • Return to Home: Click the ⌂ (home) button to return to the homepage.

Lightbox

  • Open: Long-press on an image
  • Close: Click or outside the image
  • Navigate: Use < and > buttons
  • Zoom: Use mouse wheel
  • Move Image: Click and drag

Shortcuts

Shortcut Action
or d Next Image
or a Previous Image
Click upper half of screen Scroll Up
Click lower half of screen Scroll Down
Alt + → or Alt + d Next Chapter
Alt + ← or Alt + a Previous Chapter
h First Chapter
l Last Chapter
+ Zoom In
- Zoom Out
= Reset Zoom
f Toggle Fullscreen
t Change Theme
r Reload Chapter
Shift + S Open Settings
Esc Return to Home

Note: Ensure no input field is focused for shortcuts to work.

Additional Notes

  • Image Naming: Images must be named sequentially (e.g., 1.jpg, 2.jpg); they don't have to start at 1. Supported formats: jpg, jpeg, png, webp, gif.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Thank you for choosing Manga Viewer!

About

A continuous vertical manga viewer application with chapter navigation and much more.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published