A simple and customizable React app designed to host your webcomics.
See it in action: https://wolffm.github.io/webcomicreact/
- Navigation: Simple left/right arrow keys or on-screen buttons to move between pages.
- Multiple Stories: Easily organize your comics into different story arcs.
- Dynamic Loading: Fetches images as you navigate, optimizing for performance.
- Customizable: Add your own comics and titles with a few simple steps.
-
Clone the Repository:
git clone https://github.com/wolffm/webcomicreact.git cd webcomicreact
-
Install Dependencies:
npm install
-
Add Your Comics:
- Create folders under
public/assets
for each story arc (e.g.,public/assets/AI-Arena
,public/assets/Misc
). - Place your comic pages (numbered sequentially, e.g.,
1.png
,2.png
) in their respective folders. - Update the
storyList
variable insrc/App.js
with your story names.
- Create folders under
-
Run the App:
npm start
This will open the app in your browser at
http://localhost:3000/
.
- Title: Change the
<h1>
and<h2>
text insrc/App.js
. - Styles: Edit
src/App.css
to modify colors, fonts, and layout. - Image Limit: Adjust
MAX_IMAGES
insrc/App.js
to control the maximum number of pages per story. - Navigation: Customize the arrow buttons or add other navigation elements.
This project is configured to be deployed to GitHub Pages. If you'd like to do so, follow these steps:
- Change the basename in
src/App.js
from/webcomicreact/
to/
-
npm run deploy
Contributions are welcome! Feel free to submit issues or pull requests.