GithubHelp home page GithubHelp logo

go-sdk's Introduction

UPYUN Go SDK

API Reference GitHub tag (latest by date) Build Lint Test Go Report Card Sourcegraph

import "github.com/upyun/go-sdk/v3/upyun/"

又拍云 Go SDK, 集成:

Table of Contents

Projects using this SDK

Usage

快速上手

package main

import (
    "fmt"
    "github.com/upyun/go-sdk/v3/upyun"
)

func main() {
    up := upyun.NewUpYun(&upyun.UpYunConfig{
        Bucket:   "demo",
        Operator: "op",
        Password: "password",
    })

    // 上传文件
    fmt.Println(up.Put(&upyun.PutObjectConfig{
        Path:      "/demo.log",
        LocalPath: "/tmp/upload",
    }))

    // 断点续传 文件大于 10M 才会分片
    resume := &MemoryRecorder{}
    // 若设置为 nil,则为正常的分片上传
    up.SetRecorder(resume)
    fmt.Println(up.Put(&upyun.PutObjectConfig{
        Path:      "/demo.log",
        LocalPath: "/tmp/upload",
        UseResumeUpload: true,
    }))

    // 下载
    fmt.Println(up.Get(&upyun.GetObjectConfig{
        Path:      "/demo.log",
        LocalPath: "/tmp/download",
    }))

    // 列目录
    objsChan := make(chan *upyun.FileInfo, 10)
    go func() {
        fmt.Println(up.List(&upyun.GetObjectsConfig{
            Path:        "/",
            ObjectsChan: objsChan,
        }))
    }()

    for obj := range objsChan {
        fmt.Println(obj)
    }
}

初始化 UpYun

func NewUpYun(config *UpYunConfig) *UpYun

NewUpYun 初始化 UpYunUpYun 是调用又拍云服务的统一入口,UpYun 对所有开放的接口都做了支持。


又拍云 REST API 接口

获取空间存储使用量

func (up *UpYun) Usage() (n int64, err error)

创建目录

func (up *UpYun) Mkdir(path string) error

上传

func (up *UpYun) Put(config *PutObjectConfig) (err error)

下载

func (up *UpYun) Get(config *GetObjectConfig) (fInfo *FileInfo, err error)

删除

func (up *UpYun) Delete(config *DeleteObjectConfig) error

移动

func (up *UpYun) Move(config *MoveObjectConfig) error

复制

func (up *UpYun) Copy(config *CopyObjectConfig) error

获取文件信息

func (up *UpYun) GetInfo(path string) (*FileInfo, error)

获取文件列表

func (up *UpYun) List(config *GetObjectsConfig) error

获取断点续传进度

func (up *UpYun) GetResumeProcess(path string) (*ResumeProcessResult, error)

又拍云缓存刷新接口

func (u *UpYun) Purge(urls []string) (string, error)

又拍云表单上传接口

func (up *UpYun) FormUpload(config *FormUploadConfig) (*FormUploadResp, error)

又拍云处理接口

提交处理任务

func (up *UpYun) CommitTasks(config *CommitTasksConfig) (taskIds []string, err error)

tasksIds 是提交任务的编号。通过这个编号,可以查询到处理进度以及处理结果等状态。

获取处理进度

func (up *UpYun) GetProgress(taskIds []string) (result map[string]int, err error)

获取处理结果

func (up *UpYun) GetResult(taskIds []string) (result map[string]interface{}, err error)

提交同步处理任务

func (up *UpYun) CommitSyncTasks(commitTask interface{}) (result map[string]interface{}, err error)

基本类型

UpYun

type UpYunConfig struct {
        Bucket    string                // 云存储服务名(空间名)
        Operator  string                // 操作员
        Password  string                // 密码
        Secret    string                // 表单上传密钥,已经弃用!
        Hosts     map[string]string     // 自定义 Hosts 映射关系
        UserAgent string                // HTTP User-Agent 头,默认 "UPYUN Go SDK V2"
        UseHTTP   bool                  // 默认使用https,若要使用http,则该字段值为true
}

UpYunConfig 提供初始化 UpYun 的所需参数。 需要注意的是,Secret 表单密钥已经弃用,如果一定需要使用,需调用 UseDeprecatedApi

FileInfo

type FileInfo struct {
        Name        string              // 文件名
        Size        int64               // 文件大小, 目录大小为 0
        ContentType string              // 文件 Content-Type
        IsDir       bool                // 是否为目录
        MD5         string              // MD5 值
        Time        time.Time           // 文件修改时间

        Meta map[string]string          // Metadata 数据
}

FormUploadResp

type FormUploadResp struct {
        Code      int      `json:"code"`            // 状态码
        Msg       string   `json:"message"`         // 状态信息
        Url       string   `json:"url"`             // 保存路径
        Timestamp int64    `json:"time"`            // 时间戳
        ImgWidth  int      `json:"image-width"`     // 图片宽度
        ImgHeight int      `json:"image-height"`    // 图片高度
        ImgFrames int      `json:"image-frames"`    // 图片帧数
        ImgType   string   `json:"image-type"`      // 图片类型
        Sign      string   `json:"sign"`            // 签名
        Taskids   []string `json:"task_ids"`        // 异步任务
}

FormUploadResp 为表单上传的返回内容的格式。其中 Code 字段为状态码,可以查看 API 错误码表

PutObjectConfig

type PutObjectConfig struct {
        Path              string                // 云存储中的路径
        LocalPath         string                // 待上传文件在本地文件系统中的路径
        Reader            io.Reader             // 待上传的内容
        Headers           map[string]string     // 额外的 HTTP 请求头
        UseMD5            bool                  // 是否需要 MD5 校验
        UseResumeUpload   bool                  // 是否使用断点续传
        AppendContent     bool                  // 是否需要追加文件内容
        ResumePartSize    int64                 // 断点续传块大小
        MaxResumePutTries int                   // 断点续传最大重试次数
}

PutObjectConfig 提供上传单个文件所需的参数。有几点需要注意:

  • LocalPathReader 是互斥的关系,如果设置了 LocalPath,SDK 就会去读取这个文件,而忽略 Reader 中的内容。
  • 如果 Reader 是一个流/缓冲等的话,需要通过 Headers 参数设置 Content-Length,SDK 默认会对 *os.File 增加该字段。
  • 断点续传的上传内容类型必须是 *os.File, 断点续传会将文件按照 ResumePartSize 进行切割,然后按次序一块一块上传,如果遇到网络问题,会进行重试,重试 MaxResumePutTries 次,默认无限重试。
  • AppendContent 如果是追加文件的话,确保非最后的分片必须为 1M 的整数倍。
  • 如果需要 MD5 校验,SDK 对 *os.File 会自动计算 MD5 值,其他类型需要自行通过 Headers 参数设置 Content-MD5

GetObjectConfig

type GetObjectConfig struct {
        Path      string                    // 云存储中的路径
        Headers   map[string]string         // 额外的 HTTP 请求头
        LocalPath string                    // 本地文件路径
        Writer    io.Writer                 // 保存内容的容器
}

GetObjectConfig 提供下载单个文件所需的参数。 跟 PutObjectConfig 类似,LocalPathWriter 是互斥的关系,如果设置了 LocalPath,SDK 就会把内容写入到这个文件中,而忽略 Writer

GetObjectsConfig

type GetObjectsConfig struct {
        Path           string                   // 云存储中的路径
        Headers        map[string]string        // 额外的 HTTP 请求头
        ObjectsChan    chan *FileInfo           // 对象通道
        QuitChan       chan bool                // 停止信号
        MaxListObjects int                      // 最大列对象个数
        MaxListTries   int                      // 列目录最大重试次数
        MaxListLevel int                        // 递归最大深度
        DescOrder bool                          // 是否按降序列取,默认为升序

        // Has unexported fields.
}

GetObjectsConfig 提供列目录所需的参数。当列目录结束后,SDK 会将 ObjectsChan 关闭掉。

ListObjectsConfig

type ListObjectsConfig struct {
	Path         string            // 文件夹路径
	Headers      map[string]string // 请求头
	Iter         string            // 下次遍历目录的开始位置,第一次不需要输入,之后每次返回结果时会返回当前结束的位置, 即下次开始的位置
	MaxListTries int               // 重试的次数最大值 默认5次
	DescOrder    bool              // 正序or倒叙
	Limit        int               // 每次遍历的文件个数,默认256 最大值4096

	// Has unexported fields.
}

ListObjectsConfig 提供给列目录并且需要手动分页的场景, 见 upyun/reset_test.go 函数 TestListObjects

DeleteObjectConfig

type DeleteObjectConfig struct {
        Path  string        // 云存储中的路径
        Async bool          // 是否使用异步删除
}

DeleteObjectConfig 提供删除单个文件/空目录所需的参数。

MoveObjectConfig

type MoveObjectConfig struct {
        SrcPath  string             // 移动源路径
        DestPath string             // 目的路径
        Headers  map[string]string  // 额外的 HTTP 请求头
}

MoveObjectConfig 提供单个文件移动。

CopyObjectConfig

type CopyObjectConfig struct {
        SrcPath  string             // 复制源路径
        DestPath string             // 目的路径
        Headers  map[string]string  // 额外的 HTTP 请求头
}

CopyObjectConfig 提供单个文件复制。

FormUploadConfig

type FormUploadConfig struct {
        LocalPath      string                       // 待上传的文件路径
        SaveKey        string                       // 保存路径
        ExpireAfterSec int64                        // 签名超时时间
        NotifyUrl      string                       // 结果回调地址
        Apps           []map[string]interface{}     // 异步处理任务
        Options        map[string]interface{}       // 更多自定义参数
}

FormUploadConfig 提供表单上传所需的参数。

CommitTasksConfig

type CommitTasksConfig struct {
        AppName   string                            // 异步任务名称
        NotifyUrl string                            // 回调地址
        Tasks     []interface{}                     // 任务数组

        // Naga 相关配置
        Accept    string                            // 回调支持的类型,默认为 json
        Source    string                            // 处理原文件路径
}

CommitTasksConfig 提供提交异步任务所需的参数。AcceptSource 仅与异步音视频处理有关。Tasks 是一个任务数组,数组中的每一个元素都是任务相关的参数(一般情况下为字典类型)。

BreakPointConfig

type BreakPointConfig struct {
        UploadID    string
        PartID      int  // 失败待上传的 PartID
        PartSize    int64
        FileSize    int64
        FileModTime time.Time
        LastTime    time.Time  
}

BreakPointConfig 提供续传所需的参数,在使用 Put 进行断点续传时,首先使用 UpYunSetRecorder 传入一个 Recorder 接口类型(内部使用 MemoryRecorder 实现了该接口),当出现上传失败的时候,调用 UpYun 下的 RecorderGet 方法,即可获取当前断点的相关信息。

LiveauditCreateTask

type LiveauditCreateTask struct {
	Source    string
	SaveAs    string
	NotifyUrl string
	Interval  string
	Resize    string
}

LiveauditCreateTask 提供视频直播内容识别任务创建所需参数,适用于 CommitSyncTasks

LiveauditCancelTask

type LiveauditCancelTask struct {
	TaskId string
}

LiveauditCancelTask 提供视频直播内容识别任务取消所需参数,适用于 CommitSyncTasks

SyncCommonTask

type SyncCommonTask struct {
        Kwargs  map[string]interface{}
        TaskUri string
}

SyncCommonTask 提供同步任务所需的参数,适用于 CommitSyncTasks。有几点需要注意:

  • 使用 p1.api.upyun.com 同步任务接口,如果没有提供单独的接口,请使用 SyncCommonTask
  • Kwargs 为请求参数。
  • TaskUri 为任务 uri,不包括服务名,例如 /liveaudit/create

go-sdk's People

Contributors

chzhuo avatar forthe2008 avatar haibinhe avatar huangnauh avatar hzjsea avatar lingqi7 avatar luanzhu avatar mohanson avatar polym avatar timebug avatar wine93 avatar yamada95 avatar yejingx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

go-sdk's Issues

info, err := u.GetList("/foo")当 /foo 文件夹为空时,运行直接报错

// Get dir info list 
info, err := u.GetList("/foo")

/foo 文件夹为空时,运行直接报错:

panic: runtime error: index out of range

goroutine 1 [running]:
github.com/upyun/go-sdk/upyun.newInfo(0x436bf0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
    /Users/arron/Documents/go_workspace/src/github.com/upyun/go-sdk/upyun/upyun.go:164 +0x189
github.com/upyun/go-sdk/upyun.(*UpYun).GetList(0xc208054060, 0x2d9170, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0)
    /Users/arron/Documents/go_workspace/src/github.com/upyun/go-sdk/upyun/upyun.go:450 +0x254
main.main()
    /Users/arron/Documents/go_workspace/src/go_upyun/go_upyun.go:29 +0x453

goroutine 8 [select]:
net/http.(*persistConn).readLoop(0xc2080680b0)
    /usr/local/go/src/net/http/transport.go:928 +0x9ce
created by net/http.(*Transport).dialConn
    /usr/local/go/src/net/http/transport.go:660 +0xc9f

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 9 [select]:
net/http.(*persistConn).writeLoop(0xc2080680b0)
    /usr/local/go/src/net/http/transport.go:945 +0x41d
created by net/http.(*Transport).dialConn
    /usr/local/go/src/net/http/transport.go:661 +0xcbc

goroutine 12 [IO wait]:
net.(*pollDesc).Wait(0xc208010610, 0x72, 0x0, 0x0)
    /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208010610, 0x0, 0x0)
    /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc2080105b0, 0xc208059000, 0x1000, 0x1000, 0x0, 0x1011b08, 0xc20800af40)
    /usr/local/go/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc20802c0b0, 0xc208059000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
    /usr/local/go/src/net/net.go:121 +0xdc
net/http.noteEOFReader.Read(0x1012e18, 0xc20802c0b0, 0xc208068268, 0xc208059000, 0x1000, 0x1000, 0xc20802a2c0, 0x0, 0x0)
    /usr/local/go/src/net/http/transport.go:1270 +0x6e
net/http.(*noteEOFReader).Read(0xc20801eb00, 0xc208059000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0)
    <autogenerated>:125 +0xd4
bufio.(*Reader).fill(0xc208054cc0)
    /usr/local/go/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).Peek(0xc208054cc0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
    /usr/local/go/src/bufio/bufio.go:132 +0xf0
net/http.(*persistConn).readLoop(0xc208068210)
    /usr/local/go/src/net/http/transport.go:842 +0xa4
created by net/http.(*Transport).dialConn
    /usr/local/go/src/net/http/transport.go:660 +0xc9f

goroutine 13 [select]:
net/http.(*persistConn).writeLoop(0xc208068210)
    /usr/local/go/src/net/http/transport.go:945 +0x41d
created by net/http.(*Transport).dialConn
    /usr/local/go/src/net/http/transport.go:661 +0xcbc
exit status 2

Cannot get latest version: module contains a go.mod file, so module path should be github.com/upyun/go-sdk/v2

Background

The github.com/upyun/go-sdk uses Go modules and the current release version is v2. And it’s module path is "github.com/upyun/go-sdk", instead of "github.com/upyun/go-sdk/v2". It must comply with the specification of "Releasing Modules for v2 or higher" available in the Modules documentation. Quoting the specification:

A package that has opted in to modules must include the major version in the import path to import any v2+ modules
To preserve import compatibility, the go command requires that modules with major version v2 or later use a module path with that major version as the final element. For example, version v2.0.0 of example.com/m must instead use module path example.com/m/v2.
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

Steps to Reproduce

GO111MODULE=on, run go get targeting any version >= v2.2.0 of the upyun/go-sdk:

$ go get github.com/upyun/[email protected]
go: finding github.com/upyun/go-sdk v2.2.0
go: finding github.com/upyun/go-sdk v2.2.0
go get github.com/upyun/[email protected]: github.com/upyun/[email protected]: invalid version: module contains a go.mod file, so major version must be compatible: should be v0 or v1, not v2

run go get github.com/upyun/go-sdk, the version will stuck in v2.1.0:

$go get github.com/upyun/go-sdk
go: downloading github.com/upyun/go-sdk v1.1.1
go: github.com/upyun/go-sdk upgrade => v2.1.0+incompatible 

SO anyone using Go modules will not be able to easily use any newer version of upyun/go-sdk.

Solution

1. Kill the go.mod files, rolling back to GOPATH.

This would push them back to not being managed by Go modules (instead of incorrectly using Go modules).
Ensure compatibility for downstream module-aware projects and module-unaware projects projects

I see these dependencies in your go.mod file, which need modle awareness. So you'd better not use third-party tools(such as: Dep, glide, govendor…).

github.com/casbin/casbin/v2 v2.4.1
github.com/urfave/cli/v2

You also need to update the import path to:

import github.com/casbin/casbin/…
import github.com/urfave/cli/…

2. Fix module path to strictly follow SIV rules.

Patch the go.mod file to declare the module path as github.com/upyun/go-sdk/v2 as per the specs. And adjust all internal imports.
The downstream projects might be negatively affected in their building if they are module-unaware (Go versions older than 1.9.7 and 1.10.3; Or use third-party dependency management tools, such as: Dep, glide,govendor…).

[*] You can see who will be affected here: [3 module-unaware users, i.e., ziyeziye/CloudStore, TruthHun/CloudStore, xEasy/baker ]
https://github.com/search?q=upyun%2Fgo-sdk+filename%3AGodeps.json+filename%3Avendor.conf+filename%3Avendor.json+filename%3Aglide.toml+filename%3AGodep.toml&type=Code

If you don't want to break the above repos. This method can provides better backwards-compatibility.
Release a v2 or higher module through the major subdirectory strategy: Create a new v2 subdirectory (github.com/upyun/go-sdk/v2) and place a new go.mod file in that subdirectory. The module path must end with /v2. Copy or move the code into the v2 subdirectory. Update import statements within the module to also use /v2 (import "github.com/upyun/go-sdk/v2/…"). Tag the release with v2.x.y.

3. Major version bump / repository change

Leave v2 as a dead version and bump to v3 with the path changes.

4. Suggest your downstream module users to use hash instead of a version tag.

If the standard rule of go modules conflicts with your development mode. Or not intended to be used as a library and does not make any guarantees about the API. So you can’t comply with the specification of "Releasing Modules for v2 or higher" available in the Modules documentation.
Regardless, since it's against one of the design choices of Go, it'll be a bit of a hack. Instead of go get github.com/upyun/go-sdk@version-tag, module users need to use this following way to get the upyun/go-sdk:
(1) Search for the tag you want (in browser)
(2) Get the commit hash for the tag you want
(3) Run go get github.com/upyun/go-sdk@commit-hash
(4) Edit the go.mod file to put a comment about which version you actually used
This will make it difficult for module users to get and upgrade upyun/go-sdk.

[*] You can see who will be affected here: [28 module users, e.g., cilidm/mybed, alexlueng/invoicing, kekwl/Cloudreve]
https://github.com/search?q=upyun%2Fgo-sdk+filename%3Ago.mod&type=Code

Summary

You can make a choice to fix DM issues by balancing your own development schedules/mode against the affects on the downstream projects.

For this issue, Solution 2 can maximize your benefits and with minimal impacts to your downstream projects the ecosystem.

References

无法获取上传图片的详细信息

使用Put方法上传图片之后(使用文件字节流上传),无法通过GetInfo方法获取图片的具体信息,图片是正常上传的,GetInfo只能获取到大小,但是无法获取宽高等其他信息

下载新版本 v3 报错

go: downloading github.com/upyun/go-sdk/v3 v3.0.0
go get: github.com/upyun/go-sdk/[email protected]: verifying module: checksum mismatch
downloaded: h1:Qx/6C961SOicM/+a7PJW8K+e/0WLnwTZ9qfKFD/RnGQ=
sum.golang.org: h1:AXmeuTWJp3oZUjXX/45RssJTndcxAbvGZqtsgKxuMIM=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

上传带有中文名称的图片失败

我不知道是什么情况,是业务上就不支持中文名称还是需要经过加工上传?我是将路径名称经过md5再上传的,英文名称的文件能够通过上传

支持通过url上传文件到UPYUN

通过url直接上传文件到UPYUN, 无需下载到本地再通过文件上传!
比如我在浏览网页时发现喜爱的图片, 想存储在UPYUN空间, 亦或者我在网页上需要下载一个大文件, 又想将这个文件存储在又拍云! 提供这个接口可以略去将资源下载到本地的步骤, 直接将资源存储到UPYUN
可复用接口func (u *UpYun) Get(key string, value *os.File) error, 使 value即可以接收os.File, 又可以接收url(interface{}可实现)!
http://img.baidu.com/orange.jpg

使用go get下载该包失败

go: downloading github.com/upyun/go-sdk/v3 v3.0.0
go get github.com/upyun/go-sdk/v3/upyun: github.com/upyun/go-sdk/[email protected]: verifying module: checksum mismatch
downloaded: h1:Qx/6C961SOicM/+a7PJW8K+e/0WLnwTZ9qfKFD/RnGQ=
sum.golang.org: h1:AXmeuTWJp3oZUjXX/45RssJTndcxAbvGZqtsgKxuMIM=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

Adding the purge API?

Hi, thanks for the excellent library! I am wondering whether you are interested in adding the purge component to the library? I wrote a simple one a couple of days ago based on your code. Could you please take a look at the code?

master...luanzhu:for-upyunpurge-pull-request

I will be more than happy to create a pull request if you like to include the purge component?

Thanks a lot!

关于README中的 upyun.NewUpYun("bucket", "username", "password")

在readme中,示例写的是:

u := upyun.NewUpYun("bucket", "username", "password")

我使用了我注册时的usernamepassword结果验证不通过401,后来使用了创建的操作员的用户名和密码才通过。
所以这里应该改一下吧:

u := upyun.NewUpYun("bucket", "operator_name", "operator_pwd")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.