Skip to content

VIRUSGAMING64/virusgaming64.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ VIRUSGAMING64 Portfolio

GitHub Pages Auto Update License

A dynamic GitHub portfolio showcasing projects, statistics, and coding journey

๐ŸŒ Live Demo | ๐Ÿ“Š View Stats | ๐Ÿ› Report Bug


๐Ÿ“– About This Project ๐ŸŒŸ

Welcome to my interactive GitHub portfolio! ๐Ÿ‘‹ This website is a living showcase of my coding projects and development journey. ๐Ÿš€ It automatically updates daily with the latest repository statistics, programming language usage, and project information directly from my GitHub profile.

Built with vanilla JavaScript, HTML, and CSS ๐Ÿ’ช, this portfolio demonstrates clean code practices, API integration, and automation through GitHub Actions. The site features a modern, responsive design with animated backgrounds โœจ and an intuitive tabbed interface.

โœจ Key Features

  • ๐Ÿ”„ Automated Daily Updates - Repository statistics refresh automatically every day at 5:40 PM Cuba time (21:40 UTC)
  • ๐Ÿ“Š Real-Time Repository Stats - Displays size, stars, forks, and descriptions for all repositories
  • ๐Ÿ’ป Language Analytics - Visual breakdown of programming languages used across projects
  • ๐ŸŽจ Modern UI/UX - Clean, responsive interface with animated particle background
  • ๐Ÿ“ฑ Mobile Friendly - Fully responsive design that works on all devices
  • โšก Fast & Lightweight - No heavy frameworks, just pure vanilla JavaScript
  • ๐Ÿ” Searchable & Organized - Easy-to-navigate tabbed layout for repositories and languages

๐Ÿš€ Live Demo ๐ŸŒ

Visit the live website: virusgaming64.github.io ๐Ÿ‘ˆ

The site features:

  • ๐Ÿ“ฆ Repos Tab: Browse all my GitHub repositories with detailed information ๐Ÿ“š
  • ๐Ÿ’ป Languages Tab: See the programming languages I work with and their usage percentages ๐Ÿ“ˆ

๐Ÿ› ๏ธ Technical Architecture โš™๏ธ

How It Works ๐Ÿ”ง

This portfolio uses a three-component automated system: ๐ŸŽฏ

1. ๐Ÿค– GitHub Actions Workflow

Located in .github/workflows/update-repo-stats.yml:

  • Runs automatically on a daily schedule (21:40 UTC)
  • Can be manually triggered from the Actions tab
  • Executes the Python data fetcher
  • Commits updated statistics back to the repository
  • Triggers automatic deployment to GitHub Pages

2. ๐Ÿ Python Data Fetcher

Script: scripts/fetch_repo_stats.py

  • Connects to GitHub API to fetch repository data
  • Retrieves comprehensive information for each repository
  • Calculates aggregate language statistics
  • Generates formatted size metrics (KB, MB, GB)
  • Saves structured data to data/repo-stats.json

3. ๐ŸŒ Interactive Web Interface

Files: index.html, src/main.js, src/main.css

  • Loads and displays repository statistics dynamically
  • Renders animated particle background for visual appeal
  • Provides tabbed navigation between different views
  • Updates in real-time when new data is available
  • Fully responsive across desktop and mobile devices

Data Structure ๐Ÿ“‹

Repository statistics are stored in data/repo-stats.json: ๐Ÿ’พ

{
  "last_updated": "2025-11-08T21:40:00Z",
  "total_repositories": 15,
  "overall_languages": {
    "JavaScript": 45.5,
    "Python": 30.2,
    "HTML": 15.3,
    "CSS": 9.0
  },
  "repositories": [
    {
      "name": "awesome-project",
      "description": "An amazing project description",
      "size_kb": 2048,
      "size_formatted": "2.0 MB",
      "languages": {
        "JavaScript": 70.5,
        "HTML": 20.0,
        "CSS": 9.5
      },
      "stars": 10,
      "forks": 3,
      "html_url": "https://github.com/VIRUSGAMING64/awesome-project",
      "created_at": "2025-01-15T10:30:00Z",
      "updated_at": "2025-11-08T15:20:00Z"
    }
  ]
}

๐Ÿ’ป Local Development ๐Ÿ”จ

Want to run this project locally or contribute? Follow these steps: ๐Ÿ‘‡

Prerequisites โœ…

  • ๐Ÿ Python 3.7 or higher
  • ๐Ÿ”‘ A GitHub Personal Access Token (for fetching repository data)
  • ๐ŸŒ A modern web browser
  • ๐Ÿ“š Basic knowledge of HTML, CSS, and JavaScript

Setup Instructions ๐Ÿ“

  1. Clone the repository ๐Ÿ“ฅ

    git clone https://github.com/VIRUSGAMING64/virusgaming64.github.io.git
    cd virusgaming64.github.io
  2. Install Python dependencies ๐Ÿ“ฆ

    pip install requests
  3. Set up your GitHub token ๐Ÿ”

    # Linux/Mac
    export GITHUB_TOKEN=your_personal_access_token_here
    
    # Windows (PowerShell)
    $env:GITHUB_TOKEN="your_personal_access_token_here"
  4. Fetch repository statistics ๐Ÿ“Š

    python scripts/fetch_repo_stats.py
  5. Start a local web server ๐Ÿš€

    # Python 3
    python -m http.server 8000
    
    # Or use any other local server like Live Server in VS Code
  6. Open your browser ๐ŸŒ Navigate to http://localhost:8000 ๐Ÿ‘€

Manual Statistics Update ๐Ÿ”„

To manually update the repository statistics: โšก

  1. Navigate to the Actions tab ๐ŸŽฌ
  2. Select the "Update Repository Statistics" workflow ๐Ÿ“‹
  3. Click "Run workflow" button โ–ถ๏ธ
  4. Select the branch (usually main) ๐ŸŒฟ
  5. Click "Run workflow" to confirm โœ”๏ธ
  6. Wait for the workflow to complete (usually takes 30-60 seconds) โฑ๏ธ
  7. Refresh the website to see updated statistics ๐Ÿ”ƒ

๐Ÿค Contributing ๐Ÿ’ก

Contributions, issues, and feature requests are welcome! ๐ŸŽ‰ Feel free to check the issues page. ๐Ÿ›

How to Contribute ๐ŸŒŸ

  1. ๐Ÿด Fork the project
  2. ๐ŸŒฟ Create your feature branch (git checkout -b feature/AmazingFeature)
  3. ๐Ÿ’พ Commit your changes (git commit -m 'Add some AmazingFeature')
  4. ๐Ÿš€ Push to the branch (git push origin feature/AmazingFeature)
  5. ๐ŸŽ Open a Pull Request

๐Ÿ“ License ๐Ÿ“œ

This project is open source and available under the MIT License. โš–๏ธ


๐Ÿ“ฌ Contact ๐Ÿ’ฌ

VIRUSGAMING64 ๐Ÿ‘จโ€๐Ÿ’ป - @VIRUSGAMING64

Project Link: ๐Ÿ”— https://github.com/VIRUSGAMING64/virusgaming64.github.io


โญ Star this repository if you found it helpful! โญ

Made with โค๏ธ and โ˜• by VIRUSGAMING64

๐ŸŽฎ Happy Coding! ๐Ÿ’ป

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •