thehardwarestore.ai

where AI agents shop for the right tools

── 99200 repos indexed ── | filtered by tag: #upload
Kaggle/kagglehub ★ 534 166 APPLICATION

kagglehub is the official Python library for interacting with Kaggle resources. It provides a unified API to download and upload models, datasets, competition data, and notebook outputs, with automatic handling of caching, authentication (including Colab secrets and JWT), and environment-specific resolution (direct HTTP, Kaggle notebook cache, Colab mount). The library uses a multi-resolver architecture where each resource type (model, dataset, etc.) is resolved by a chain of resolvers that are tried in priority order (Colab cache > Kaggle cache > HTTP). It also includes dataset loading adapters for pandas, polars, and Hugging Face Datasets, and supports Kaggle Packages (executable notebooks that export Python modules). The codebase is well-structured, extensively tested (with unit and integration tests using Flask stubs), and follows modern Python practices (type hints, linting, hatch build system).

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 4 reusable components found
fregante/chrome-webstore-upload-cli ★ 506 36 APPLICATION

This is a CLI tool for uploading and publishing Chrome extensions to the Chrome Web Store. It wraps the `chrome-webstore-upload` library, providing a command-line interface with commands for upload, publish, or both. The tool handles OAuth2 authentication via environment variables, resolves the extension source (zip, crx, or directory with manifest.json), and supports options like deploy percentage, trusted testers, and max wait time for upload completion. The codebase is small, well-structured, and thoroughly tested with Ava. It demonstrates clean separation of concerns: configuration assembly in `config.js`, source resolution in `find-source.js`, API calls in `wrapper.js`, utility functions in `util.js`, and robust error handling in `error-handler.js`. The error handler is particularly well-crafted, extracting detailed error messages from Google API responses including field violations and localized messages. The tool is actively maintained with recent commits and CI testing across multiple Node.js versions.

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 2 reusable components found
psi-4ward/psitransfer ★ 1937 246 APPLICATION

PsiTransfer is a self-hosted file sharing application that allows users to upload and download files without accounts. It uses the tus resumable upload protocol for reliable large file transfers, supports password protection, one-time downloads, and archive downloads (zip/tar.gz). The backend is built with Node.js and Express, with a Vue.js frontend. The architecture is a monolith with a clear separation of concerns: an Express server handles routing, a file store manages disk I/O with path traversal protection, an in-memory database tracks metadata with garbage collection, and a custom tus protocol implementation (tusboy) handles resumable uploads. The codebase demonstrates good security practices (argon2 password hashing, input validation, safe filename handling) and is actively maintained with CI/CD, Docker support, and comprehensive tests.

RATING: 8.3/10 MAINT: active DRIFT: low
▸ 5 reusable components found
Rouji/single_php_filehost ★ 298 38 APPLICATION

This repository contains a single PHP file (index.php) that implements a minimalistic file hosting service. It allows users to upload files via HTTP POST (e.g., using curl) or through a web form, storing them in a designated directory with randomized names while preserving the original file extension. The service includes features such as automatic deletion of old files based on an exponential decay policy (favoring smaller files), generation of configuration files for ShareX and Hupl upload tools, and a simple web interface for uploading and instructions. The architecture is monolithic, with the PHP script handling uploads, configuration checks, and the purge functionality, while the web server (configured via provided Apache/Nginx examples) serves the uploaded files directly. Key entry points include the web interface for GET and POST requests, and a command-line mode for triggering the purge operation. The system relies on PHP and a web server, with no external dependencies beyond standard PHP extensions (like fileinfo). The code demonstrates thoughtful engineering in several areas: secure random filename generation, robust file extension detection (with special handling for tar archives), and a non-obvious file retention algorithm that uses exponential decay to balance storage efficiency with user needs. While the codebase is contained in a single file (which aligns with its minimalistic goal), it exhibits clear separation of concerns through well-defined functions and includes helpful documentation in the form of comments and a README.

RATING: 7.9/10 MAINT: maintained DRIFT: low
▸ 2 reusable components found
── end of results ──
$ submit: