import React from 'react'; import { UploadStatus } from './types'; import { FileUploader } from './components/FileUploader'; import { UploadList } from './components/UploadList'; import { Upload, Rocket, Database, ShieldCheck, Zap, LayoutGrid, CheckCircle2, HelpCircle, Terminal } from 'lucide-react'; import { useFileUpload } from './hooks/useFileUpload'; export default function App() { const { files, isUploading, addFiles, removeFile, updateFilePath, startUpload } = useFileUpload(); const hasPendingFiles = files.some(f => f.status === UploadStatus.IDLE || f.status === UploadStatus.ERROR); return (
{/* Decorative Background */}
{/* Navbar */}
DataTwan
{/* Hero Section */}
V2.0 is Live: Faster Uploads

The Ultimate Hugging Face Dataset Uploader

Drag, drop, and deploy your machine learning datasets securely to the cloud. Optimized for large files, bulk processing, and ease of use.

{/* Upload Container */}
{/* File Uploader Component */}
{/* Queue List */}
{/* Action Button */} {files.length > 0 && (
)}
{/* SEO Content: Features */}

Why use DataTwan?

Built for Data Scientists and ML Engineers

Secure API Proxy

Your files are routed through a secure backend proxy. Credentials are never exposed to the client-side browser, ensuring maximum security for your repositories.

Lightning Fast

Optimized for speed. Our bulk upload algorithm handles multiple files simultaneously, reducing the time it takes to push your datasets to Hugging Face.

Auto-Formatting

Automatic filename sanitization. Timestamps are added, and special characters are converted to English slugs to ensure compatibility with Linux/Unix systems.

{/* SEO Content: FAQ */}

Frequently Asked Questions

Is this tool free to use?
Yes, DataTwan Uploader is 100% free. It utilizes the standard Hugging Face API to manage your datasets without any hidden costs.
What types of files can I upload?
You can upload any file type supported by Hugging Face (JSON, CSV, Parquet, Images, Text, etc.). The tool automatically sanitizes filenames to prevent errors.
Where are my files stored?
Files are uploaded directly to the TwanAPI/DataTwan repository on Hugging Face. We do not store your files on our servers; they are streamed directly to the destination.
{/* Footer */}
); }