tangled
alpha
login
or
join now
indexx.dev
/
tweets2bsky
forked from
j4ck.xyz/tweets2bsky
0
fork
atom
A simple tool which lets you scrape twitter accounts and crosspost them to bluesky accounts! Comes with a CLI and a webapp for managing profiles! Works with images/videos/link embeds/threads.
0
fork
atom
overview
issues
pulls
pipelines
Add repair_pm2.sh script to manually fix environment issues
jack
2 months ago
650a521e
9441fe97
+19
1 changed file
expand all
collapse all
unified
split
repair_pm2.sh
+19
repair_pm2.sh
···
1
1
+
#!/bin/bash
2
2
+
echo "🔧 Repairing PM2 Process Environment..."
3
3
+
4
4
+
PROCESS_NAME="tweets-2-bsky"
5
5
+
if pm2 describe twitter-mirror &> /dev/null; then
6
6
+
PROCESS_NAME="twitter-mirror"
7
7
+
fi
8
8
+
9
9
+
echo "Found process: $PROCESS_NAME"
10
10
+
echo "Deleting process..."
11
11
+
pm2 delete $PROCESS_NAME
12
12
+
13
13
+
echo "Starting process with fresh environment..."
14
14
+
pm2 start dist/index.js --name $PROCESS_NAME
15
15
+
16
16
+
echo "Saving PM2 list..."
17
17
+
pm2 save
18
18
+
19
19
+
echo "✅ Repair complete! The MODULE_NOT_FOUND error should be gone."