{"id":18843627,"url":"https://github.com/adarshaacharya/codetreats","last_synced_at":"2025-10-24T02:31:33.781Z","repository":{"id":46819628,"uuid":"285280645","full_name":"adarshaacharya/CodeTreats","owner":"adarshaacharya","description":"In-browser IDE for running, collaborating, saving and sharing code snippets.","archived":false,"fork":false,"pushed_at":"2021-10-24T02:53:06.000Z","size":2525,"stargazers_count":30,"open_issues_count":2,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T07:56:37.747Z","etag":null,"topics":["codeeditor","codetreats","express","hacktoberfest","hacktoberfest-accepted","hacktoberfest2021","heroku","ide","monaco-editor","mongodb","nodejs","reactjs","snippets","socket-io","typescript"],"latest_commit_sha":null,"homepage":"https://codetreats.herokuapp.com/","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/adarshaacharya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-05T12:24:46.000Z","updated_at":"2024-05-15T20:19:22.000Z","dependencies_parsed_at":"2022-08-27T02:04:44.316Z","dependency_job_id":null,"html_url":"https://github.com/adarshaacharya/CodeTreats","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/adarshaacharya/CodeTreats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adarshaacharya%2FCodeTreats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adarshaacharya%2FCodeTreats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adarshaacharya%2FCodeTreats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adarshaacharya%2FCodeTreats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adarshaacharya","download_url":"https://codeload.github.com/adarshaacharya/CodeTreats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adarshaacharya%2FCodeTreats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272524599,"owners_count":24949631,"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","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["codeeditor","codetreats","express","hacktoberfest","hacktoberfest-accepted","hacktoberfest2021","heroku","ide","monaco-editor","mongodb","nodejs","reactjs","snippets","socket-io","typescript"],"created_at":"2024-11-08T02:58:25.567Z","updated_at":"2025-10-24T02:31:33.718Z","avatar_url":"https://github.com/adarshaacharya.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003ca href=\"https://codetreats.herokuapp.com/\"\u003e\n\u003cimg src=\"assets/logo1.svg\" alt=\"Logo\" height=\"100px\"/\u003e\n\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://app.codacy.com/manual/adarshaacharya/CodeTreats?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=adarshaacharya/CodeTreats\u0026utm_campaign=Badge_Grade_Dashboard\"\u003e\u003cimg src=\"https://api.codacy.com/project/badge/Grade/62f781ddecba4ec3b4f79d53f380a7a1\"/\u003e\u003c/a\u003e\n \u003ca href=\"https://github.com/adarshaacharya/CodeTreats/blob/master/LICENSE\" target=\"_blank\"\u003e\n\u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/github/license/adarshaacharya/CodeTreats\" /\u003e\n\u003c/a\u003e\n\u003cimg alt=\"Travis (.com)\" src=\"https://img.shields.io/travis/com/adarshaacharya/CodeTreats\" /\u003e\n\u003cimg src=\"https://pyheroku-badge.herokuapp.com/?app=codetreats\" alt=\"Heroku\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nIn-browser IDE for running, collaborating, saving and sharing code snippets. \n\u003c/p\u003e\n\n## ⭐ Features\n\n-   In-browser IDE with VS Code like text editor having features like auto-completion, code-formatting\n-   8+ Programming Languages support\n-   15+ Themes Support 🤯\n-   Save snippets publicly with shareable link\n-   Search snippets with title\n-   Realtime Collaboration _(unlimited users)_ 🔥\n-   Realtime Chat 💥\n\n\u003e ⚠️ *Website isn't mobile friendly and for best experience use Google Chrome.*\n\n## 📺 Prerequisites\n\nBefore running app locally make sure that you install following things:\n\n-   Nodejs with npm or yarn installed\n-   [Mongodb](https://www.mongodb.com/) as database.\n-   Strongly recommended to use [Robot 3T](https://robomongo.org/) as MongoDB GUI for local database setup or simply use [MongoDB Atlas](https://docs.atlas.mongodb.com/getting-started/) and paste token in `DATABASE_URI`\n\n## 🚀 Local Development\n\n### Step 1: Clone the repo\n\n```bash\nhttps://github.com/adarshaacharya/CodeTreats.git\n```\n\n## Step 2: Install dependencies\n\nInstall both client and server dependencies\n\n```bash\n\n# Install dependencies for server\n$ npm install\n\n# Install dependencies for client\n$ npm run client:install\n\n```\n\n### Step 3: Configuration\n\n1. Create `.env` file in project root dir\n\n    ```bash\n    $ touch .env\n    ```\n\n2. Copy everything from `.env.example` as paste it in `.env`\n\n3. Go to [Glot signup page](https://glot.io/auth/page/simple/register) and create new account.\n\n4. Then [go to this page](https://glot.io/account/token) and copy \u0026 paste token in `GLOT_TOKEN = \u003cYOUR_TOKEN_HERE\u003e` in `.env` file.\n\n### Step 4: Usage\n\nNow you can run the application by :\n\n```bash\n\n# Run the client \u0026 server with concurrently (for running full application)\n$ npm run dev\n\n# Run the Express server only\n$ npm run server\n\n# Run the React client only\n$ npm run client\n\n# Server runs on http://localhost:5000 and client on http://localhost:3000\n\n```\n\n## ⛵ Production Deployment\n\nThere is a Heroku post build script so that you do not have to compile your React frontend manually, it is done on the server. Simply push to Heroku and it will build and load the client index.html page\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome. After cloning \u0026 setting up project locally, you can just submit a PR to this repo and it will be deployed once it's accepted.\n\n**⚠️ Note - Commit \u0026 PR Title :**\n\nIt’s good to have descriptive commit messages so that other folks can make sense of what your commit is doing.\nThis project uses [Husky](https://github.com/typicode/husky/blob/master/README.md) prevent bad `git commit`, `git push` and more 🐶 \\_woof!\n\nRead [conventional commits](https://www.conventionalcommits.org/en/v1.0.0-beta.3/) before making the commit message.\n\n## 👏🏻 Show your support\n\nGive a ⭐️ if you like the project!\n\n## 👤 Author\n\n-   Website: \u003chttps://adarshaacharya.com.np/\u003e\n-   Twitter: [@adarshatweets](https://twitter.com/adarshatweets)\n-   Github: [@adarshaacharya](https://github.com/adarshaacharya)\n-   LinkedIn: [@adarshaacharya](https://linkedin.com/in/adarshaacharya)\n\n## 📝 License\n\nCopyright © 2020 [Aadarsha Acharya](https://github.com/adarshaacharya).\u003cbr /\u003e\nThis project is [MIT](https://github.com/adarshaacharya/CodeTreats/blob/master/LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadarshaacharya%2Fcodetreats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadarshaacharya%2Fcodetreats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadarshaacharya%2Fcodetreats/lists"}