AMP HTML source code, samples, and documentation. See below for more info.
JavaScript HTML CSS Python Java Yacc Other
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github 📖 Make emoji suggestions a list (#13570) Feb 20, 2018
3p Pass along sharedData from consent response to 3p ad iframes (#14997) May 2, 2018
ads 🐛 amp-ad: kuadio - Remove trailing comma(#14956) May 3, 2018
build-system Fail tests that call `console error` when they are run during loca… May 3, 2018
builtins 🚮 Remove unused vsync imports from viewport (#14739) Apr 20, 2018
contributing Clarify css namespace in amp-components (#15022) May 3, 2018
css 🚮 Remove experimental video docking (#14614) Apr 14, 2018
examples Subscriptions: UI Decoration delegation (#14939) May 3, 2018
extensions consent policy timeout doc change (#15048) May 3, 2018
screenshots/test/manual Updated screenshots Jan 27, 2016
spec 📖 Add common documentation for video interface and point to it (#14967) May 2, 2018
src XHR fetch when view first becomes visible (#14837) May 3, 2018
test Fail tests that call `console error` when they are run during loca… May 3, 2018
testing 🐛 Lint the testing/ directory and fix lots of bugs (#14977) Apr 30, 2018
third_party SWG Release 0.1.22.10 (#14979) Apr 30, 2018
tools Remove legacy code before ampcontext. (#14787) Apr 27, 2018
validator Validator rollup (#14973) Apr 30, 2018
viewer-api swipe api (#8357) Mar 24, 2017
.babelrc Add missing quotes for key sourceType in .babelrc (#12504) Dec 19, 2017
.eslintrc 🐛 Fix self-closing tags (#14851) Apr 26, 2018
.gitignore ♻️ Move sauce connect scripts to a subdirectory (#14332) Apr 3, 2018
.lgtm.yml 🏗️ Add a config file for LGTM static analysis (#13460) Feb 13, 2018
.travis.yml 🏗 Set minimum `yarn` version to 1.3.2 (#15032) May 3, 2018
CODE_OF_CONDUCT.md Establish a code of conduct for the AMP open source project. Oct 15, 2015
CONTRIBUTING.md add more information about the Slack channels (#14208) Mar 22, 2018
GOVERNANCE.md s/camelburrito/aghassemi (#14274) Apr 10, 2018
LICENSE fix(license): fix incorrect search and replace done on LICENSE file Sep 10, 2015
OWNERS.yaml add CODEOWNERS (#10342) Aug 17, 2017
Procfile Allow binding to specific hostname or IP, default to localhost (#4422) Aug 9, 2016
README.md Add some clarity on ways to get help. (#14211) Mar 23, 2018
SUPPORT.md Added info & link to status page (#12448) Dec 14, 2017
caches.json Add cloudflare to caches.json (#13247) Feb 7, 2018
gulpfile.js 🐛🏗 Fix error reporting from `browserify` (#15026) May 2, 2018
package.json Update gulp-git to the latest version 🚀 (#15039) May 3, 2018
system.properties add custom closure compiler pass (#2593) Apr 22, 2016
yarn.lock Update gulp-git to the latest version 🚀 (#15039) May 3, 2018

README.md

AMP HTML ⚡

Greenkeeper badge

AMP HTML is a way to build web pages that render with reliable and fast performance. It is our attempt at fixing what many perceive as painfully slow page load times – especially when reading content on the mobile web. AMP HTML is built on existing web technologies; an AMP page will load (quickly) in any modern browser.

You can learn more at ampproject.org including what AMP is, how it works and the importance of validation in AMP. You can also walk through creating an AMP page and read through the reference docs.

We'd love your help making AMP better!

There are a lot of ways you can contribute to making AMP better! You can report bugs and feature requests or ideally become an ongoing participant in the AMP Project community and contribute code to the open source project.

We enthusiastically welcome new contributors to the AMP Project even if you have no experience being part of an open source project. We've got some tips for new contributors and guides to getting started (both a detailed version and a TL;DR).

If you're new to contributing to the AMP open source project, sign up for our Slack and say "Hi!" in the appropriately named #welcome-contributors channel ❤️️.

Using AMP on your site

If you are using AMP on your site, check out the docs on ampproject.org, samples on ampbyexample.com and templates on ampstart.com.

The best place to get help with questions about using AMP on your site is Stack Overflow. You'll find answers to many common questions there. In the event your question hasn't already been answered you can post a new one, and one of the many people who are knowledgeable about AMP and who monitor Stack Overflow will likely answer it before too long.

Further reading

Who makes AMP HTML?

AMP HTML is made by the AMP Project. If you're a contributor to the open source community this includes you!

Security disclosures

The AMP Project accepts responsible security disclosures through the Google Application Security program.

Code of conduct

The AMP Project strives for a positive and growing project community that provides a safe environment for everyone. All members, committers and volunteers in the community are required to act according to the code of conduct.

License

AMP HTML is licensed under the Apache License, Version 2.0.