HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ampproject
amphtml
JavaScript2015–2023
ampproject / amphtml

amphtml

The AMP web component framework.

96Distinct people
146Mentions
0Explicit recommenders
14.9KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

The AMP web component framework.

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 7:56:55 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year146 dated mentions

Observed mentions: 2015-10-07 14:41:30 UTC to 2023-02-21 19:56:36 UTC.

01020302015-01-01 00:00:00 UTC to 2016-01-01 00:00:00 UTC (exclusive): 14 mentions; 4 submissions, 10 comments20152016-01-01 00:00:00 UTC to 2017-01-01 00:00:00 UTC (exclusive): 28 mentions; 2 submissions, 26 comments2017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 27 mentions; 1 submissions, 26 comments2018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 30 mentions; 5 submissions, 25 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 17 mentions; 0 submissions, 17 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 17 mentions; 0 submissions, 17 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 9 mentions; 0 submissions, 9 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20152015-01-01 00:00:00 UTC2016-01-01 00:00:00 UTC14410
20162016-01-01 00:00:00 UTC2017-01-01 00:00:00 UTC28226
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC27126
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC30525
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC17017
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC17017
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC909
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC312

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
AMP ⚡ ⚡⚡⚡ Tooling AMP is a web component framework for easily creating user-first websites, stories, ads, emails and more. AMP is an open source project, and we'd love your help making it better! Want to know more about AMP? amp.dev is the best place to learn more about AMP--and of course the site is made using AMP! For developers using AMP, amp.dev includes guides and tutorials examples reference docs example templates tools to make using AMP easier Having a problem using AMP? The amp.dev Support page has resources for getting help. Use Stack Overflow to ask questions about using AMP and find answers to questions others have asked. Let us know about bugs, and file feature requests to suggest improvements. AMP accepts responsible security disclosures through the Google Application Security program. Want to help make AMP better? docs/contributing.md has information on how you can help improve AMP, including ongoing participation through Slack, weekly design reviews, etc. We strongly encourage code contributions! We enthusiastically welcome new contributors to AMP even if you have no experience being part of an open source project. We've made it easy to get started contributing. Consider joining one of AMP's Working Groups, where most of the day-to-day work in AMP gets done. Other useful information AMP's release documentation provides details on how and when AMP releases new versions, including how to know when a change is live in a release. AMP's roadmap provides details on some of the significant projects we are working on. The AMP meta repository has information about the AMP open source project, including AMP's governance. AMP's code of conduct documents how all members, committers and volunteers in the community are required to act. AMP strives for a positive and growing project community that provides a safe environment for everyone.
Read the full README on GitHub

What Hacker News says

30 sources
> The most important feature of AMP is that it makes it impossible to add the kind of bloated crap that causes poor performance on something like a large media company website. When I load this AMP page [1] with an empty cache, Dev Tools show that 3.3 Mb of files are loaded [2]. Also, the page contains lots of errors [3]. This page contains ads, analytics and even a video that you have mentioned in your comment. After loading, every 10 seconds a HTTP2 request to cloudapi.imrworldwide.com is sent even if the page is in the background. AMP looks more like an internal Google standard for integrating websites into search results. The spec contains a lot of restrictions like these: you MUST include a 12 000-line JS script from Google ( https://cdn.ampproject.org/v0.js ) into every AMP page, you MAY use only components made by Google and even c
Read the rest
ustom JS template engine made by Google. If you are an ad network then you have to make negiotiations with Google, your competitor, to be included into the whitelist. There are lot of whitelists: list of sites that can provide fonts, list of sites that can add widgets to AMP pages. Here is one example of such conditions [4]: > In order to qualify for inclusion, an extended component that integrates a third-party service must generally meet the notability requirements of the English Wikipedia, and is in common use in Internet publishing. As a rough rule of thumb, it should be used or requested by 5% of the top 10,000 websites as noted on builtwith.com, or already integrated into oEmbed. If you are a small business, you are not welcome. [1] https://amp.theguardian.com/us-news/commentisfree/2016/feb/1... [2] https://imgur.com/RGYij9q [3] https://imgur.com/j1IYaMW [4] https://github.com/ampproject/amphtml/blob/master/3p/README....
In Neither PWA nor AMP are needed to make a website load fast
I tried to look at an example AMP page here [1]. When loading with an empty cache, it loads 5.5 Mb of files. I don't see where are the optimizations. It uses a custom font. Custom fonts are absolutely unnesessary for a news page; they only delay the moment when text becomes visible. Standard Windows fonts are of a good quality and don't need a replacement (which often renders very poorly on Windows XP). It uses a lot of scripts. Script block some browsers while parsing and executing. It has SVG images embedded into the page. If you want the page to load faster, you should move images into external files. AMP is directly linked to Google and cannot be used without it. Please look at the requirements for AMP HTML documents: [2] > AMP HTML documents MUST ... contain a <script async src="https://cdn.ampproject.org/v0.js"></script> tag inside
Read the rest
their head tag. So every AMP document MUST load a Google-controlled script. And by the way, it contains 12 000 lines when beautified. It contains different Google URLs like 'https://ampcid.google.com/v1/publisher:getClientId?key=' or 'https://ampcid.google.com/v1/cache:getClientId?key=AIzaSyDKt... , references to Doubleclick and AdSense (but not other ad networks). Does every site need it? It contains a lot of code not necessary for most websites. For example, a XHR interceptor for "some trusted AMP viewers" [3] is included into the script. Or a cryptographic library for calculating sha hashes [4]. You can use only JS components approved by Google; the spec says: > Extended components > The script URL must start with https://cdn.ampproject.org So for example, Google might make a custom component for Facebook but not for QQ or Mixi. Google defines what widget can appear on an AMP page. If you are an ad network, you have to make negotiations with Google to be added (you have to negotiate with your competitor). If US government imposes sanctions on some foreign site, Google will have to comply. It is clearly a technology made for integrating news articles into a Google page (and judging by limitations in the spec, Google might plan to make a non-vebview native renderer for AMP pages). Don't believe when they try to pretend that it can be used independently as a standard or made for accelerating the web. [1] https://amp.theguardian.com/us-news/commentisfree/2016/feb/1... [2] https://www.ampproject.org/docs/fundamentals/spec [3] https://github.com/ampproject/amphtml/issues/11294 [4] https://github.com/ampproject/amphtml/blob/master/src/servic...
In Neither PWA nor AMP are needed to make a website load fast
I don’t know, I’ve been very critical of AMP both in terms of transparency [1] and conflicts of interest [2]. I still find the whole project dispiriting for several reasons: 1. Forking HTML: They’re now forming a defacto standards body on top of the W3C and WHATWG. (HTML is now forked 3 ways, for those keeping score.) We now are supposed to implement either (a) HTML + AMP, or (b) AMP alone (which is what the project has advocated for). Either way, that sucks as a developer and for the web. AMP team talks about AMP both being the future for everything always, and a mere stop gap that will enable better, native web tech. Which is it? It’s a mess. 2. Engineering-is-always-the-answer ideology: Ideologically, I dislike the “What the web needs is more corporate-driven engineering”. The whole reason the project exists is to fend off Facebook and
Read the rest
native apps like Apple News. (It’d be better named FoF-HTML.) That’s the corporate side. And the way to do that was to massively overengineer solutions to problems that could have been addressed largely through SEO incentives (treat it as a spam problem) and left things like URLs (!) intact. Instead we’ll be left with years of AMP detritus that’s going to pollute the web for who knows how long. It’s all corporation-driven engineering and no spirit or science. No one is actually studying if these overengineered micro-solutions actually matter. All we need is more engineering! 3. Picking winners: Google used its own market dominance to bless AMP as the web framework of the future. It could have worked on common standards; it could have created other incentives, but it chose not too. Imagine if Microsoft actually succeeded in creating some kind of MS-HTML in the 90s or 00s. Thus there’s no market-driven competition for Google’s over-engineered solutions. 4. The cognitive dissonance inherent in the project: It’s an “open source” project that was born out of Google’s corporate interests. It has a public tech lead, but the actual Google exec above him responsible for the project doesn’t respond to anyone or answer anything. They cherry pick contributor stats to mislead the actual amount of Google-driven involvement. They desperately want it to be this thing of pure intentions for the benefit of the web and have us all singing kumbaya, but fundamentally it’s the product of a corporation acting in its short term competitive interests and using whatever engineering it has as its disposal to achieve those ends. 5. I still hate the UX. Reader mode support has improved but can be hit-or-miss, URLs are still broken and will be for years, and frankly I want to go to the actual web site and use Reader mode if necessary, rather than read the web through Google’s faux news reader. While developers have to maintain multiple versions of their code base (AMP & responsive HTML) things are going to break. And all this for what? Slightly faster page loading and Google Web Reader experience, so Google can stick it to Facebook somehow? Is there any data on people using the web more instead of apps en masse now AMP is a thing? What %? And does that make forking the web worth it? I guess we’ll never know. It’s such a shame. [1] https://github.com/ampproject/amphtml/issues/13597 [2] https://github.com/ampproject/amphtml/issues/13623
In An open governance model for the AMP Project
EasyList, which most adblockers rely on, was asked to, and removed amp-analytics.js from it: https://github.com/easylist/easylist/commit/17e0447fb7c6df37... https://stackoverflow.com/questions/42907284/ublock-blocking... While they claim that it is not tracking, I call bullshit: "..integrate your service into amp-analytics.. Consider if and how you will track users across first-party and third-party AMP contexts." https://github.com/ampproject/amphtml/blob/28582dfdfb6d09f19... And there still be HTTP Referrer in the request: https://blog.mozilla.org/security/2018/01/31/preventing-data...
In An open governance model for the AMP Project
You're right, it's not from amp.js, it's from https://github.com/ampproject/amphtml/blob/master/spec/amp-b... From that: AMP HTML documents must contain the following boilerplate in their head tag. > That's not how "AMP cache" hosting works. With prefetching my understanding (from what's been written publically) is that content will be allowed to be hosted on your own domain. Ie, your domain in the address bar. Are you saying otherwise? > There's nothing to indicate that Google do no internal tracking of their own. OK so you just disagree on where the burden of proof lies. > The intent of my comment was to point out that being aware of this issue involves a relatively low level of knowledge/investigation/interest. You think it causes an 8 second delay. It doesn't. The page loads unbrowsercached in less than a second. The low level of kno
Read the rest
wledge/investigation/interest still seems to be above your own.
In ‘You can't use Brotli for dynamic content’ and other misconceptions
I hear your argument, but my issue with it is that AMP is in fact open. They're accepting pull requests on Github[1] and other providers have already implemented AMP on their own, no Google involved[2]. HN is just bursting with NIH on this issue. I'm not seeing any substantive arguments, no alternatives offered, and no consideration for what users actually want. This article in particular seems to be droning on about "intentions", "messaging", and "long-term solutions". To all of HN: if you don't like AMP, shut up and code :) [1] https://github.com/ampproject/amphtml [2] https://blog.cloudflare.com/accelerated-mobile/
In AMPstinction
Google have monopoly on search (up to 90% in some markets). So anything they do with AMP is anti-competitive, for example. Google have monopoly on business email, close 85% if you trust reports from Datanyze [1]. And now they are pushing AMP for email with exactly 0 external input [2][3] [1] https://www.datanyze.com/market-share/email-hosting/gmail-fo... [2] https://github.com/ampproject/amphtml/issues/13597 [3] https://github.com/ampproject/amphtml/issues/13623
In Google embraces, extends, and extinguishes
With difficult discussions being locked and limited to collaborators. With the main answer to questions being, we can discuss this somewhere else, some-other (unknown) time in the future, usually in a more private setting. Unless pressed further. Case in point: https://github.com/ampproject/amphtml/issues/13457#issuecomm... Or as carmforce(Ubl) so nicely put it. "our project, our rules" but those rules keep changing, are not public and the raised issue about defining/clearing up those rules is obviously not a priority. https://github.com/ampproject/amphtml/issues/13597#issuecomm... https://github.com/ampproject/amphtml/issues/13603
In Standardizing lessons learned from AMP
> Accusing the AMP guys of ulterior motives is really wearing thin, AFAIK these guys love the web with a passion, they're trying to fend off an assault from native platforms. You are confusing individual people working on the project and the corporation that ultimately decides the entire direction of the project. You are also assuming that all people are inherently good and will immediately leave if something morally questionable is asked of them, and that people can even realise that something is morally questionable. In no particular order: - Google is a corporation which is driven by two metrics: advertisement revenue and Monthly Active Users. AMP is driven to improve and increase the two. - Every single discussion outside of implementation questions have been shut down by the AMP team. The latest round was about AMP4Email where the te
Read the rest
am has gone out of the way to derail, shut down and outright ignore any direct questions: https://github.com/ampproject/amphtml/issues/13597 - A regular AMP page rarely weighs less than 1 MB when reached from cold cache. The only reason they are fast is because: Google dominates search, and Google aggressively preloads AMP pages from its own huge geographically distributed CDN. So when you click on an AMP page it's instant only because it's already been preloaded. Meanwhile Google's own page speed tools say that AMP are not fast. And to add insult to injury, AMP is not even valid HTML5. https://ferdychristant.com/amp-the-missing-controversy-3b424... Of course independent superhackers can't do anything because they don't have Google-level infrastructure. Because Google makes AMP appear to be faster than even http://motherfuckingwebsite.com which is just text. Just a quote: "The performance benefit of prerendering is enormous, so enormous that prerendered pages can load hundreds of KB of JavaScript and still display “instantly” by the time the user taps on a link." https://redfin.engineering/how-to-fix-googles-amp-without-sl... - Taking the previous bullet point further: AMP is a hack that has nothing to do with actual website performance or "slimming down" of websites. The only reason AMP exists is because of Facebook Instant Articles. It's not because of walled gardens. It's not because of "open web". It's just the desire to not be outdone by competition and the strive for ad revenue and MAUs. It's a way to promote a few select websites and penalise every other website, even those who strictly adhere to Google's own performance guidelines: https://developers.google.com/speed/docs/insights/rules Any and all concerns about AMP where entirely dismissed by Google (and AMP team) until a significant portion of publishers have started voicing their concerns and some have even started pulling out of AMP. Why publishers you ask? AMP is primarily targeted at publishers and publishers are the only ones even allowed to somewhat participate in AMP. To quote "Standardizing lessons": "constant adjustment to publisher and user feedback." which is half truth at best. The only working group on AMP is amp-news-publishers (https://github.com/ampproject/amphtml/blob/master/contributi...), and any "user feedback" that is allowed is "intents to implement" and comments on how a feature is implemented. All other discussions are shut down. - The new standards proposed by Google only seek to cement the status quo. Web Packages is a way to store signed prerendered and preloaded pages on a CDN iframe promotion explicitly describes how and why AMP pages are "fast": they are preloaded in invisible iframes during search. The only goal of this proposal is to help google make those frames visible and switch the browser URL when the iframe is presented to the user. This does not actually solve any performance issues. You can still develop your 8 MB site. However, it will load instantly just because Google has preloaded it while you were searching. Do not be fooled by the use cases. The primary benefactor of aggressive preloading and caching is Google, who already has the entire infrastructure in place, and dominates search. No mater how much you try and adhere to all the performance guidelines, you will never beat a pre-rendered and preloaded page stored on Google's CDN. - And yes. Ultimately the AMP team in its entirety fails to accept or acknowledge any shortcoming of AMP. Even the "Standardizing lessons" spew the same easily falsifiable myths around AMP heavily sugar-coated in self-aggrandizement. On top of that, no matter how many times they say that the process is well-lit (they say it three times in the article), the process is entirely opaque, developed by Google, for Google, and in Google's products and then presented post-factum as a "standards proposal".
In Standardizing lessons learned from AMP

Showing the 15 most recent of 30 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.