{"id":46249905,"url":"https://github.com/t1ckbase/file-to-data-uri","last_synced_at":"2026-03-03T22:01:28.923Z","repository":{"id":317381694,"uuid":"1067166634","full_name":"T1ckbase/file-to-data-uri","owner":"T1ckbase","description":"A free, fast, vibe-coded client-side tool to convert any file (like images) into a Data URI or Base64 string directly in your browser.","archived":false,"fork":false,"pushed_at":"2025-09-30T13:54:47.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-30T15:26:33.346Z","etag":null,"topics":["base64","converter","data-uri","html","image","tool","vibe-coding","vibecoded"],"latest_commit_sha":null,"homepage":"https://t1ckbase.github.io/file-to-data-uri/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/T1ckbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-30T13:22:14.000Z","updated_at":"2025-09-30T13:54:51.000Z","dependencies_parsed_at":"2025-09-30T15:26:36.253Z","dependency_job_id":null,"html_url":"https://github.com/T1ckbase/file-to-data-uri","commit_stats":null,"previous_names":["t1ckbase/file-to-data-uri"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/T1ckbase/file-to-data-uri","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/T1ckbase%2Ffile-to-data-uri","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/T1ckbase%2Ffile-to-data-uri/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/T1ckbase%2Ffile-to-data-uri/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/T1ckbase%2Ffile-to-data-uri/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/T1ckbase","download_url":"https://codeload.github.com/T1ckbase/file-to-data-uri/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/T1ckbase%2Ffile-to-data-uri/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30063354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T18:21:05.932Z","status":"ssl_error","status_checked_at":"2026-03-03T18:20:59.341Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["base64","converter","data-uri","html","image","tool","vibe-coding","vibecoded"],"created_at":"2026-03-03T22:01:27.898Z","updated_at":"2026-03-03T22:01:28.918Z","avatar_url":"https://github.com/T1ckbase.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File to Data URI Converter\n\n\u003e [!WARNING]\n\u003e This is vibe-coded\n\n[Site link](https://t1ckbase.github.io/file-to-data-uri/)\n\nA simple, fast, and secure client-side tool to convert any file into its Data URI or Base64 representation. It runs entirely in your browser, meaning your files are never uploaded to a server, ensuring your data remains private.\n\n## ✨ Features\n\n*   **100% Client-Side:** All processing is done in your browser using JavaScript. Your files never leave your computer.\n*   **Drag \u0026 Drop:** Easily drop one or multiple files anywhere on the page to start the conversion.\n*   **Multi-File Support:** Convert multiple files at once, with each result displayed in its own block.\n*   **Rich File Info:** See the original file name, MIME type, size, and the final Data URI size with the percentage increase.\n*   **One-Click Copy:** A convenient \"Copy\" button for each result.\n*   **Light \u0026 Dark Mode:** Automatically adapts to your system's color scheme.\n*   **Zero Dependencies:** Written in plain HTML, CSS, and JavaScript. No frameworks, no build steps.\n\n## 🤔 Why This Tool?\n\nMany online file-to-Base64 converters require you to upload your files to their servers. This can be slow and poses a significant privacy risk, especially with sensitive data.\n\nThis tool was built to provide a fast, secure, and user-friendly alternative that respects your privacy by performing all operations locally. It's a single HTML file that you can run online or save and use offline.\n\n## 🚀 How It Works\n\nThe application is built with modern, dependency-free web technologies:\n\n*   **FileReader API:** The core of the application, used to read the contents of a user-selected file and encode it as a Data URL (`readAsDataURL`).\n*   **Drag and Drop API:** Enables the intuitive drag-and-drop functionality for file input.\n*   **Clipboard API:** Powers the secure, one-click \"Copy\" functionality (`navigator.clipboard.writeText`).\n*   **Vanilla JavaScript:** All logic is handled with plain JavaScript for maximum performance and simplicity.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft1ckbase%2Ffile-to-data-uri","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ft1ckbase%2Ffile-to-data-uri","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ft1ckbase%2Ffile-to-data-uri/lists"}