{"id":27767943,"url":"https://github.com/bernaferrari/text-to-files","last_synced_at":"2026-03-05T19:51:15.578Z","repository":{"id":286059069,"uuid":"960229346","full_name":"bernaferrari/text-to-files","owner":"bernaferrari","description":"Turn AI chat outputs into files with a single paste.","archived":false,"fork":false,"pushed_at":"2025-04-27T18:34:18.000Z","size":2834,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T19:56:06.509Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://text-to-files.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bernaferrari.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}},"created_at":"2025-04-04T04:35:59.000Z","updated_at":"2025-04-27T18:34:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"15c9c132-51c8-45a3-8d53-1b343f0d8e46","html_url":"https://github.com/bernaferrari/text-to-files","commit_stats":null,"previous_names":["bernaferrari/text-to-files"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernaferrari%2Ftext-to-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernaferrari%2Ftext-to-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernaferrari%2Ftext-to-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernaferrari%2Ftext-to-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bernaferrari","download_url":"https://codeload.github.com/bernaferrari/text-to-files/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251574671,"owners_count":21611387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-04-29T19:56:11.022Z","updated_at":"2026-03-05T19:51:10.528Z","avatar_url":"https://github.com/bernaferrari.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Text to Files Logo](./public/github-logo.png)\n\n# Text to Files\n\nQuickly organize and save code snippets from text sources like LLM responses into a structured file system.\n\n[![Image of the Text to Files website](./public/screenshot.png)](https://text-to-files.vercel.app/)\n\n**Try it live: \u003chttps://text-to-files.vercel.app/\u003e**\n\n## Overview\n\nTired of manually finding and copying code blocks and creating files from AI chats? This tool automates the process. Paste text containing code blocks (with file paths), and the extractor intelligently builds a file tree, ready for preview and download. It simplifies turning scattered snippets into a usable project structure.\n\n## Key Features ✨\n\n- **Smart Extraction:** Identifies file paths and code blocks from unstructured text.\n- **File Tree View:** Visualizes the extracted folder structure.\n- **Code Preview:** View file content with syntax highlighting.\n- **Path Transformation:** Convert names (`camelCase`, `kebab-case`, etc.) \u0026 update imports.\n- **Download Options:** Get individual files, folders, or a full project ZIP.\n- **Demo \u0026 Persistence:** Load sample data and saves your work locally.\n- **Clipboard Friendly:** Easy paste input, copy content.\n\n## How to Use\n\n1. **Copy:** Copy LLM output by clicking in the \"copy\" button (the one that copies the whole result).\n2. **Paste:** Paste text with code blocks to the input area.\n3. **Review:** See the extracted file tree appear on the right. Click on them to preview.\n4. **(Optional) Transform:** Change path naming styles using the \"Rename files\" dropdown.\n5. **Download:** Click to download individual files or the whole project.\n\n**Web Interface:** Access the tool directly at **\u003chttps://text-to-files.vercel.app\u003e**. No setup needed!\n\n## Limitations\n\n- May struggle with unclearly formatted file paths.\n- Complex import updates during transformation might need manual review.\n- Very large inputs could impact performance.\n- The tool may not support all programming languages or file formats.\n\nIf you find an issue or have a suggestion, please [open an issue](../../issues).\n\n## Local Development 💻\n\n1. **Clone:** `git clone https://github.com/bernaferrari/text-to-files.git \u0026\u0026 cd text-to-files`\n2. **Install:** `pnpm i`\n3. **Run:** `pnpm dev`\n4. **Open:** `http://localhost:3000`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernaferrari%2Ftext-to-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbernaferrari%2Ftext-to-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernaferrari%2Ftext-to-files/lists"}