Skip to content

jenil1236/FilePreviewer_Extension-Issues

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Extension Logo

File Previewer

The Ultimate Sidekick for GitHub Explorers!
Because life is too short to download every file just to see if it’s the right one.

Status React Vite Platform


🚀 The Mission: Ending the "Download Hassle"

Ever clicked on a .npy file on GitHub just to see a screen saying "View Raw"? Then you download it, open a Jupyter Notebook, run np.load(), and realize... it's the wrong file. 🤦‍♂️

Download a .zip file, extract it, and realize it’s either the wrong one—or that you only needed a single small part of the entire archive.

File Previewer is here to rescue your workflow. It injects a powerful preview engine directly into your GitHub Side Panel. Browse, Inspect, and Export without ever leaving the tab. It’s like giving GitHub a pair of X-ray glasses!


✨ Features That'll Make You Smile

🔢 Numpy (.npy) Power

  • Instant Inspection: View array data, dtype, and shape immediately.
  • Conversion to text or JSON format: Copy or download the converted NumPy file in the desired format.

🗂 ZIP File Explorer

  • Nested Magic: Browse ZIP files with a VS Code–like file explorer—no need to download or extract them.
  • Selective View and Download: Open specific files within the zip directly in the previewer and donwload any file or folder.

📊 Data & Tables

  • Export on the Fly: Found a CSV? Convert, preview and download it as a clean JSON with one click.

🎨 Beautiful UI/UX

  • Native Feel: It blends perfectly with GitHub's UI.
  • Dark/Light/System Mode: Because we know you love your Dark Mode at 2 AM. 🦉
  • Copy to Clipboard: Quickly grab data values.

Note:

  • Please be patient while the file is being parsed, especially for large files. It may take a few seconds to load.
  • This extension is currently in Beta and may have some quirks. Please report any issues you encounter!

📺 Demo Room

The "Aha!" Moment

demo.mp4

A quick walkthrough of previewing files and switching themes.


📸 Deep Dive

Feature Description Screenshot
Data Preview See raw data in a structured, scrollable format.
ZIP Tree Navigate through compressed files like a pro.
Theme Sync Matches your GitHub theme.

🛠 How It Works (The "Brain" Stuff)

This extension uses a State-Driven Architecture:

  1. Detection: A background worker monitors your tab. If it sees GitHub, it "wakes up."
  2. Parsing: When an .npy, .zip or .csv is detected, we fetch the binary stream and parse it on-the-fly using npyjs and jszip.

🗺 Roadmap (The Future is Bright!)

  • Support for .parquet and .json file types.
  • Data Visualization: Integrated Chart.js to plot Numpy arrays as heatmaps or line graphs. 📈
  • Enhanced Metadata: Showing Repo name, branch, and owner in the panel header.
  • Search: Filter through large CSV/Npy data instantly.

💌 A Note From The Developer

Hi there! 👋 This is my first-ever attempt at publishing a web extension. It’s been a journey of many late nights and "Why is this not working?!" moments.

Since the core source code is currently in a private repository for security and development reasons, this public repository is your home. Please use the Issues tab to:

  • Report a bug (I promise I'll try to fix it!).
  • Request a new file type support.
  • Just share a suggestion or a virtual high-five!

⚖️ Legal & License

Copyright © 2025 Jenil PrajapatiLinkedIn

  • Software Status: This is a public issue tracker for a proprietary browser extension.
  • License: All rights reserved. The compiled extension is provided "as-is" for personal use.
  • Privacy: This extension never collects your data. All parsing happens locally in your browser.

Liked the tool? Give this repo a ⭐ to show your support!
Happy Coding! 🚀

Check out the links below

Mozilla Fire Addon - Addon
Chrome Web Store - Web Store

About

Preview CSV, NPY, and ZIP files directly in your GitHub side panel without any external tools and file download, along with theme support.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published