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:02:50 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

27 sources
So… In terms of the AMP open source project governance rules I am THE tech lead. https://github.com/ampproject/amphtml/blob/master/GOVERNANCE... I also manage a team at Google that works full time on the AMP open source projects and act as an overarching tech lead, but there are several sub teams that have specialized tech leads (e.g. for UI, ads, analytics, caching, etc.). Is that what you wanted to know? :)
In iOS 11 Safari will automatically strip AMP links from shared URLs
Breaking down a few of the concerns in this article: > With AMP [chat applications] cannot be used True currently. There are no chat application amp extensions, yet. This could change in the future. Vendors interested in implementing one for AMP should get involved at http://github.com/ampproject/amphtml > AMP does not have any markup specific to checkouts Most web pages move from shopping cart to payment by changing URLs. This would work just fine with an AMP page. There is in fact at least one vendor who has integrated payments with AMP already: https://www.ampproject.org/docs/reference/components/amp-acc... Also take a look at https://ampbyexample.com/advanced/payments_in_amp/ > AMP does not allow for use of forms See https://www.ampproject.org/docs/reference/components/amp-for... > They really do not support a logged in state, or use
Read the rest
r preferences. Things like recommended products, or recently viewed products will not work with an AMP page. None of the personalization aspects like “Hi, Lesley” are done with AMP. See the (perhaps poorly named) https://www.ampproject.org/docs/reference/components/amp-lis... This supports loading content specific to the user, even on a cached amp document. > if search and filtering are a large part of your site’s mobile navigation, AMP will be useless. This is exactly what amp-bind was built for: https://ampbyexample.com/components/amp-bind/ > Google Analytics is not supported on AMP Google Analytics is fully supported in AMP. Here's the Google Analytics support page: https://developers.google.com/analytics/devguides/collection... > If you use a different suite of tracking such as Piwik or kissmetrics, they will not work with AMP. There is a large list of analytics vendors that have direct support here: https://www.ampproject.org/docs/guides/analytics/analytics-v... Other vendors can be added with a small amount of configuration. Here's a guide for Piwik, for example: https://www.elftronix.com/guide-to-using-piwik-analytics-wit... Alternatively, vendors can submit a configuration to the AMP project which is just a few lines of JSON, then the vendor will be supported more directly. > Ad Revenue is Decreased The link is to a single article from a year ago. There are many studies pointing to the opposite effect as well. > A/B testing is not supported See https://www.ampproject.org/docs/reference/components/amp-exp... > Performance I'm not sure what URLs the author used, but I tried to find a similar overstock recliner page that might be the right one. I found: https://www.overstock.com/Home-Garden/Recliners/Leather,/mat... The author tries to use a google.com/amp URL, but these redirect when not coming from a search click. Much easier is to take the CDN amp URL, which is served the same way: https://cdn.ampproject.org/c/s/www.overstock.com/Home-Garden... I loaded both of these in Chrome, simulated a mobile device, network tab, and throttling with Fast 3G. Here were my results: * non-AMP: 42 requests, 1.1 MB transferred, Finish: 10.3s, DomContentLoad: 3.38s, Load: 9.52s * AMP: 35 requests, 408 KB transferred, Finish 5.87s, DomContentLoaded 1.28s, Load: 5.88s The AMP page is 60% smaller and hits the load event in 40% less time. However "loaded" is a funny term in the world of javascript driven websites and needs to be looked at more carefully. I suspect that the author's referenced tool is reporting "fully loaded time" as the time that the last network event ended. AMP pages intentionally delay loading images below the fold to prioritize visible content. This results in some images loading later without impacting the user experience. For example, as I scrolled in the AMP page, the "Finish" time would move ahead to a new time as new images were loaded. With events like analytics triggers, looking at the time the last network event finished is typically a misleading metric and won't work correctly with most amp documents. If you load filmstrips in Chrome's Performance Tab, you can see this more clearly. Filmstrips display what the page looked like at snapshots in time after loading starts. For my quick test with network throttling, the non-AMP page takes a little over 6s to finish reaching it's final state and the AMP page takes about 2.2s. So AMP here is nearly 3x faster as the user would perceive it on similar connection speed.
In Google AMP is bad for e-commerce
> It “traps” users on Google. If user were to click “x” in the screenshot above, they will be taken back to Google search results. A normal redirect would have landed users on actual BBC site, maximizing their chances of staying on that site. Instead, AMP makes it easier for users to return to Google. As a user, this is what I want. I don't care about the BBC's site, I care about what I searched for. If I want to see their front page, I'll go to bbc.com. I think this article (and most AMP-bashing articles) are mostly fluff about how Google is "taking over" and "forcing" people down a certain path. When in reality everybody knows this is helping users. As I've said many times: propose a better solution for users to be able to load article content very quickly. The real, valid issues I'm seeing mentioned in this article are: * Links are to
Read the rest
google.com, which really screws up sharing. * Apparently images and scrolling can be wonky, though I have never noticed this myself (and sounds like it could be easily solved[0] if it's true). So again, if you can solve this problem for users in a free, publisher-opt-in, global way without the links pointing to a third party, please share your solution. By the way, if you use CloudFlare, you can enable AMP without breaking normal links[1]. It is only the Google search engine that breaks links for AMP, not AMP itself. I do hope that Google adds an option in your account settings to opt-out of AMP results. That way the detractors can turn it off, and everyone else can be happy that pages load in < 1 second instead of 4-5 seconds. [0] https://github.com/ampproject/amphtml [1] https://blog.cloudflare.com/accelerated-mobile/
In I decided to disable AMP on my site
But how? Where is the opt-in? Is including the javascript from ampproject.org considered an opt-in to give gogole a license to republish your copyrighted content? There is no notice or terms and conditions/license or any kind of other legal agreement that I found on the amp website. [EDIT: actually the code on github is licensed as Apache 2: https://github.com/ampproject/amphtml] So I don't understand how this works legally. You surely don't automatically sign over your copyright to somebody else by including their javascript library in your page?
In Please Make Google AMP Optional
[I work for Google, opinions my own] If you have specific issues you can spell out, consider filing a bug on it[0]? The AMP team is tracking most of their work via Github as far as I'm aware. As an iOS user, one bug that bothered me for a long time with AMP was scroll inertia, which seems to be an issue with Webkit rather than AMP[1]. If you poke around the tracker, you can see the team does what it can to fix issues across all platforms/browsers. [0] https://github.com/ampproject/amphtml/issues [1] https://github.com/ampproject/amphtml/issues/5125
In Please Make Google AMP Optional
> how exactly are AMP pages monetized? AMP has an ad component.[1] It seems to have gotten a lot of ad network participation now, but it was pretty limited (i.e. effectively no money via AMP views) last year when I was working for a major content publisher. It's undoubtable that the company lost a lot of ad revenue in exchange for protecting its position in Google search results. [1]: https://github.com/ampproject/amphtml/blob/master/extensions...
In Kill Google AMP before it kills the web

Showing the 15 most recent of 27 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.