Waifu Gallery is a web application that serves as a repository for mostly anime-style images. It allows users to browse, search, and create their own collections that includes NSFW content, fan art, and more. The application features a user-friendly interface and offers several useful features.
- My fist time making a MD file, pls be nice
- API Access: Utilize the
/apiroute for my own version of the waifu.pics API documentation. - Contact Page: Reach out to the developers or provide feedback via the
/contactpage. - Developer Tools: Access secret developer tools through the
/rawrroute. - Responsive Design: Enjoy a seamless experience across desktops, tablets, and smartphones.
- Custom URL redirection: Allowes for the use of path like
/api.
Experience the application live at:
imduck42.github.io/Waifu-Gallery
Waifu-Gallery/
├── assets/ # Image assets and static files
├── contact/ # Contact page resources
├── documentation/ # Additional documentation files
├── stuff/ # Miscellaneous resources
├── 404.html # Custom 404 error page (redirects to base)
├── app.js # Main JavaScript file for application logic
├── index.html # Main HTML page
├── refactorlist.html # List of refactoring tasks or updates
├── styles.css # Stylesheet for the application
/: Home page displaying the gallery./api: API documentation and access./contact: Contact page for user feedback and inquiries./type/category: Quickly fetch images by specific categories./rawr: Secret developer tools for advanced functionalities.
- HTML: Structure of the web pages.
- CSS: Styling and layout.
- JavaScript: Interactive functionality and API interactions.
Users can create custom image sources in the form of a .json file.
Learn more about how to use them in our documentation.
Example layout:
{
"sourceInfo": [
{
"title": "Custom Source Template",
"description": "A template for creating custom sources",
"version": "69.42.0",
"author": "ImDuck42(Creator)",
"contact": "hu7ao on Discord"
}
],
"sfw": [
{
"category": "nature",
"information": "Natural landscapes and wildlife",
"images": [
"https://example.com/nature1.mp4",
"https://example.com/nature2.jpg"
]
},
{
"category": "anime",
"information": "Anime artwork and characters",
"images": [
"https://example.com/anime1.png",
"https://example.com/anime2.webp"
]
}
],
"nsfw": [
{
"category": "adult Content",
"information": "Explicit adult material",
"images": [
"https://example.com/nsfw1.jpg",
"https://example.com/nsfw2.gif"
]
},
{
"category": "sensitive",
"information": "Other sensitive content",
"images": [
"https://example.com/sensitive1.jpg",
"https://example.com/sensitive2.mov"
]
}
]
}- Custom sources are saved in local storage and if imported, allowes for the usage of direct URL's for all users having the same Source name and category
- https://imduck42.github.io/Waifu-Gallery/type/Source%20Name:Category
- (%20 for spaces)
To set up the project locally:
-
Clone the repository:
git clone https://github.com/ImDuck42/Waifu-Gallery.git
-
Navigate to the project directory:
cd Waifu-Gallery -
Open
index.htmlin your preferred web browser.
For any further questions or support, please visit the contact page.