TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Lack of cdnjs activity

236 pointsby spirit23over 5 years ago

17 comments

thomasfromcdnjsover 5 years ago
Hey everyone,<p>My name is Thomas, one of the original founders of cdnjs along with Ryan (linked below by another commenter).<p>We originally posted cdnjs on Hacker News in 2011 -&gt; <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2828516" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2828516</a><p>The project was originally created on AWS Cloudfront, Ryan and I thought we could handle the bills. In retrospect that was incredibly naive so we were fortunate to partner with Cloudflare.<p>At the time, cdnjs was a baby, Cloudflare had just started entering the market.<p>In short, Cloudflare always owned the domain, cdnjs.cloudflare.com, meaning, we were constrained to work under the DNS level.<p>We have both put considerable amounts of work into the project, but nothing compared to the community and the &quot;core&quot; contributors. I put &quot;core&quot; into quotes because for the last 5 years, cdnjs has largely been run by a highly dedicated man named Peter.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;PeterDaveHello" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;PeterDaveHello</a><p>Peter built enormous amounts of infrastructure to support cdnjs. He is extremely diligent, intelligent and determined.<p>The project was Ryan&#x27;s and I &quot;baby&quot; but we were happy to relinquish control, sorry for all the &quot;buts&quot;, but we were not in a position to control due to the technical and commercial reasons.<p>Ryan and I have never personally profited off the project, we&#x27;ve only paid bills and late night ssh sessions.<p>Conversations are underway to move forward, it is likely that the project will move to an unpkg setup (assets are just mirrored to npm).<p>A lot to say, but I&#x27;m at a lack of words.<p>Happy to answer any and all questions.
评论 #21417835 未加载
评论 #21417898 未加载
评论 #21422354 未加载
评论 #21420347 未加载
评论 #21417159 未加载
petecooperover 5 years ago
I am a former maintainer &#x2F; librarian on cdnJS. I helped out some years ago when I wanted to learn how version control and git worked. This was in the pre-automation era (2013 to 2014 in my case), and I went through the existing libraries to find outdated instances, located new versions of the same, raised the PR to update it. All good.<p>Back then, and I don&#x27;t know how much has changed, the libraries were maintained on GitHub and CloudFlare did the hosting. I wasn&#x27;t aware of any problems with either organisation doing what they were doing, the system worked just fine. The founders (see <a href="https:&#x2F;&#x2F;cdnjs.com&#x2F;about" rel="nofollow">https:&#x2F;&#x2F;cdnjs.com&#x2F;about</a> for confirmation) Thomas and Ryan were around, but not super active. Thomas was involved in building out some of the automation infrastructure, but the day-to-day of updating the repo was largely undertaken by the maintainers, and that was fine. I never &#x27;met&#x27; either founder, but we had occasional email back and forth and they were grateful for my maintainer-ing.<p>I used the GitHub Mac app because I was finding my way. Whenever I changed any library, the action of the app checking a HUGE repo for any changes pegged my laptop for a few minutes every time. Not ideal, but the process of doing this librarian-ing helped me learn about a heap of stuff.<p>According to [1] I stopped on cdnJS mid-2014. Things got a bit twitchy for me when a library (edit: jPlayer) was pulled from the file structure because it was compromised (edit: XSS) or found malicious at release. I had a couple of user complaints directed at me because I was the one that added it in good faith originally (it passed the malware checks I ran on it). The founders stepped up to explain it wasn&#x27;t me that was to blame, and one person didn&#x27;t take that too well -- basically they found me on other software forums, posted threats to me and explained how the library that I had added, and someone else had removed, was crucial to their business and they&#x27;d lost such-and-such dollars in revenue with that library 404-ing without notice and that they were coming to find me and extract the money from me by force. It all died down a few weeks later.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;petecooper?tab=overview&amp;from=2014-12-01&amp;to=2014-12-31" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;petecooper?tab=overview&amp;from=2014-12-01&amp;t...</a><p>Edits: clarity.
评论 #21418603 未加载
onion2kover 5 years ago
There&#x27;s a lesson here for anyone who dreams of getting famous maintaining something in the open source world - if it grows huge and you&#x27;re not willing to share control (and fame, and maybe money) you can&#x27;t take really a break from it. You will always have to be there or risk losing it very quickly.<p>Software development at scale is about much more than code. It&#x27;s about maintaining relationships with people, being willing to trust other people can do good work without your input, and sharing responsibility for what you started. All the really awesome open source projects have people who are good at those things at their core.
评论 #21417025 未加载
评论 #21418734 未加载
评论 #21417766 未加载
boukeover 5 years ago
I guess the lesson to learn here is that you shouldn&#x27;t rely on externally hosted assets. Just host it yourself, its not that hard. If you&#x27;re concerned about the bandwidth cost, you should probably charge more for the service your providing.
评论 #21417554 未加载
评论 #21420817 未加载
zackbloomover 5 years ago
Hello from Cloudflare! We&#x27;re involved with CDNJS as we host the CDN-part of the project. We will support CDNJS and the sites which rely on it, period. If your site uses CDNJS you can trust it will continue to be fast and functional.<p>We have engineers currently working with the CDNJS team to get updates happening again. Once that is done we will start to think about the best way to keep CDNJS updating without requiring as much human intervention in the future. Thanks for your patience and feel free to ask any questions here.
评论 #21422064 未加载
manigandhamover 5 years ago
This is why I recommend jsDelivr instead: <a href="https:&#x2F;&#x2F;www.jsdelivr.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jsdelivr.com&#x2F;</a><p>It&#x27;s a free CDN that automatically pulls from NPM or Github based on repo URL without any submission&#x2F;approval bottlenecks. It&#x27;s also more robust with multiple CDN and DNS providers.
评论 #21416785 未加载
piscisaureusover 5 years ago
Looks like the &quot;founder&quot; is <a href="https:&#x2F;&#x2F;github.com&#x2F;ryankirkman" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ryankirkman</a>. Doesn&#x27;t look like he&#x27;s MIA but rather distracted &#x2F; doing something else.
评论 #21416830 未加载
oefrhaover 5 years ago
410 GONE is a potential problem in any important open source project with a low bus factor.
评论 #21417170 未加载
ZoomZoomZoomover 5 years ago
Well, I&#x27;ve read the whole linked Issue and only then understood that it&#x27;s not in fact CJDNS[1]. The latest commit there is Aug, 6, which is very frustrating. I&#x27;d love to see HN crowd paying more attention to such projects.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;cjdelisle&#x2F;cjdns&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;cjdelisle&#x2F;cjdns&#x2F;</a>
评论 #21417865 未加载
评论 #21417665 未加载
评论 #21417734 未加载
brightballover 5 years ago
It’s one think to make and release open source software. It’s entirely another to maintain a free service.
thinkloopover 5 years ago
The entire cdnjs is one dude plus some &quot;core&quot; maintainers with no access? Amazing.
评论 #21416800 未加载
评论 #21416713 未加载
评论 #21416812 未加载
fksover 5 years ago
Really sad to see this, I remember relying on cdnjs at a few old jobs over the years. Hope they get this sorted.<p>If anyone is looking for alternatives, I created Pika CDN as a modern alternative for cdnjs&#x2F;jsdelivr&#x2F;unpkg. It runs off of npm (so no approval bottlenecks) and is 100% modern ESM (so you can `import` every package directly in the browser without a bundler). <a href="https:&#x2F;&#x2F;www.pika.dev&#x2F;cdn" rel="nofollow">https:&#x2F;&#x2F;www.pika.dev&#x2F;cdn</a>
rpmismsover 5 years ago
At the risk of seeming trollish...<p>What are we doing? Deploy the donations!
fareeshover 5 years ago
Hypothetical question - what if a &quot;founder&quot; of a widely adopted service like cdnjs becomes incapacitated or dead, is everyone supposed to just follow a fork or is there some kind of provision to hand over control to someone? How can the successor be chosen in such cases?
评论 #21420582 未加载
评论 #21416990 未加载
评论 #21417063 未加载
bdcravensover 5 years ago
How many rely on these CDNs as core (yet free) infrastructure?
评论 #21417843 未加载
评论 #21416686 未加载
评论 #21416699 未加载
atemerevover 5 years ago
Okay, this is what the fork button is for.
评论 #21416707 未加载
jiofihover 5 years ago
&gt; No direct financial sponsorship (or any funding) for core maintainers to work on cdnjs<p>Unpopular opinion ahead: I find that demanding money after “voluntarily” contributing to an open-source almost offensive to the spirit of OSS. Money changes the incentives around a community project in an irreversible way. Note that the issue here has nothing to do with financial support.<p>EDIT: This is regarding the “core maintainers” comment in the linked thread, and not a judgement of anyone’s ability. I gave away years of my own time to open source projects earlier in my career. It was very rewarding in many ways, even financially - what I learned made me a lot better at my job.<p>Am I not allowed to be ok with that, and believe that a paid contribution model is not ideal for OSS?
评论 #21416966 未加载
评论 #21417190 未加载
评论 #21417657 未加载