Skip to content

A bot for sharing app status with team members on Discord 🤖

Notifications You must be signed in to change notification settings

froggydisk/app-status-bot

Repository files navigation

🇰🇷한국어 🇯🇵日本語

Introduction

This is a simple bot that fetches your app status directly from Appstore Connect and post changes on Discord by using GitHub-Actions and GitHub-Gist, with the help of fastlane Spaceship. Just FORK this repository for easy use.

Features

  • Fetch app status using Appstore Connect API
  • Share your app status to your team member on Discord

Usage

1. Generate Tokens for API Requests

To get your Key ID, copy it from App Store Connect by logging in to App Store Connect, then:

  1. Select Users and Access, then select the API Keys tab.
  2. Generate API Keys (only for main account)
  3. Click Copy Key ID and paste it.
  4. Click Copy Issuer ID and paste it.
  5. Download the newly created API Key file (.p8)

⚠️ This file cannot be downloaded again after the page has been refreshed

  1. Find the bundle ID of your app and paste it.
  2. Generate Discord Webhook url.
  3. Generate GitHub token.
  4. Get your Gist url.
  5. Fork this repository.
  6. Input Secrets in Settings tab.
  7. Enable the workflow in Actions tab.

2. Set Secrets with your keys.

  • Go to Settings - Secrets - Actions - New Repository Secret
  • Please register one by one.

Secret Values

PRIVATE_KEY: Input raw data of API Key file (.p8)
KEY_ID : Input Appstore Connect Key ID
ISSUER_ID : Input Appstore connect Issuer ID
BUNDLE_ID : Input your bundle ID of application. You can input multiple bundle IDs with comma.
DISCORD_WEBHOOK : Input your Discord Webhook url
GH_TOKEN: Input your GitHub token, (allow access for "gists" and "repo").
GIST_ID: Input portion from your Gist url:

3. Configure fetch timing

In fetch.yml, you can change langauge and fetch schedule. The default time cycle is 1 hour.

Sample

References

mainly from Fernando's blog

Contribution

  • Feel free to contribute for this project.

About

A bot for sharing app status with team members on Discord 🤖

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published