An open API service indexing awesome lists of open source software.

https://github.com/sue445/condo3

Feed generator for Doorkeeper group
https://github.com/sue445/condo3

appengine-go connpass doorkeeper

Last synced: 2 months ago
JSON representation

Feed generator for Doorkeeper group

Awesome Lists containing this project

README

        

# condo3
Feed generator for [Doorkeeper](https://www.doorkeeper.jp/) group

https://condo3.appspot.com/

[![CircleCI](https://dl.circleci.com/status-badge/img/gh/sue445/condo3/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/sue445/condo3/tree/master)
[![Maintainability](https://api.codeclimate.com/v1/badges/e0d43c1cc012319a621c/maintainability)](https://codeclimate.com/github/sue445/condo3/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/e0d43c1cc012319a621c/test_coverage)](https://codeclimate.com/github/sue445/condo3/test_coverage)
[![Go Report Card](https://goreportcard.com/badge/github.com/sue445/condo3)](https://goreportcard.com/report/github.com/sue445/condo3)
[![GoDoc](https://godoc.org/github.com/sue445/condo3?status.svg)](https://godoc.org/github.com/sue445/condo3)

## Available APIs
* `https://condo3.appspot.com/api/doorkeeper/{group}.{format}`

### Note
* `format` supports either `ics` or `atom`
* e.g. https://condo3.appspot.com/api/doorkeeper/trbmeetup.ics

## Develop
### Setup
```bash
cp .envrc.example .envrc
vi .envrc
```

Mac

```bash
brew cask install google-cloud-sdk
gcloud components install app-engine-go
```

* https://cloud.google.com/appengine/docs/standard/go/download
* https://cloud.google.com/sdk/docs/

### Run local
```bash
npm run build
make && ./bin/condo3
```

open http://localhost:8080/

### Encrypt credentials with KMS
```bash
vi credential.txt
gcloud kms encrypt --location=global --keyring condo3 --key app --plaintext-file credential.txt --ciphertext-file credential.enc
cat credential.enc | base64 > encrypted_credential_base64.txt
```

Write to [app.yaml](app.yaml)