Loading repository data…
Loading repository data…
TranHuuDat2004 / repository
A Giphy-inspired static website for browsing and managing a personal collection of favorite anime GIFs. Built with HTML, CSS, and Vanilla JS.
This is a static website built with pure HTML, CSS, and JavaScript, hosted on GitHub Pages, designed to store and browse a personal collection of favorite anime GIFs. The interface is inspired by Giphy, allowing users to easily search and view GIFs.
data.js file, making updates easy.You can view the live website at: https://tranhuudat2004.github.io/my_anime_gif/
Clone Repository (Optional):
git clone https://github.com/tranhuudat2004/my_anime_gif.git
cd my_anime_gif
Add GIFs:
gifs/ directory, categorized by anime series. For example, GIFs from the "Otonari no Tenshi" series would go into gifs/otonari_no_tenshi/.data.js file.// Inside the corresponding series object, e.g., "OtonariNoTenshi":
{
id: "otonari_mahiru_X", // UNIQUE ID for each GIF sitewide
fileName: "Mahiru (X).gif", // Filename within the series directory
title: "Short description of the GIF",
tags: ["tag1", "tag2", "character"]
}
// For external GIF links (e.g., Giphy):
// Place within a series object with isExternal: true
{
id: "giphy_unique_id_XYZ", // UNIQUE ID
url: "https://link.to.your/external/giphy.gif", // Direct URL to the GIF
title: "Title for the external GIF",
tags: ["external_tag_1", "external_tag_2"]
}
id.Configure CSS (Optional):
<style> tags of index.html and detail.html. You can customize colors, fonts, spacing, etc..view-small, .view-medium, .view-large) and breakpoints are defined in the CSS of index.html.Run the Website:
index.html file with a web browser to view the website locally.Deploy to GitHub Pages:
index.html, detail.html, data.js, and the gifs/ directory) to your GitHub repository.main (or master) branch and the / (root) directory as the source, then click "Save".style.css, script.js).index.html if the GIF count becomes very large.As this is a personal project, contributions are likely not necessary. However, if you have ideas or suggestions, feel free to create an Issue!
This project is released under the MIT License (If you wish to add a LICENSE file). Or simply: "This source code is provided for reference and personal use."
Enjoy your GIF collection! ✨