Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from thepurplebubble/jasper
Browse files Browse the repository at this point in the history
WIP MVP
  • Loading branch information
jaspermayone authored Jul 2, 2024
2 parents cb19036 + 64645ac commit 3e85086
Show file tree
Hide file tree
Showing 10 changed files with 2,946 additions and 86 deletions.
Binary file removed bun.lockb
Binary file not shown.
9 changes: 8 additions & 1 deletion manifest.yml → manifest-hc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,21 @@ features:
oauth_config:
scopes:
bot:
- app_mentions:read
- channels:history
- channels:join
- app_mentions:read
- channels:read
- chat:write
- chat:write.customize
- chat:write.public
- groups:history
- users.profile:read
settings:
event_subscriptions:
request_url: https://0ab4-65-19-76-238.ngrok-free.app/slack/events
bot_events:
- message.channels
- message.groups
org_deploy_enabled: true
socket_mode_enabled: false
token_rotation_enabled: false
27 changes: 27 additions & 0 deletions manifest-pb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
display_information:
name: Magic Mirror
features:
bot_user:
display_name: Magic Mirror
always_online: false
oauth_config:
scopes:
bot:
- app_mentions:read
- channels:history
- channels:join
- channels:read
- chat:write
- chat:write.customize
- chat:write.public
- groups:history
- users.profile:read
settings:
event_subscriptions:
request_url: https://47d4-65-19-76-238.ngrok-free.app/slack/events
bot_events:
- message.channels
- message.groups
org_deploy_enabled: true
socket_mode_enabled: false
token_rotation_enabled: false
9 changes: 9 additions & 0 deletions ngrokconfig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
tunnels:
pbreciver:
proto: http
addr: 3000
# domain: heron-selected-literally.ngrok-free.app
hcreciver:
proto: http
addr: 3001
# domain: demo.inconshreveable.com
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "slack-mirror",
"version": "0.1.0",
"version": "0.0.0",
"description": "Mirroring Slack Channels Between Workspaces",
"main": "src/index.ts",
"main": "index.js",
"maintainers": [
{
"name": "Jasper Mayone",
Expand All @@ -11,25 +11,24 @@
}
],
"scripts": {
"start": "bun src/index.ts",
"build": "bun build --compile --minify --sourcemap ./src/index.ts --outfile ./dist/slack-mirror",
"dev": "bun --watch src/index.ts"
"start": "node dist/index.js",
"build": "tsc",
"dev": "nodemon src/index.ts"
},
"keywords": [],
"author": "Jasper Mayone <[email protected]>",
"dependencies": {
"@prisma/client": "5.16.1",
"@slack/bolt": "^3.18.0",
"@slack/web-api": "^7.0.4",
"@types/express": "^4.17.21",
"airtable": "^0.12.2",
"async": "^3.2.5",
"axios": "^1.7.2",
"bottleneck": "^2.19.5",
"bun": "^1.1.17",
"colors": "^1.4.0",
"cron": "^3.1.7",
"dotenv": "^16.4.5",
"elysia": "^1.0.26",
"express": "^4.19.2",
"form-data": "^4.0.0",
"js-yaml": "^4.1.0",
Expand All @@ -38,7 +37,6 @@
"nodemon": "^3.0.3",
"postgres": "^3.4.4",
"response-time": "^2.3.2",
"slack-edge": "^0.13.2",
"tsx": "^4.9.3",
"yaml": "^2.4.5"
},
Expand All @@ -47,7 +45,12 @@
"@types/js-yaml": "^4.0.9",
"@types/node-statsd": "^0.1.6",
"@types/response-time": "^2.3.8",
"prisma": "5.16.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
},
"engines": {
"node": ">=20.0.0",
"pnpm": ">=9.4.0"
}
}
}
Loading

0 comments on commit 3e85086

Please sign in to comment.