clipboard.js icon indicating copy to clipboard operation
clipboard.js copied to clipboard

OT: How did the repo get 5000 stars in a few days?

Open dandv opened this issue 8 years ago โ€ข 69 comments

ZeroClipboard lead dev @JamesMGreene said:

Your repo has rocketed from 0 to almost as many stars (~4500) as ZeroClipboard's (~5000) in a period of mere days. Quite an impressive feat, IMHO. :clap:

@zenorocha, how did the repo achieve this impressive feat?

dandv avatar Oct 01 '15 20:10 dandv

After finding water on Mars.. that was the only thing that was missing from the humanity.. :alien:

lipis avatar Oct 01 '15 21:10 lipis

Hacker News maybe https://news.ycombinator.com/item?id=10301881

stan avatar Oct 01 '15 22:10 stan

Came here from Hacker news (y)

imom39a avatar Oct 01 '15 22:10 imom39a

+1 Hacker news

mavrick avatar Oct 02 '15 05:10 mavrick

It has nothing to do with Hacker News. Here are few different factors that contributed to that:

  • Experience: I've been working with open source for a while now. I gave more than 70 talks and built many projects over the last years. There was a LOT of hard work involved and lessons learned along the way.
  • Credibility: Because of all those things I've done, lots of people started to follow me not only on GitHub (~3k) but also on Twitter (~20k). I try to offer as much value as I can for those followers every day. That translates to a broader reach whenever I need to share something I've built.
  • Docs & demos: 99% of developers complain that nobody cares about their code on GitHub. How you expect people to use something if you don't teach them? My advice is that you need to spend more time writing and improving your documentation than writing code.
  • Timing: On September 1, I read this article about Mozilla starting to support execCommand. At that article they said "Firefox 41, which is currently in Beta, and slated to move to release in mid-September". I realized that was the missing part for this API to be adopted broadly. I wrote clipboard.js in a private repo and waited until Firefox 41 was released.
  • Working is not enough: Most developers just make things work and that's it. I spent a good amount of time trying to make this library smaller, trying to make the public API easier, and refactoring the source code for better readability.
  • Knowing your audience: Everybody hates Flash and everybody hates bloated frameworks. Everybody loves a simple API and everybody loves GitHub's copy to clipboard. If you don't know your audience, you don't know how to create something they'll like.

That's not everything, but I hope it encourage folks to realize it's not just about coding.

zenorocha avatar Oct 02 '15 06:10 zenorocha

:+1:

stan avatar Oct 02 '15 07:10 stan

:heart:

addyosmani avatar Oct 02 '15 08:10 addyosmani

Awesome

ankurdebnath avatar Oct 02 '15 11:10 ankurdebnath

Came from hacker news (it was featured in their newsletter), but have seen on FB as well. And yes, the repo is very well structured for collaboration.

ebonet-zz avatar Oct 02 '15 12:10 ebonet-zz

It has nothing to do with Hacker News.

It has a little bit to do with it, but still; great work on the bullet points.

mavrick avatar Oct 02 '15 13:10 mavrick

:+1:

tpiros avatar Oct 02 '15 14:10 tpiros

:cool:

mayankcpdixit avatar Oct 02 '15 14:10 mayankcpdixit

:+1:

victorperin avatar Oct 02 '15 14:10 victorperin

:+1: :+1:

elrumordelaluz avatar Oct 02 '15 14:10 elrumordelaluz

:clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: :clap: That's my boy!

jaydson avatar Oct 02 '15 14:10 jaydson

Plim plim, next level.

robsongajunior avatar Oct 02 '15 15:10 robsongajunior

It seems that hacker news played a major role here. Anyway congratulations xD

FagnerMartinsBrack avatar Oct 02 '15 15:10 FagnerMartinsBrack

I'm sure there will be another upshot today as it received the #1 spot in this week's JavaScript Weekly email newsletter.

JamesMGreene avatar Oct 02 '15 15:10 JamesMGreene

Can anybody confirm if given the speed it reached 5k this is a github record? Just curious.

FagnerMartinsBrack avatar Oct 02 '15 15:10 FagnerMartinsBrack

@FagnerMartinsBrack https://github.com/stars?direction=desc&sort=stars is in the top 10

elrumordelaluz avatar Oct 02 '15 15:10 elrumordelaluz

:+1:

LucasArruda avatar Oct 02 '15 16:10 LucasArruda

:+1:

ghost avatar Oct 02 '15 16:10 ghost

Nice answer

caiocutrim avatar Oct 02 '15 16:10 caiocutrim

:+1: Work hard, one day anyone will say you was lucky..

Xhamps avatar Oct 02 '15 16:10 Xhamps

@Xhamps tell me about it! hahaha

@zenorocha zenando!

franklinjavier avatar Oct 02 '15 16:10 franklinjavier

I feel a disturbance in the force every time Zeno releases new stuff as if a million developers had their wishes granted...

soapdog avatar Oct 02 '15 16:10 soapdog

Great answer.

felipepucinelli avatar Oct 02 '15 17:10 felipepucinelli

:+1:

MateusZitelli avatar Oct 02 '15 17:10 MateusZitelli

@zenorocha work hard, play hard!!!!

dleitee avatar Oct 02 '15 18:10 dleitee

:+1:

ivosantiago avatar Oct 02 '15 18:10 ivosantiago

:+1:

eduardocruz avatar Oct 02 '15 18:10 eduardocruz

Such a great answer @zenorocha

ythecombinator avatar Oct 02 '15 19:10 ythecombinator

:+1:

brunoksato avatar Oct 02 '15 19:10 brunoksato

:+1:

leandroh avatar Oct 02 '15 19:10 leandroh

๐Ÿ†

joshdance avatar Oct 02 '15 19:10 joshdance

:+1:

ojacquemart avatar Oct 02 '15 19:10 ojacquemart

One thing I noticed that a lot of people with sky-high stars on GitHub usually have in common is coding time and quality. It seems that hard work over time eventually pays off.

@zenorocha You didn't even added <famous developer here> to <project name here> to your project to get traction (not that I know of), this was awesome :+1:

nihey avatar Oct 02 '15 20:10 nihey

:clap: :star: great answer!!

jeanmatheussouto avatar Oct 02 '15 20:10 jeanmatheussouto

:+1: awesome stuff @zenorocha !!

supritashankar avatar Oct 02 '15 21:10 supritashankar

@FagnerMartinsBrack https://github.com/stars?direction=desc&sort=stars is in the top 10

That shows your personal stars, not github global. And I was talking about in a short period of time, not all time's :)

FagnerMartinsBrack avatar Oct 02 '15 23:10 FagnerMartinsBrack

@zenorocha one thing you forgot to add in your answer and I am pretty sure you are aware of (I can see from you first words) is:

Start with why

;)

FagnerMartinsBrack avatar Oct 02 '15 23:10 FagnerMartinsBrack

Great!

KennedyTedesco avatar Oct 03 '15 01:10 KennedyTedesco

Spot on!

bpassos-zz avatar Oct 03 '15 12:10 bpassos-zz

:+1: @FagnerMartinsBrack, I love that "Start with why" video ;)

zenorocha avatar Oct 03 '15 23:10 zenorocha

@zenorocha First of all, nice work! :clap: Could you please take a look at this page and tell us what are the referring websites? GitHub gives us some interesting stats there! :sparkles:

IonicaBizau avatar Oct 04 '15 15:10 IonicaBizau

@zenorocha First of all, nice work! :clap: Could you please take a look at this page and tell us what are the referring websites? GitHub gives us some interesting stats there! :sparkles:

:+1:

FagnerMartinsBrack avatar Oct 04 '15 20:10 FagnerMartinsBrack

it solves a problem that we all seem to hide from ๐Ÿ™ˆ

KhaledMohamedP avatar Oct 04 '15 20:10 KhaledMohamedP

@IonicaBizau :+1: I love stats.. :chart_with_upwards_trend: once screenshot of that page would be fun to watch :)

lipis avatar Oct 04 '15 22:10 lipis

got here from Smashing Magazine Web development reading list

http://www.smashingmagazine.com/2015/10/web-development-reading-list-106/

balexandre avatar Oct 05 '15 09:10 balexandre

:pray: for all dev's who will do all with passion like @zenorocha

arturparkhisenko avatar Oct 05 '15 12:10 arturparkhisenko

:+1:

mihdan avatar Oct 05 '15 14:10 mihdan

:+1:

reinaldorauch avatar Oct 11 '15 04:10 reinaldorauch

Awesome @zenorocha :clap: :+1:

ghost avatar Oct 16 '15 02:10 ghost

@zenorocha Are any plans to use <div contenteditable=true instead of a text area so that the formatting in clipboard is preserved ?

petabyte avatar Oct 29 '15 15:10 petabyte

Hey @petabyte,

I haven't thought about that. Could you submit a PR?

zenorocha avatar Oct 29 '15 15:10 zenorocha

Vai @zenorocha :heart: :smile:

danilovaz avatar Nov 16 '15 15:11 danilovaz

10K: http://githubstats.lip.is/zenorocha :)

lipis avatar Dec 21 '15 14:12 lipis

:+1:

duyet avatar Feb 16 '16 06:02 duyet

great~~~

cristicVictory avatar Jul 14 '16 11:07 cristicVictory

๐Ÿ‘

kimorkim avatar Sep 14 '16 09:09 kimorkim

The coolest thing is that this issue is intentionally kept open, while people out there are willing to close all issues! :smile: Viva Brazil ๐Ÿ‡ง๐Ÿ‡ท

jbruni avatar Sep 29 '16 19:09 jbruni

Come from china, via oschina. It's awesome,may can help me deal with many problems๏ผ

Heier2013 avatar Oct 28 '16 01:10 Heier2013

๐Ÿ‘

wlwr avatar Nov 11 '16 07:11 wlwr

:+1:

nelsonkuang avatar Mar 10 '17 02:03 nelsonkuang

@dandv I think that this 'issue' can be closed... ;-)

Ruffio avatar Sep 15 '17 08:09 Ruffio

็‰›้€ผๅ•ฆ

381510688 avatar Apr 02 '19 09:04 381510688

@zenorocha Great lib, and I admire your dedication. Thanks!

I've been using it for a while, but still had some parts of my site using ZeroClip (Flash based.. ugh).

carpii avatar Aug 14 '19 22:08 carpii

In what way is this an issue? lol

jacobrreed avatar Sep 20 '19 16:09 jacobrreed

@JacobRReed: GitHub issues are a convenient way to communicate publicly with the author(s) of a repo. They don't have to be "problems". I've creating issues congratulating maintainers for a job well done etc.

dandv avatar Sep 20 '19 20:09 dandv