> This page is for 平台, version 旧版.
> For other versions, use one of these documentation indexes:
> - V4 (default): https://next.developer.frame.io/platform/v4/llms.txt
> - V4 实验版: https://next.developer.frame.io/platform/v4-experimental/llms.txt
> - 旧版: https://next.developer.frame.io/platform/v2/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://next.developer.frame.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://next.developer.frame.io/_mcp/server.

# 使用 Glitch

Glitch 是一个工具，可助您快速轻松地创建 Web 应用程序。您可以使用 Glitch 运行并测试这些应用程序，而无需费心地搭建一个带有公共 Web 地址的自有服务器。





本指南提供了一些使用 Glitch 的基本提示和技巧。





## 如何注册 Glitch？

点击**登录**，然后选择所提供的其中一种方式。Glitch 支持 Facebook、GitHub、Google 和电子邮件登录。您可以从这里开始：[https://glitch.com](https://glitch.com)。

## 如何在 Glitch 上处理一个项目？




要在 Glitch 上处理一个项目，请执行以下操作：




1. 前往该项目的项目页面，其结构为 `https://glitch.com/~word-otherword`




2. 点击 **View Source**




3. 在屏幕右上方，点击 **Remix to Edit**。您将能够按照自己的意愿随意更改项目。

如果您想处理一个新项目，也可以先登录，然后点击右上角的 **New Project**。

## 如何在 Glitch 上查看日志或控制台？

您可以通过点击页面底部的**工具**，从终端查看您的项目。您将能够选择查看审核日志和完整页面控制台。

## 我可以使用哪些语言？




Glitch 官方只支持 JavaScript。但您也可以非官方地使用许多其他语言。Glitch 可以配置为使用以下语言：



* C/C++
* Haskell
* OCaml
* Perl
* Erlang
* Elixir
* Lua 5.2
* PHP
* Ruby
* Java
* Python
* Go
* Rust
* Racket




## Glitch 和 Python

在 Glitch 上，您可以通过添加一个包含所需导入模块的 **requirements.txt** 文件，来为 Python 项目添加依赖。有时，您想要导入的某个模块可能无法导入。您可以使用 Glitch 的控制台来添加它，但请确保使用 `--user` 标签将其安装到您的用户区域。`pip install --user module_name`