{"id":19449106,"url":"https://github.com/lafkpages/crosis","last_synced_at":"2025-07-27T18:03:17.047Z","repository":{"id":183184487,"uuid":"664364239","full_name":"lafkpages/crosis","owner":"lafkpages","description":"🗿Crosis done just right","archived":false,"fork":false,"pushed_at":"2024-06-18T11:27:36.000Z","size":303,"stargazers_count":6,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T21:05:00.094Z","etag":null,"topics":["client","crosis","goval","lib","node","replit","typescript"],"latest_commit_sha":null,"homepage":"https://lafkpages.github.io/crosis/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lafkpages.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}},"created_at":"2023-07-09T18:46:55.000Z","updated_at":"2024-04-01T15:01:24.000Z","dependencies_parsed_at":"2024-10-23T02:50:04.232Z","dependency_job_id":"a3b4c510-2265-4b1f-b4b7-59c4ce302536","html_url":"https://github.com/lafkpages/crosis","commit_stats":{"total_commits":254,"total_committers":3,"mean_commits":84.66666666666667,"dds":"0.20472440944881887","last_synced_commit":"d143109a1f5c809dc538f14ed122d41d2e6ac326"},"previous_names":["lafkpages/crosis"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lafkpages%2Fcrosis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lafkpages%2Fcrosis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lafkpages%2Fcrosis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lafkpages%2Fcrosis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lafkpages","download_url":"https://codeload.github.com/lafkpages/crosis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223979238,"owners_count":17235346,"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":["client","crosis","goval","lib","node","replit","typescript"],"created_at":"2024-11-10T16:30:02.418Z","updated_at":"2024-11-10T16:30:03.251Z","avatar_url":"https://github.com/lafkpages.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![crosis banner](https://raw.githubusercontent.com/lafkpages/crosis/main/readme/readme_crosis_banner.png)\n\n![npm](https://img.shields.io/npm/dt/crosis)\n![npm](https://img.shields.io/npm/v/crosis)\n\n**crosis** is a NPM package that allows you to programmatically interact with your Replit Repl.\nOur goal is to make this process as easy and simple as possible.\n\n# 🔥Features\n\n- 📄 File manipulation\n- 📁 Folder manipulation\n- 📠 Command execution\n- 📲 Easy log in process\n- 🚀 Performance\n\n# Installation \u0026 Usage\n\nInstall the package by running `npm install crosis`.\nYou can use the package in both CommonJS and ESM.\n\n# Example\n\n```js\n// Import the crosis package\n\n// CommonJS\nconst { Crosis } = require(\"crosis\");\n\n// OR\n\n// ESM\nimport { Crosis } from \"crosis\";\n\n// Create a Crosis object\n\n// You can connect to a Replit repl using the adapterReplit() function\nconst crosis = new Crosis({\n  adapter: adapterReplit({\n    replId: YOUR_REPL_ID,\n    sid: YOUR_REPLIT_SID,\n  }),\n});\n\n// You can also specify a goval url\nconst crosis = new Crosis({\n  url: \"your goval url\",\n});\n\n// Connect crosis\ncrosis.connect().then(async () =\u003e {\n  console.log(\"Crosis connected\");\n\n  // Read files of repl\n  const files = await crosis.readDir(\".\");\n\n  // List files\n  files.forEach((file) =\u003e {\n    console.log(file);\n  });\n\n  // Disconnect crosis at the end of the script\n  // Terminating or ending the script will also disconnect crosis\n  await crosis.disconnect();\n});\n```\n\n# Contributing\n\nContributions are always welcome! If you want to contribute, feel free to open a pull request.\n\n# License\n\nThe crosis package is licensed under the AGPL-3.0 License. See LICENSE for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flafkpages%2Fcrosis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flafkpages%2Fcrosis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flafkpages%2Fcrosis/lists"}