mirror of https://github.com/feross/funding
Compare commits
No commits in common. "master" and "v1.0.7" have entirely different histories.
|
@ -1,3 +1,2 @@
|
||||||
.travis.yml
|
.travis.yml
|
||||||
test/
|
test/
|
||||||
tools/
|
|
||||||
|
|
15
README.md
15
README.md
|
@ -11,8 +11,6 @@
|
||||||
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
|
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
|
||||||
[standard-url]: https://standardjs.com
|
[standard-url]: https://standardjs.com
|
||||||
|
|
||||||
### UPDATE: The experiment is over – Feross posted [a recap](https://feross.org/funding-experiment-recap/) on his blog
|
|
||||||
|
|
||||||
This is an open source funding experiment! The current model of sustaining open source is not working. We desperately need more experimentation. This is one such experiment.
|
This is an open source funding experiment! The current model of sustaining open source is not working. We desperately need more experimentation. This is one such experiment.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
@ -21,13 +19,20 @@ This is an open source funding experiment! The current model of sustaining open
|
||||||
npm install funding
|
npm install funding
|
||||||
```
|
```
|
||||||
|
|
||||||
### UPDATE: The experiment is over – Feross posted [a recap](https://feross.org/funding-experiment-recap/) on his blog
|
- Maintainers: [Apply to join the experiment](https://forms.gle/4agtnXJLS9E6qLaX9)
|
||||||
|
- Companies: [Post a terminal ad](https://forms.gle/hoJ9fJhP86kSGcvT6)
|
||||||
|
|
||||||
|
## See it action
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npx funding
|
||||||
|
```
|
||||||
|
|
||||||
## What is this?
|
## What is this?
|
||||||
|
|
||||||
This is an open source funding experiment! ✨
|
This is an open source funding experiment! ✨
|
||||||
|
|
||||||
Whenever users install open source software, this package will display a message from a company that supports open source. The sponsorship pays directly for maintainer time. That is, writing new features, fixing bugs, answering user questions, and improving documentation.
|
Whenever users install open source software, this package will display a message from a company that supports open source. Currently, these are [Linode](https://welcome.linode.com/standardjs) and [LogRocket](https://logrocket.com/term). The sponsorship pays directly for maintainer time. That is, writing new features, fixing bugs, answering user questions, and improving documentation.
|
||||||
|
|
||||||
The goal is to make sure that packages are well-maintained now and for the foreseeable future, with regular releases, improved reliability, and timely security patches. Healthy open source packages benefit users and maintainers alike.
|
The goal is to make sure that packages are well-maintained now and for the foreseeable future, with regular releases, improved reliability, and timely security patches. Healthy open source packages benefit users and maintainers alike.
|
||||||
|
|
||||||
|
@ -41,8 +46,6 @@ This experiment is currently running on a few open source projects that [Feross]
|
||||||
|
|
||||||
- [`standard`](https://standardjs.com)
|
- [`standard`](https://standardjs.com)
|
||||||
|
|
||||||
### UPDATE: The experiment is over – Feross posted [a recap](https://feross.org/funding-experiment-recap/) on his blog
|
|
||||||
|
|
||||||
## Who is Feross?
|
## Who is Feross?
|
||||||
|
|
||||||
Hey there, I'm Feross!
|
Hey there, I'm Feross!
|
||||||
|
|
3
index.js
3
index.js
|
@ -90,9 +90,6 @@ function printMessage () {
|
||||||
// Do not print message when one has been shown recently
|
// Do not print message when one has been shown recently
|
||||||
if (isShownRecently()) return
|
if (isShownRecently()) return
|
||||||
|
|
||||||
// Skip running if no messages are available
|
|
||||||
if (messages.length === 0) return
|
|
||||||
|
|
||||||
// Select a random message
|
// Select a random message
|
||||||
const i = Math.floor(Math.random() * messages.length)
|
const i = Math.floor(Math.random() * messages.length)
|
||||||
const message = messages[i]
|
const message = messages[i]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"title": "npm install funding",
|
"title": "LogRocket",
|
||||||
"text": "I appreciate the thoughtful discussion and feedback from the community. I shared some thoughts about how this experiment went from my perspective.",
|
"text": "Stop guessing why bugs happen. LogRocket lets you replay what users do on your web app or website, helping you reproduce bugs and fix issues faster.",
|
||||||
"url": "https://feross.org/funding-experiment-recap/"
|
"url": "https://logrocket.com/term"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "funding",
|
"name": "funding",
|
||||||
"description": "Get open source maintainers paid",
|
"description": "Get open source maintainers paid",
|
||||||
"version": "1.0.9",
|
"version": "1.0.7",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Feross Aboukhadijeh",
|
"name": "Feross Aboukhadijeh",
|
||||||
"email": "feross@feross.org",
|
"email": "feross@feross.org",
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"standard": "*",
|
"standard": "*",
|
||||||
"tape": "^5.0.0"
|
"tape": "^4.11.0"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/feross/funding",
|
"homepage": "https://github.com/feross/funding",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "node bin/funding.js",
|
"postinstall": "node bin/funding.js",
|
||||||
"start": "node tools/clear.js && node bin/funding.js",
|
"start": "node bin/funding.js",
|
||||||
"test": "standard && npm start && tape test/*.js"
|
"test": "standard && tape test/*.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/usr/bin/env node
|
|
||||||
|
|
||||||
const { clearShown } = require('../lib/limit')
|
|
||||||
|
|
||||||
clearShown()
|
|
Loading…
Reference in New Issue