Sample GitHub API code for uploading files?

未關閉
#2 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
文件
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
github, javascript, node.js
領域
api, documentation

研究方向

Read the linked GitHub API documentation and the node-github toolkit first, focusing on repository file uploads and authentication. Done means providing a simple Node.js example that uploads one text file to a GitHub repository.

由索引模型根據 Issue 內容生成。

描述

Short version

I'm looking for simple JavaScript example code to upload a single text file to a GitHub repository from a Node.js app.

Background

Andrew Shell had an interesting idea -- mirror my blog posts to a GitHub repository.

I like it because it provides an easy to manage archive, and takes care of distribution of updates.

I looked at the API and the JavaScript toolkits and how authentication works, and there are a lot of pieces to understand to get what I imagine will ultimately be a very small piece of code.

So I thought I'd ask if anyone has such code?

Of course I will re-share whatever I end up using.

主要語言
HTML
星號
134
分支
10
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

scripting/Scripting-News 的其他 Issue

查看 scripting/Scripting-News 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。