{"id":21285599,"url":"https://github.com/takeyuweb/tomoki-rails","last_synced_at":"2026-05-08T06:50:05.081Z","repository":{"id":66907476,"uuid":"106199206","full_name":"takeyuweb/tomoki-rails","owner":"takeyuweb","description":"声を届ける能力","archived":false,"fork":false,"pushed_at":"2017-10-08T19:13:46.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T05:16:22.813Z","etag":null,"topics":["rails","slack","twilio"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takeyuweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-08T18:22:55.000Z","updated_at":"2017-10-08T18:45:33.000Z","dependencies_parsed_at":"2023-02-24T04:00:44.481Z","dependency_job_id":null,"html_url":"https://github.com/takeyuweb/tomoki-rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Ftomoki-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Ftomoki-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Ftomoki-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takeyuweb%2Ftomoki-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takeyuweb","download_url":"https://codeload.github.com/takeyuweb/tomoki-rails/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243746201,"owners_count":20341203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rails","slack","twilio"],"created_at":"2024-11-21T11:21:20.564Z","updated_at":"2025-10-06T23:24:52.117Z","avatar_url":"https://github.com/takeyuweb.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tomoki-kun\n\n声を届ける能力\n\n![image](https://user-images.githubusercontent.com/60980/31319819-a9cd7be6-aca4-11e7-9cf5-08b2eccf5d4d.png)\n\n`/tomoki @届け先 届けたいメッセージ`とやると、Slackに登録されている電話番号に声を届けるSlash Command\n\n## 開発サーバー\n\n例はUbuntuの場合。他の環境では便宜パッケージを読み替えてください。\n\n### Ruby (rbenv)\n\n    $ git clone https://github.com/rbenv/rbenv.git ~/.rbenv\n    $ cd ~/.rbenv \u0026\u0026 src/configure \u0026\u0026 make -C src\n    $ echo 'export PATH=\"$HOME/.rbenv/bin:$PATH\"' \u003e\u003e ~/.bashrc\n    $ echo 'eval \"$(rbenv init -)\"' \u003e\u003e ~/.bashrc\n    $ source ~/.profile\n    $ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build\n    $ sudo apt-get install -y build-essential \n    $ rbenv install 2.4.2\n\n### PostgreSQL library\n\n    $ sudo apt-get install -y libpq-dev\n\n### Node.js / yarn\n\n    $ curl -sL https://deb.nodesource.com/setup_6.x | sudo bash -\n    $ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -\n    $ echo \"deb https://dl.yarnpkg.com/debian/ stable main\" | sudo tee /etc/apt/sources.list.d/yarn.list\n    $ sudo apt-get update -qq\n    $ sudo apt-get install -y nodejs yarn\n\n### Docker CE / Docker Compose\n\n1. https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-repository\n2. https://docs.docker.com/engine/installation/linux/linux-postinstall/\n3. https://github.com/docker/compose/releases\n\n### Direnv (Optional)\n\n    $ sudo apt-get install -y direnv\n    $ echo 'eval \"$(direnv hook bash)\"' \u003e\u003e ~/.bashrc\n    $ source ~/.profile\n    $ cd path-to/tomoaki-rails\n    $ cp .envrc.sample .envrc\n    $ vi .envrc\n    $ direnv allow\n\n### Start\n\n#### bundle install / yarn\n\n    $ bundle install --jobs 4 --retry 5 --path vendor/bundle\n    $ yarn\n\n#### database.yml\n\n    $ cp config/database.yml.sample config/database.yml\n\n### Start Servers\n\n#### Creating a database\n\n    $ export COMPOSE_FILE=docker-compose.development.yml\n    $ docker-compose up -d\n    $ bundle exec rails db:create\n    $ bundle exec rails db:migrate\n\n#### Start Rails\n\n    $ bundle exec rails s\n\n`export`による環境変数設定は、`direnv`を導入済みの場合不要です。（自動的に設定されます。）\n\n### Stop Servers\n\n    $ docker-compose stop\n\n## Slack Apps\n\n### Slash Command\n\n| Field | Value |\n| ----- | ----- |\n| Command | /tomoki |\n| Request URL | https://your-app/voices |\n\n### Permissions\n\n#### Add slash commands\n\n#### users.profile:read\n\n#### users:read\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakeyuweb%2Ftomoki-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakeyuweb%2Ftomoki-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakeyuweb%2Ftomoki-rails/lists"}