- Jan 2023
-
www.programmableweb.com www.programmableweb.com
Tags
Annotators
URL
-
-
docs.github.com docs.github.com
-
-
-
```js const TOKEN = "YOUR_PERSONAL_ACCESS_TOKEN"; const GIST_ID = "YOUR_GIST_ID"; const GIST_FILENAME = "db.json";
/ * Reads the JSON file inside of the gist / async function getData() { const req = await fetch(
https://api.github.com/gists/${GIST_ID}
); const gist = await req.json(); return JSON.parse(gist.files[GIST_FILENAME].content); }/ * Puts the data you want to store back into the gist / async function setData(data) { const req = await fetch(
https://api.github.com/gists/${GIST_ID}
, { method: "PATCH", headers: { Authorization:Bearer ${TOKEN}
, }, body: JSON.stringify({ files: { [GIST_FILENAME]: { content: JSON.stringify(data), }, }, }), });return req.json(); } ```
-
- Nov 2022
-
en.wikipedia.org en.wikipedia.org
-
Donations
To add some other intermediary services:
- ko-fi (site for contribution)
- GitHub sponsors (for GitPages)
- itch.io (for games)
- Gumroad (for sites and repositories)
- Patreon (for fan interaction)
To add a service for groups:
To add a service that enables fans to support the creators directly and anonymously via microdonations or small donations by pre-charging their Coil account to spend on content streaming or tipping the creators' wallets via a layer containing JS script following the Interledger Protocol proposed to W3C:
If you want to know more, head to Web Monetization or Community or Explainer
Disclaimer: I am a recipient of a grant from the Interledger Foundation, so there would be a Conflict of Interest if I edited directly. Plus, sharing on Hypothesis allows other users to chime in.
Tags
- open web
- wordpress
- wallet
- tessy
- web standards
- open collective
- video
- monetization
- tips
- gatehub
- revenue sharing
- payment
- w3c
- fans
- tools
- pay-what-you-want
- games
- podcast
- web
- gftw
- gaming
- micro-donation
- mozilla
- online ledger
- pricing strategies
- stream
- ko-fi
- jekyll
- API
- revenue
- extension
- vuepress
- payment pointer
- gatsby
- web monetization
- microdonation
- ngx
- community
- FOSS
- open
- coil
- open-source
- art
- 11ty
- mozfest
- Interledger
- gumroad
- browser
- pricing
- github
- moodle
- contribution
- plug-in
- svelte
- gratuity
- Interledger Protocol
- protocol
- micropayment
- freemium
- nonprofit
- strategies
- pwyw
- privacy
- sponsors
- uphold
- pay what you want
- education
- collective
- WWW
- pipe web
- model
- open source
- mozilla festival
- gridsome
- subscriptions
- business
- premium
- hugo
- exclusive
- research
- film
- Consortium
- donation
- dev.to
- Patreon
- youtube
Annotators
URL
-
- Aug 2022
-
docs.github.com docs.github.com
-
- May 2022
-
www.programmableweb.com www.programmableweb.comGitHub1
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
e.g. https://api.github.com/search/issues?q=repo:nodejs/node+type:issue+state:closed
json { "total_count": 6595, "incomplete_results": false, "items": [...] }
-
-
github.com github.com
-
Get all repos from the user
https://api.github.com/users/:user/repos
, then look foropen_issues_count
in the named repo.HI, when you get issues by page like
issues?page=0&per_page=5
number
property from first element will be count of issues.
Tags
Annotators
URL
-
- May 2017
-
www.hackingwithreact.com www.hackingwithreact.com
-
commit.author ? commit.author.login :
Note the errors here. Rather than:
commit.author
It should be:
commit.commit.author
-
- Feb 2014
-
apievangelist.com apievangelist.com
-
Github As The Central Presence, Definition, Configuration, And Source Code For Your API Posted on 02-05-2014 It is easy to think of Github as a central repository for your open source code—most developers understand that. I have written before about the many ways to use Github as part of your API management strategy, but in the last few months I'm really seeing Github playing more of a central role in the overall lifecycle of an API.
-