All guides

Free website and Flask hosting for students

Free web hosting for students. Run a Flask app online, or publish an HTML, PHP or Node site at a public HTTPS address.

Published by Birdflop, a 501(c)(3) nonprofit · Last updated

CS Room gives students in a teacher's class free website hosting. A student builds a site or a Flask app in their workspace, starts it, and within a second it has a public HTTPS address anyone can open. The site runs where the student wrote it, so there's no deploy step and no separate hosting account.

How it compares with other free hosting

GitHub PagesPythonAnywhere, free accountCS Room
Server codeNone, static files onlyPython web apps such as FlaskFlask, Node, PHP or any other server
SitesOne site per repositoryOne web appUp to 20 per student
Address<user>.github.io<user>.pythonanywhere.comA name such as quiet-sunny-harbor.csroom.app, renameable
AccountsEach student, age 13 or olderEach studentEach student signs in with Google or email. Under 13 (16 in much of the EU) with a parent's or teacher's consent (Terms)

What students get

  • A server started the way their tutorial says, on localhost or any port. Links it prints in the terminal open its public address.
  • A Preview tab for HTML, CSS, JavaScript and PHP pages that reloads as they type. Only the student sees it, so to share a plain HTML site they run python -m http.server 8000.
  • A Ports panel listing their servers, where they rename an address or remove it.
  • SQLite for sites that store data, from Python or from PHP through PDO.

Students can't use their own domain. Search engines find a site once something links to it, and a <meta name="robots" content="noindex"> tag keeps it out.

While grading, you see the address of a site the student started from the assignment's folder.

Does a site stay up after class?

Yes, while its server is running, even after the student closes the tab. If the workspace restarts, for example when a student joins another class, the student has to start the server again. CS Room is free and makes no uptime guarantee (Terms).

Files stay over the summer. CS Room doesn't delete inactive accounts, so a student can start the server again in the fall and the site comes back at the same address.

Publish your class's websites

  1. Sign up as a teacher and start building right away. Students can join once we review your account, usually within 1–2 days.
  2. Create a class, then turn on the class link and share it. Students sign in with Google or email. They can't sign up without your class link or an email invite.
  3. Publish a project, or add the Welcome to CS Room lesson to the class, which ends with every student publishing a page.
  4. Students start their server and copy the address from the notice or the Ports panel.

Ports, names and troubleshooting are in Running a web app.