{
    "componentChunkName": "component---src-templates-spotlight-tsx",
    "path": "/spotlights/what-is-replit.md",
    "result": {"data":{"file":{"relativePath":"what-is-replit.md","post":{"body":"var _excluded = [\"components\"];\nfunction _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }\n/* @jsxRuntime classic */\n/* @jsx mdx */\n\nvar _frontmatter = {\n  \"authors\": [\"Zwack010#0001\"],\n  \"created_at\": \"2022/05/07\",\n  \"title\": \"What is Replit?\"\n};\nvar layoutProps = {\n  _frontmatter: _frontmatter\n};\nvar MDXLayout = \"wrapper\";\nreturn function MDXContent(_ref) {\n  var components = _ref.components,\n    props = _objectWithoutProperties(_ref, _excluded);\n  return mdx(MDXLayout, _extends({}, layoutProps, props, {\n    components: components,\n    mdxType: \"MDXLayout\"\n  }), mdx(\"h2\", {\n    \"id\": \"what-is-replit\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#what-is-replit\",\n    \"aria-hidden\": true,\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"What is Replit?\"), mdx(\"p\", null, \"Replit is an online IDE which provides a platform for people to write, run, and share code all within their browser. Replit can run over 80 programming languages, and the option for users to add more languages thanks to the Nix package manager.\"), mdx(\"h2\", {\n    \"id\": \"why-has-replit-been-created\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#why-has-replit-been-created\",\n    \"aria-hidden\": true,\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Why has Replit been created?\"), mdx(\"p\", null, \"Replit was created to solve an important problem when it comes to programming: accessibility. Currently, programming is more or less restricted to people with access to laptops and PCs. Replit\\u2019s goal is to lower that barrier for entry, while also creating convenient and efficient tools for developers that already have access to powerful resources.\"), mdx(\"h2\", {\n    \"id\": \"how-does-replit-work\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#how-does-replit-work\",\n    \"aria-hidden\": true,\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"How does Replit work?\"), mdx(\"p\", null, \"Replit operates very similarly to cloud tools such as Google Docs, except instead of creating documents it creates a development environment. Environments on Replit are called a \\u201CRepl\\u201D, which stands for \\u201Cread-eval-print-loop\\u201D. The environments are Ubuntu 18, and support all Nix packages. Along with an environment, a Repl comes with an editor and LSP. The editor will change if the environment starts running a web server or GUI application, and a window will open to display the respective apps. \"), mdx(\"h2\", {\n    \"id\": \"how-much-does-replit-cost\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#how-much-does-replit-cost\",\n    \"aria-hidden\": true,\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"How much does Replit cost?\"), mdx(\"p\", null, \"Even though Replit is a for-profit company, it's still free. Anyone can create an account, with no ads, and Replit does not sell your data. Replit currently makes money through its hacker plan subscription, and educational / business licenses. Hacker accounts and accounts under educational or business licenses run on more powerful machines.\"), mdx(\"h2\", {\n    \"id\": \"can-you-give-me-an-example\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#can-you-give-me-an-example\",\n    \"aria-hidden\": true,\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Can you give me an example?\"), mdx(\"p\", null, \"Sure! Let's take \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://github.com/the-programmers-hangout/website\"\n  }, \"\\u201CThe Programmer's Hangout\\u201D\"), \" website and turn it into a Repl!. When creating a Repl, select \\u201CImport from Github\\u201D, and paste the Github link. Replit will set up a new environment with the Github code in it. \"), mdx(\"p\", null, \"Then select the language the repo uses the most, which Replit will try to guess automatically. Then for this repo, we want it to run the command yarn run develop \\u2013host 0.0.0.0 when the green \\u201CRun\\u201D button is clicked. The reason for this is because the TPH website uses yarn to run the web server. So after we put that command in and click done, you can click \\u201Crun\\u201D and the website will start getting set up!\\u201D Here's a fork of the website put together by Zwack: \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://tph-website.21natzil.repl.co/\"\n  }, \"https://tph-website.21natzil.repl.co/\"), \"\\n\", mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"https://i.imgur.com/8hMtCSn.png\",\n    \"alt\": \"Image\"\n  })), mdx(\"h2\", {\n    \"id\": \"can-i-use-replit-as-a-server\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#can-i-use-replit-as-a-server\",\n    \"aria-hidden\": true,\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Can I use Replit as a server?\"), mdx(\"p\", null, \"Yes, and no. You can run code, and it will continue to run even when you\\u2019re not visiting the Repl in your browser. However, if your code is not \\u201Cpinged\\u201D within 5-10 minutes, it will close. Pinging is done by setting up a webserver on a Repl, and sending HTTP requests to it every few minutes. This keeps your Repl running, absolutely free. Users with the hacker plan can enable \\u201CAlways On\\u201D, which as you might expect keeps the Repl online without the need for pings. With that said, Repls will reset every 48 hours or so, even when pinging or if \\u201CAlways On\\u201D is active. In addition, data like logs will not be saved for non-hackers, as when the machine is reset only code written by the user will remain the same.\"), mdx(\"h2\", {\n    \"id\": \"so-can-i-run-my-minecraft-server-on-replit\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#so-can-i-run-my-minecraft-server-on-replit\",\n    \"aria-hidden\": true,\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"So can I run my Minecraft server on Replit?\"), mdx(\"p\", null, \"You actually can, but it\\u2019s not recommended. \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://replit.com/@21natzil/Paper\"\n  }, \"https://replit.com/@21natzil/Paper\"), \"\\nUsing paper and ngrok it's possible, but Replit does not yet have the option to add enough resources to provide a good user experience to people playing on the server.\"), mdx(\"h2\", {\n    \"id\": \"can-i-run-my-personal-website-on-replit\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#can-i-run-my-personal-website-on-replit\",\n    \"aria-hidden\": true,\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Can I run my personal website on Replit?\"), mdx(\"p\", null, \"Absolutely! In fact, you can link domains you own to your Repl, either by adding CNAME records or a Cloudflare proxy. If you\\u2019re ok with your service briefly resetting every once in a while, like for blogs, applications, even small discord bots, then hosting on Replit is a free option.\\n\", mdx(\"img\", {\n    parentName: \"p\",\n    \"src\": \"https://i.imgur.com/bqoinld.png\",\n    \"alt\": \"Image\"\n  })), mdx(\"h2\", {\n    \"id\": \"replit-is-used-in-schools-too\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#replit-is-used-in-schools-too\",\n    \"aria-hidden\": true,\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Replit is used in schools too!\"), mdx(\"p\", null, \"Outside of being used by your everyday developer, Replit is also largely used by schools across the world. Teachers can create free COPPA and FERPA compliant classrooms on Replit, which help bring students into the real world of development. Teachers can provide Repl templates and set up automatic tests to simplify grading. So instead of being restricted to block programming or javascript without most features, teachers can teach whatever language or tools they want. Even if teachers don\\u2019t have time to create their own curriculum, Replit has a bunch of resources already written! \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://docs.replit.com/teaching-curriculum/intro-teaching-curriculum\"\n  }, \"https://docs.replit.com/teaching-curriculum/intro-teaching-curriculum\")), mdx(\"h2\", {\n    \"id\": \"can-i-use-replit-with-other-people\"\n  }, mdx(\"a\", {\n    parentName: \"h2\",\n    \"href\": \"#can-i-use-replit-with-other-people\",\n    \"aria-hidden\": true,\n    \"className\": \"anchor\"\n  }, mdx(\"svg\", {\n    parentName: \"a\",\n    \"aria-hidden\": \"true\",\n    \"height\": \"16\",\n    \"version\": \"1.1\",\n    \"viewBox\": \"0 0 16 16\",\n    \"width\": \"16\"\n  }, mdx(\"path\", {\n    parentName: \"svg\",\n    \"fillRule\": \"evenodd\",\n    \"d\": \"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"\n  }))), \"Can I use Replit with other people?\"), mdx(\"p\", null, \"Yes! Replit has a robust code collaboration tool called Multiplayer. Multiplayer allows programmers to invite other people (either directly through Replit or via a link) to share a Repl. Each person can edit and view other people\\u2019s changes as they happen, and communicate either via the chat, or on threads attached to segments of code. One programmer could create a thread and explain a bug on a highlighted line of code. Then a separate person either synchronous or asynchronous can fix the bug, and resolve the thread. To try it out, @Zwack would like to challenge TPH to build anything in this Node.js multiplayer Repl they have made: \", mdx(\"a\", {\n    parentName: \"p\",\n    \"href\": \"https://replit.com/join/mnbzeddjnm-21natzil\"\n  }, \"https://replit.com/join/mnbzeddjnm-21natzil\")));\n}\n;\nMDXContent.isMDXComponent = true;","excerpt":"What is Replit? Replit is an online IDE which provides a platform for people to write, run, and share code all within their browser. Replit…","fields":{"authors":[{"name":"Zwack010","hash":"0001","avatar":"https://cdn.discordapp.com/embed/avatars/1.png"}]},"frontmatter":{"created_at":"2022/05/07"},"timeToRead":3}}},"pageContext":{"file":"what-is-replit.md","layout":"spotlights"}},
    "staticQueryHashes": ["1967409267","3753197437","63159454"]}