Skip to content
项目

关于

The official website for the Ubuntu operating system

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

ubuntu.com codebase

Code coverage Cypress checks

Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things. Ubuntu.com is the website that helps people learn about, download and get started with Ubuntu. This repo is the codebase and content for the ubuntu.com website.

The site is largely maintained by the Web and Design team at Canonical. It is a simple, database-less, informational website project based on Flask and hosted on a Charmed Kubernetes cluster.

You can read more about the application's architecture in ARCHITECTURE.md.

Bugs and issues

If you have found a bug on the site or have an idea for a new feature, feel free to create a new issue, or suggest a fix by creating a pull request. You can also find a link to create issues in the footer of every page of the site itself.

If you have found a bug in the Ubuntu OS itself, please file it here.

Local development

Recommended: use Taskfile

Install Taskfile by following the official installation docs: taskfile.dev/docs/installation.

Run the project with:

task
# or
# task start

[!WARNING] Deprecated: dotrun

The dotrun snap is no longer used in CI. Taskfile is the recommended way to run this project locally. If you still rely on dotrun, see the installation instructions in the dotrun README and run dotrun as before. On macOS, if dotrun errors due to Chromium, add the following to your local .env.local file:

PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true

Once the server has started, you can visit http://127.0.0.1:8001 in your browser.

For more information on how to work with ubuntu.com project please refer to HACKING.md.

Markdown response (?format=md)

Any HTML page on the site can be served as Markdown by appending the ?format=md query parameter. This is provided by the canonicalwebteam.markdown-response package for LLM and crawler optimisation.

  • https://ubuntu.com/desktop?format=md returns the page content as text/markdown
  • Only 200 OK HTML responses are converted; JSON endpoints, redirects, and error pages are unaffected

Deploy

You can find the deployment config in the deploy folder.

License

The content of this project is licensed under the Creative Commons Attribution-ShareAlike 4.0 International license, and the underlying code used to format and display that content is licensed under the LGPLv3 by Canonical Ltd.

With ♥ from Canonical

探索相关项目

加载中…