Giter VIP home page Giter VIP logo

sidecar's Introduction

sidecar

directory and description

directory name description
metadata show creation_time in metadata of MP4
mylinebot Sidecar Line BOT (Backend)
oauth OAuth2 test code for YouTube API
service .service files for systemctl and install script
uploader uploader test code for YouTube API
webapp Sedecar Web App (Frontend)

credential setup

AWS

~/.aws/credentials

[default]
aws_access_key_id = { AWS Access Key ID }
aws_secret_access_key = { AWS Secret Access Key }

To get the access key id and secret access key of AWS
please follow the instrustions.
https://aws.amazon.com/jp/premiumsupport/knowledge-center/create-access-key/

Note that the IAM need these access rights.

  • s3:PutObject
  • s3:GetObject

Google

./mylinebot/client_secrets.json

{
  "web": {
    "client_id": "XXXXX.apps.googleusercontent.com",
    "project_id": "XXXXX",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_secret": "XXXXX",
    "redirect_uris": [
      "https://your_bucket_name.s3.ap-northeast-1.amazonaws.com/callback.html"
    ]
  }
}

Please refer to the following sites to get the client_secrets.json
https://qiita.com/Tomonobu3110/items/24c4e256498e1c4de922
Note that you need to make S3 bucket on AWS to fix the redirect_uris.

LINE

./mylinebot/.line_credentials

CHANNEL_SECRET={ Channel Secret }
CHANNEL_ACCESS_TOKEN={ Channel Access Token }

Please follow the instructions as below to get the channel access token of LINE service.
https://developers.line.biz/ja/docs/messaging-api/getting-started/
https://developers.line.biz/ja/docs/messaging-api/channel-access-tokens/#long-lived-channel-access-tokens

ngrok

Sidecar uses the ngrok service to publish its node.js server to the internet world by https protocol.
ngrok service is free to use, but you need to register an account to use the service for unlimited time.
Please see the following URL for details.
https://ngrok.com/

sidecar's People

Contributors

tomonobu3110 avatar

Watchers

James Cloos avatar  avatar

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.