{"id":13344187,"url":"https://github.com/ReplAPI-it/ReplFiles","last_synced_at":"2025-03-12T07:32:00.761Z","repository":{"id":51308744,"uuid":"365078286","full_name":"ReplAPI-it/ReplFiles","owner":"ReplAPI-it","description":"[Temporarily Depreciated] The ReplFiles API. Part of the ReplAPI.it Project.","archived":true,"fork":false,"pushed_at":"2021-05-16T15:22:30.000Z","size":55,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-07-30T21:09:16.927Z","etag":null,"topics":["api","fetch","fetch-api","file-manipulation","files","json","repl","repl-it","replapi-it","replit","repltalk","zip","zipfile"],"latest_commit_sha":null,"homepage":"https://filesapi.replapiit.repl.co/","language":"JavaScript","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/ReplAPI-it.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}},"created_at":"2021-05-07T01:11:23.000Z","updated_at":"2023-01-28T08:52:30.000Z","dependencies_parsed_at":"2022-09-24T18:06:51.571Z","dependency_job_id":null,"html_url":"https://github.com/ReplAPI-it/ReplFiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReplAPI-it%2FReplFiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReplAPI-it%2FReplFiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReplAPI-it%2FReplFiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ReplAPI-it%2FReplFiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ReplAPI-it","download_url":"https://codeload.github.com/ReplAPI-it/ReplFiles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221279931,"owners_count":16790555,"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":["api","fetch","fetch-api","file-manipulation","files","json","repl","repl-it","replapi-it","replit","repltalk","zip","zipfile"],"created_at":"2024-07-29T19:32:28.314Z","updated_at":"2024-10-24T05:30:15.252Z","avatar_url":"https://github.com/ReplAPI-it.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e This API has been deprecated due to Replit changing its .zip path usage.\n\u003e Hopefully this will change in the future, but do not expect any updates.\n\u003e Thank you for taking your time to explore this project!\n\n\u003e Part of the [ReplAPI.it Project](https://replit.com/@ReplAPIit)\n\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n\n\n# ReplFiles\nThis is ReplFiles, an API that allows you to fetch the content of any file, on any public Repl! It functions by retrieving the zipfile of a Repl and then reads the content of a file inside zip.\n\n## Usage\nThe API can be found at:\n`https:/filesapi.replapiit.repl.co`\n\nAvailable Endpoints include:\n* `/file/{username}/{repl-slug}?filename={filename}`\n* `/files/{username}/{repl-slug}`\n\nThe output is a JSON object with the content of a file in JSON stringified format.\n*Note*: for the `/file/{username}/{repl-slug}?filename={filename}` endpoint you can add `\u0026raw=1` to output the raw file content.\n\n## Examples\nFetching: `https://filesapi.replapiit.repl.co/files/HelperFurret/Example-Project?filename=index.js`  \nReturns:\n```json\n[\n\t\"/*\\n  Hello there.\\n  The name's HelperFurret!\\n  \\n  I help RayhanADev out when\\n  he's developing things :D.\\n*/\"\n]\n```\n\nFetching: `https://filesapi.replapiit.repl.co/files/HelperFurret/Example-Project?filename=index.js\u0026raw=1`  \nReturns:\n```txt\n/*\n  Hello there.\n  The name's HelperFurret!\n  \n  I help RayhanADev out when\n  he's developing things :D.\n*/\n```\n\nFetching: `https://filesapi.replapiit.repl.co/files/HelperFurret/Example-Project`  \nReturns:\n```json\n[\n\t{\n\t\t\"fileName\": \"index.js\",\n\t\t\"fileContent\": \"/*\\n  Hello there.\\n  The name's HelperFurret!\\n  \\n  I help RayhanADev out when\\n  he's developing things :D.\\n*/\"\n\t}\n]\n```\n\n[contributors-shield]: https://img.shields.io/github/contributors/ReplAPI-it/ReplFiles.svg?style=for-the-badge\n[contributors-url]: https://github.com/ReplAPI-it/ReplFiles/graphs/contributors\n[forks-shield]: https://img.shields.io/github/forks/ReplAPI-it/ReplFiles.svg?style=for-the-badge\n[forks-url]: https://github.com/ReplAPI-it/ReplFiles/network/members\n[stars-shield]: https://img.shields.io/github/stars/ReplAPI-it/ReplFiles.svg?style=for-the-badge\n[stars-url]: https://github.com/ReplAPI-it/ReplFiles/stargazers\n[issues-shield]: https://img.shields.io/github/issues/ReplAPI-it/ReplFiles.svg?style=for-the-badge\n[issues-url]: https://github.com/ReplAPI-it/ReplFiles/issues\n[license-shield]: https://img.shields.io/github/license/ReplAPI-it/ReplFiles.svg?style=for-the-badge\n[license-url]: https://github.com/ReplAPI-it/ReplFiles/blob/master/LICENSE.txt\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FReplAPI-it%2FReplFiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FReplAPI-it%2FReplFiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FReplAPI-it%2FReplFiles/lists"}