Giter Club home page Giter Club logo

translate-bot's Introduction

translate-bot

Getting started

  1. Set environment First, download Google Cloud API json file, and set key.json at project root directory.
export SLACK_BOT_TOKEN=<Your slack bot oauth token>
export SLACK_APP_TOKEN=<Your slack app token for socket mode>
export GOOGLE_API_TOKEN=<Your Google Cloud Translate API token>
export GOOGLE_APPLICATION_CREDENTIALS=<Your Google Cloud service account credential JSON file>
export PROJECT_ID=<Your Google Cloud Project ID>
export LOG_FILE=<set log file path>

or create .env file.

SLACK_BOT_TOKEN=
SLACK_APP_TOKEN=
GOOGLE_API_TOKEN=
GOOGLE_APPLICATION_CREDENTIALS=
PROJECT_ID=
LOG_FILE=
  1. Run bot server and check integration with slack
  • run go command
go run main.go
  • run docker
    • set Google Cloud service account file.
      • ./key.json
    • set .env file.
docker compose up --build

translate-bot's People

Contributors

ichisuke55 avatar github-actions[bot] avatar renovate[bot] avatar

Watchers

 avatar

translate-bot's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • fix(deps): update module cloud.google.com/go/translate to v1.10.3
  • fix(deps): update module google.golang.org/genproto to v0.0.0-20240429193739-8cf5692501f6
  • fix(deps): update google-github-actions/release-please-action action to v4
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/release.yml
  • google-github-actions/release-please-action v3
gomod
go.mod
  • go 1.20
  • cloud.google.com/go/translate v1.10.1
  • github.com/kelseyhightower/envconfig v1.4.0
  • github.com/slack-go/slack v0.12.2
  • google.golang.org/genproto v0.0.0-20240228224816-df926f6c8641@df926f6c8641

  • Check this box to trigger a request for Renovate to run again on this repository

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.