raza-fca-pkg 1.0.1 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cache/replit/env/latest +53 -54
- package/.cache/replit/env/latest.json +1 -1
- package/README.md +37 -179
- package/package.json +1 -1
package/.cache/replit/env/latest
CHANGED
|
@@ -1,64 +1,63 @@
|
|
|
1
|
-
declare -gx
|
|
2
|
-
declare -gx
|
|
3
|
-
declare -gx
|
|
4
|
-
declare -gx
|
|
5
|
-
declare -gx
|
|
6
|
-
declare -gx
|
|
7
|
-
declare -gx
|
|
1
|
+
declare -gx NIX_PROFILES='/nix/var/nix/profiles/default /home/runner/.nix-profile'
|
|
2
|
+
declare -gx PGHOST=helium
|
|
3
|
+
declare -gx XDG_CONFIG_HOME=/home/runner/workspace/.config
|
|
4
|
+
declare -gx XDG_DATA_DIRS=/nix/store/2dmscr1xvlnzjn2ip10f72njczhskggs-replit-runtime-path/share
|
|
5
|
+
declare -gx REPLIT_DOMAINS=acfa45ed-e8df-427d-ac54-fbc335a01feb-00-1ykbb6n7ejftf.pike.replit.dev
|
|
6
|
+
declare -gx REPLIT_NIX_CHANNEL=legacy
|
|
7
|
+
declare -gx LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
|
|
8
|
+
declare -gx REPL_PUBKEYS='{"crosis-ci":"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=","crosis-ci:1":"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=","crosis-ci:latest":"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=","prod":"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=","prod:1":"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=","prod:3":"9+MCOSHQSQlcodXoot8dC8NLhc862nLkx1/VMsbY2h8=","prod:4":"8uGN+vfszlnV93/HCSHlVLG0xddMlPkir1Ni4JKT4+w=","prod:5":"9+MCOSHQSQlcodXoot8dC8NLhc862nLkx1/VMsbY2h8=","prod:latest":"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=","vault-goval-token":"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=","vault-goval-token:1":"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=","vault-goval-token:latest":"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E="}'
|
|
9
|
+
declare -gx REPLIT_PID1_FLAG_METADATA_SIDECAR=1
|
|
10
|
+
declare -gx npm_config_prefix=/home/runner/workspace/.config/npm/node_global
|
|
11
|
+
declare -gx LIBGL_DRIVERS_PATH=/nix/store/l4myp7qn0q9bqgmkqq4vnnii22ql1r68-mesa-25.0.7/lib/dri
|
|
12
|
+
declare -gx TZDIR=/etc/zoneinfo
|
|
8
13
|
declare -gx REPL_SLUG=workspace
|
|
9
|
-
declare -gx REPL_OWNER_ID=
|
|
10
|
-
declare -gx
|
|
14
|
+
declare -gx REPL_OWNER_ID=49327558
|
|
15
|
+
declare -gx DOCKER_CONFIG=/home/runner/workspace/.config/docker
|
|
16
|
+
declare -gx LANG=en_US.UTF-8
|
|
17
|
+
declare -gx COLORTERM=truecolor
|
|
18
|
+
declare -gx REPLIT_CONNECTORS_HOSTNAME=connectors.replit.com
|
|
19
|
+
declare -gx NIX_PATH=/home/runner/.nix-defexpr/channels
|
|
20
|
+
declare -gx USER=runner
|
|
21
|
+
declare -gx REPL_LANGUAGE=nix
|
|
22
|
+
declare -gx REPLIT_RTLD_LOADER=1
|
|
11
23
|
declare -gx NIXPKGS_ALLOW_UNFREE=1
|
|
12
|
-
declare -gx
|
|
24
|
+
declare -gx REPLIT_SUBCLUSTER=interactive
|
|
25
|
+
declare -gx REPLIT_DEV_DOMAIN=acfa45ed-e8df-427d-ac54-fbc335a01feb-00-1ykbb6n7ejftf.pike.replit.dev
|
|
26
|
+
declare -gx REPLIT_CLUSTER=pike
|
|
27
|
+
declare -gx GIT_ASKPASS=replit-git-askpass
|
|
28
|
+
declare -gx HOSTNAME=07aa399a6cfd
|
|
29
|
+
declare -gx DISPLAY=:0
|
|
30
|
+
declare -gx XDG_CACHE_HOME=/home/runner/workspace/.cache
|
|
31
|
+
declare -gx REPLIT_CONTAINER=gcr.io/marine-cycle-160323/repl-base:3c526f0870c482ef04b1ca6073a0d578ba34e814
|
|
32
|
+
declare -gx REPLIT_ENVIRONMENT=production
|
|
33
|
+
declare -gx REPLIT_GITSAFE_EXISTING_REPLS_ENABLED=true
|
|
34
|
+
declare -gx XDG_DATA_HOME=/home/runner/workspace/.local/share
|
|
35
|
+
declare -gx GIT_EDITOR=replit-git-editor
|
|
13
36
|
declare -gx PROMPT_DIRTRIM=2
|
|
37
|
+
declare -gx __EGL_VENDOR_LIBRARY_FILENAMES=/nix/store/l4myp7qn0q9bqgmkqq4vnnii22ql1r68-mesa-25.0.7/share/glvnd/egl_vendor.d/50_mesa.json
|
|
38
|
+
declare -gx REPLIT_CLI=/nix/store/3gsljwyly6mpbx6sasnnx2gz3l7q1k3l-replit-cli-0.0.1/bin/replit
|
|
39
|
+
declare -gx REPLIT_PID1_VERSION=0.0.0-b1ab14a
|
|
40
|
+
declare -gx PGPASSWORD=password
|
|
41
|
+
declare -gx REPLIT_GITSAFE_NEW_REPLS_ENABLED=true
|
|
42
|
+
declare -gx REPLIT_GITSAFE_ENABLED=true
|
|
43
|
+
declare -gx REPLIT_LD_AUDIT=/nix/store/sj11ljhx4n79h9g0167f8lg8hp7n545m-replit_rtld_loader-1/rtld_loader.so
|
|
14
44
|
declare -gx REPLIT_RIPPKGS_INDICES=/nix/store/cg6q7dm7h9jp20vwj79ahnbsd9cs6iay-rippkgs-indices
|
|
15
45
|
declare -gx DATABASE_URL='postgresql://postgres:password@helium/heliumdb?sslmode=disable'
|
|
16
|
-
declare -gx REPLIT_PID1_FLAG_METADATA_SIDECAR=1
|
|
17
|
-
declare -gx REPL_ID=b82ec4b8-eb10-4905-bab3-d55406320503
|
|
18
|
-
declare -gx REPLIT_GITSAFE_ENABLED=true
|
|
19
|
-
declare -gx REPLIT_SUBCLUSTER=interactive
|
|
20
46
|
declare -gx CONNECTORS_HOSTNAME=connectors.replit.com
|
|
21
|
-
declare -gx REPLIT_HELIUM_ENABLED=true
|
|
22
|
-
declare -gx REPL_IMAGE=gcr.io/marine-cycle-160323/nix:bf8590a3e2f0a8b70b7ca175eeed9074dffbfca9
|
|
23
|
-
declare -gx XDG_DATA_HOME=/home/runner/workspace/.local/share
|
|
24
|
-
declare -gx COLORTERM=truecolor
|
|
25
|
-
declare -gx XDG_DATA_DIRS=/nix/store/mwfi3f3f284vyla0vkcwny40742cpry4-replit-runtime-path/share
|
|
26
|
-
declare -gx NIX_PROFILES='/nix/var/nix/profiles/default /home/runner/.nix-profile'
|
|
27
47
|
declare -gx REPLIT_BASHRC=/nix/store/lsgsb0ar7rdwa09d1z2dnfjh4188pddk-replit-bashrc/bashrc
|
|
28
|
-
declare -gx
|
|
29
|
-
declare -gx GIT_EDITOR=replit-git-editor
|
|
30
|
-
declare -gx NIX_PATH=/home/runner/.nix-defexpr/channels
|
|
31
|
-
declare -gx REPLIT_RTLD_LOADER=1
|
|
32
|
-
read -r _new_path <<< "/nix/store/b1kq183rmmiv453fn6f8bfmi1drxvxba-npx/bin:/home/runner/workspace/.config/npm/node_global/bin:/home/runner/workspace/node_modules/.bin:/nix/store/1lagpgadaybvs1n2312gysg2phjk89y8-nodejs-20.20.0-wrapped/bin:/nix/store/16wk6qg1a4d2zvdjjxafgj3p2vx1yj4w-bun-1.2.16/bin:/nix/store/61lr9izijvg30pcribjdxgjxvh3bysp4-pnpm-10.26.1/bin:/nix/store/23078nfww258q1vjxbmyak0svvxcvj4s-yarn-1.22.22/bin:/nix/store/8sa75mbvbn3kxicggyyjggmkigvzddks-prettier-3.6.2/bin:/nix/store/ybmzhphf2bc6bcgssi3as9wm4b5069lr-pid1/bin:/nix/store/mwfi3f3f284vyla0vkcwny40742cpry4-replit-runtime-path/bin:/home/runner/.nix-profile/bin:/home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
33
|
-
#PATH=/nix/store/b1kq183rmmiv453fn6f8bfmi1drxvxba-npx/bin:/home/runner/workspace/.config/npm/node_global/bin:/home/runner/workspace/node_modules/.bin:/nix/store/1lagpgadaybvs1n2312gysg2phjk89y8-nodejs-20.20.0-wrapped/bin:/nix/store/16wk6qg1a4d2zvdjjxafgj3p2vx1yj4w-bun-1.2.16/bin:/nix/store/61lr9izijvg30pcribjdxgjxvh3bysp4-pnpm-10.26.1/bin:/nix/store/23078nfww258q1vjxbmyak0svvxcvj4s-yarn-1.22.22/bin:/nix/store/8sa75mbvbn3kxicggyyjggmkigvzddks-prettier-3.6.2/bin:/nix/store/ybmzhphf2bc6bcgssi3as9wm4b5069lr-pid1/bin:/nix/store/mwfi3f3f284vyla0vkcwny40742cpry4-replit-runtime-path/bin:/home/runner/.nix-profile/bin:/home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
34
|
-
if [ -e "/run/replit/env/last" ]; then read -r _last_path < <(\grep '^#PATH=' /run/replit/env/last | cut -f 2 -d =); fi
|
|
35
|
-
_user_components="$(\tr : $'\n' <<< "${PATH:-}" |\grep -xv -f <(\tr : $'\n' <<< "${_last_path}") |\tr $'\n' :)"
|
|
36
|
-
declare -gx PATH="${_user_components}${_new_path}"
|
|
37
|
-
declare -gx REPLIT_DOMAINS=b82ec4b8-eb10-4905-bab3-d55406320503-00-252aoxjvnyf.pike.replit.dev
|
|
38
|
-
declare -gx REPLIT_HEIMDALL_ADDR=https://heimdall.replit.com
|
|
48
|
+
declare -gx NIX_PS1='\[\033[01;34m\]\w\[\033[00m\]\$ '
|
|
39
49
|
declare -gx REPL_HOME=/home/runner/workspace
|
|
40
|
-
declare -gx REPLIT_CONTAINER=gcr.io/marine-cycle-160323/repl-base:3c526f0870c482ef04b1ca6073a0d578ba34e814
|
|
41
|
-
declare -gx USER=runner
|
|
42
|
-
declare -gx REPLIT_GITSAFE_EXISTING_REPLS_ENABLED=false
|
|
43
|
-
declare -gx REPLIT_CONNECTORS_HOSTNAME=connectors.replit.com
|
|
44
|
-
declare -gx XDG_CACHE_HOME=/home/runner/workspace/.cache
|
|
45
|
-
declare -gx HOME=/home/runner
|
|
46
|
-
declare -gx REPLIT_GITSAFE_NEW_REPLS_ENABLED=true
|
|
47
|
-
declare -gx REPLIT_CLUSTER=pike
|
|
48
|
-
declare -gx PGPASSWORD=password
|
|
49
|
-
declare -gx XDG_CONFIG_HOME=/home/runner/workspace/.config
|
|
50
|
-
declare -gx DOCKER_CONFIG=/home/runner/workspace/.config/docker
|
|
51
|
-
declare -gx LIBGL_DRIVERS_PATH=/nix/store/l4myp7qn0q9bqgmkqq4vnnii22ql1r68-mesa-25.0.7/lib/dri
|
|
52
|
-
declare -gx PGDATABASE=heliumdb
|
|
53
|
-
declare -gx REPL_PUBKEYS='{"crosis-ci":"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=","crosis-ci:1":"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=","crosis-ci:latest":"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=","prod":"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=","prod:1":"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=","prod:3":"9+MCOSHQSQlcodXoot8dC8NLhc862nLkx1/VMsbY2h8=","prod:4":"8uGN+vfszlnV93/HCSHlVLG0xddMlPkir1Ni4JKT4+w=","prod:5":"9+MCOSHQSQlcodXoot8dC8NLhc862nLkx1/VMsbY2h8=","prod:latest":"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=","vault-goval-token":"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=","vault-goval-token:1":"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=","vault-goval-token:latest":"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E="}'
|
|
54
50
|
declare -gx PGUSER=postgres
|
|
55
|
-
declare -gx
|
|
56
|
-
declare -gx TZDIR=/etc/zoneinfo
|
|
57
|
-
declare -gx HOSTNAME=ac5613f53699
|
|
58
|
-
declare -gx REPLIT_CLI=/nix/store/dglsczaz7s0rsz8218np2i3bpil8k5q5-replit-cli-0.0.1/bin/replit
|
|
59
|
-
declare -gx REPLIT_PID1_VERSION=0.0.0-5c7edfe
|
|
60
|
-
declare -gx DISPLAY=:0
|
|
51
|
+
declare -gx REPL_ID=acfa45ed-e8df-427d-ac54-fbc335a01feb
|
|
61
52
|
declare -gx REPLIT_PID1_FLAG_PREEVALED_SYSPKGS=1
|
|
62
|
-
declare -gx
|
|
63
|
-
declare -gx
|
|
64
|
-
declare -gx
|
|
53
|
+
declare -gx REPLIT_HEIMDALL_ADDR=https://heimdall.replit.com
|
|
54
|
+
declare -gx HOME=/home/runner
|
|
55
|
+
declare -gx PGDATABASE=heliumdb
|
|
56
|
+
declare -gx PGPORT=5432
|
|
57
|
+
declare -gx REPL_OWNER=co8cqe9gaa
|
|
58
|
+
declare -gx REPLIT_HELIUM_ENABLED=true
|
|
59
|
+
read -r _new_path <<< "/nix/store/b1kq183rmmiv453fn6f8bfmi1drxvxba-npx/bin:/home/runner/workspace/.config/npm/node_global/bin:/home/runner/workspace/node_modules/.bin:/nix/store/1lagpgadaybvs1n2312gysg2phjk89y8-nodejs-20.20.0-wrapped/bin:/nix/store/16wk6qg1a4d2zvdjjxafgj3p2vx1yj4w-bun-1.2.16/bin:/nix/store/61lr9izijvg30pcribjdxgjxvh3bysp4-pnpm-10.26.1/bin:/nix/store/23078nfww258q1vjxbmyak0svvxcvj4s-yarn-1.22.22/bin:/nix/store/8sa75mbvbn3kxicggyyjggmkigvzddks-prettier-3.6.2/bin:/nix/store/dy56wjln6w2hfyr4sry9midsvx0679b9-pid1/bin:/nix/store/2dmscr1xvlnzjn2ip10f72njczhskggs-replit-runtime-path/bin:/home/runner/.nix-profile/bin:/home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
60
|
+
#PATH=/nix/store/b1kq183rmmiv453fn6f8bfmi1drxvxba-npx/bin:/home/runner/workspace/.config/npm/node_global/bin:/home/runner/workspace/node_modules/.bin:/nix/store/1lagpgadaybvs1n2312gysg2phjk89y8-nodejs-20.20.0-wrapped/bin:/nix/store/16wk6qg1a4d2zvdjjxafgj3p2vx1yj4w-bun-1.2.16/bin:/nix/store/61lr9izijvg30pcribjdxgjxvh3bysp4-pnpm-10.26.1/bin:/nix/store/23078nfww258q1vjxbmyak0svvxcvj4s-yarn-1.22.22/bin:/nix/store/8sa75mbvbn3kxicggyyjggmkigvzddks-prettier-3.6.2/bin:/nix/store/dy56wjln6w2hfyr4sry9midsvx0679b9-pid1/bin:/nix/store/2dmscr1xvlnzjn2ip10f72njczhskggs-replit-runtime-path/bin:/home/runner/.nix-profile/bin:/home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
|
61
|
+
if [ -e "/run/replit/env/last" ]; then read -r _last_path < <(\grep '^#PATH=' /run/replit/env/last | cut -f 2 -d =); fi
|
|
62
|
+
_user_components="$(\tr : $'\n' <<< "${PATH:-}" |\grep -xv -f <(\tr : $'\n' <<< "${_last_path}") |\tr $'\n' :)"
|
|
63
|
+
declare -gx PATH="${_user_components}${_new_path}"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"environment":{"COLORTERM":"truecolor","CONNECTORS_HOSTNAME":"connectors.replit.com","DATABASE_URL":"postgresql://postgres:password@helium/heliumdb?sslmode=disable","DISPLAY":":0","DOCKER_CONFIG":"/home/runner/workspace/.config/docker","GIT_ASKPASS":"replit-git-askpass","GIT_EDITOR":"replit-git-editor","HOME":"/home/runner","HOSTNAME":"
|
|
1
|
+
{"environment":{"COLORTERM":"truecolor","CONNECTORS_HOSTNAME":"connectors.replit.com","DATABASE_URL":"postgresql://postgres:password@helium/heliumdb?sslmode=disable","DISPLAY":":0","DOCKER_CONFIG":"/home/runner/workspace/.config/docker","GIT_ASKPASS":"replit-git-askpass","GIT_EDITOR":"replit-git-editor","HOME":"/home/runner","HOSTNAME":"07aa399a6cfd","LANG":"en_US.UTF-8","LIBGL_DRIVERS_PATH":"/nix/store/l4myp7qn0q9bqgmkqq4vnnii22ql1r68-mesa-25.0.7/lib/dri","LOCALE_ARCHIVE":"/usr/lib/locale/locale-archive","NIXPKGS_ALLOW_UNFREE":"1","NIX_PATH":"/home/runner/.nix-defexpr/channels","NIX_PROFILES":"/nix/var/nix/profiles/default /home/runner/.nix-profile","NIX_PS1":"\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ","PATH":"/nix/store/b1kq183rmmiv453fn6f8bfmi1drxvxba-npx/bin:/home/runner/workspace/.config/npm/node_global/bin:/home/runner/workspace/node_modules/.bin:/nix/store/1lagpgadaybvs1n2312gysg2phjk89y8-nodejs-20.20.0-wrapped/bin:/nix/store/16wk6qg1a4d2zvdjjxafgj3p2vx1yj4w-bun-1.2.16/bin:/nix/store/61lr9izijvg30pcribjdxgjxvh3bysp4-pnpm-10.26.1/bin:/nix/store/23078nfww258q1vjxbmyak0svvxcvj4s-yarn-1.22.22/bin:/nix/store/8sa75mbvbn3kxicggyyjggmkigvzddks-prettier-3.6.2/bin:/nix/store/dy56wjln6w2hfyr4sry9midsvx0679b9-pid1/bin:/nix/store/2dmscr1xvlnzjn2ip10f72njczhskggs-replit-runtime-path/bin:/home/runner/.nix-profile/bin:/home/runner/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin","PGDATABASE":"heliumdb","PGHOST":"helium","PGPASSWORD":"password","PGPORT":"5432","PGUSER":"postgres","PROMPT_DIRTRIM":"2","REPLIT_BASHRC":"/nix/store/lsgsb0ar7rdwa09d1z2dnfjh4188pddk-replit-bashrc/bashrc","REPLIT_CLI":"/nix/store/3gsljwyly6mpbx6sasnnx2gz3l7q1k3l-replit-cli-0.0.1/bin/replit","REPLIT_CLUSTER":"pike","REPLIT_CONNECTORS_HOSTNAME":"connectors.replit.com","REPLIT_CONTAINER":"gcr.io/marine-cycle-160323/repl-base:3c526f0870c482ef04b1ca6073a0d578ba34e814","REPLIT_DEV_DOMAIN":"acfa45ed-e8df-427d-ac54-fbc335a01feb-00-1ykbb6n7ejftf.pike.replit.dev","REPLIT_DOMAINS":"acfa45ed-e8df-427d-ac54-fbc335a01feb-00-1ykbb6n7ejftf.pike.replit.dev","REPLIT_ENVIRONMENT":"production","REPLIT_GITSAFE_ENABLED":"true","REPLIT_GITSAFE_EXISTING_REPLS_ENABLED":"true","REPLIT_GITSAFE_NEW_REPLS_ENABLED":"true","REPLIT_HEIMDALL_ADDR":"https://heimdall.replit.com","REPLIT_HELIUM_ENABLED":"true","REPLIT_LD_AUDIT":"/nix/store/sj11ljhx4n79h9g0167f8lg8hp7n545m-replit_rtld_loader-1/rtld_loader.so","REPLIT_NIX_CHANNEL":"legacy","REPLIT_PID1_FLAG_METADATA_SIDECAR":"1","REPLIT_PID1_FLAG_PREEVALED_SYSPKGS":"1","REPLIT_PID1_VERSION":"0.0.0-b1ab14a","REPLIT_RIPPKGS_INDICES":"/nix/store/cg6q7dm7h9jp20vwj79ahnbsd9cs6iay-rippkgs-indices","REPLIT_RTLD_LOADER":"1","REPLIT_SUBCLUSTER":"interactive","REPL_HOME":"/home/runner/workspace","REPL_ID":"acfa45ed-e8df-427d-ac54-fbc335a01feb","REPL_LANGUAGE":"nix","REPL_OWNER":"co8cqe9gaa","REPL_OWNER_ID":"49327558","REPL_PUBKEYS":"{\"crosis-ci\":\"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=\",\"crosis-ci:1\":\"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=\",\"crosis-ci:latest\":\"7YlpcYh82oR9NSTtSYtR5jDL4onNzCGJGq6b+9CuZII=\",\"prod\":\"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=\",\"prod:1\":\"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=\",\"prod:3\":\"9+MCOSHQSQlcodXoot8dC8NLhc862nLkx1/VMsbY2h8=\",\"prod:4\":\"8uGN+vfszlnV93/HCSHlVLG0xddMlPkir1Ni4JKT4+w=\",\"prod:5\":\"9+MCOSHQSQlcodXoot8dC8NLhc862nLkx1/VMsbY2h8=\",\"prod:latest\":\"tGsjlu/BJvWTgvMaX7acuUb7AO1dXOrRiuk7y083RFE=\",\"vault-goval-token\":\"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=\",\"vault-goval-token:1\":\"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=\",\"vault-goval-token:latest\":\"D5jJoMx1Ml54HM92NLgXl+MzptwDqbSsfyFG6f52g9E=\"}","REPL_SLUG":"workspace","TZDIR":"/etc/zoneinfo","USER":"runner","XDG_CACHE_HOME":"/home/runner/workspace/.cache","XDG_CONFIG_HOME":"/home/runner/workspace/.config","XDG_DATA_DIRS":"/nix/store/2dmscr1xvlnzjn2ip10f72njczhskggs-replit-runtime-path/share","XDG_DATA_HOME":"/home/runner/workspace/.local/share","__EGL_VENDOR_LIBRARY_FILENAMES":"/nix/store/l4myp7qn0q9bqgmkqq4vnnii22ql1r68-mesa-25.0.7/share/glvnd/egl_vendor.d/50_mesa.json","npm_config_prefix":"/home/runner/workspace/.config/npm/node_global"}}
|
package/README.md
CHANGED
|
@@ -1,204 +1,62 @@
|
|
|
1
|
-
<div align="center"
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<img src="https://i.ibb.co/4ZP6kLf1/c44a0e5d0aaa.jpg" width="500" alt="raza-fca-pkg logo">
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
# 🚀 raza-fca-pkg
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
[](https://www.npmjs.com/package/raza-fca-pkg)
|
|
8
|
+
[](https://www.npmjs.com/package/raza-fca-pkg)
|
|
9
|
+
[](https://opensource.org/licenses/MIT)
|
|
8
10
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## 🤔 What is the purpose of this package?
|
|
12
|
-
ikashif-fca (so called Raza-Facebook Chat API), is a Node.js package for automating Facebook Messenger bot. Developed by **KASHIF RAZA**.
|
|
13
|
-
|
|
14
|
-
## 📖 Table of Contents
|
|
15
|
-
- [Features](#-features)
|
|
16
|
-
- [Installation](#-installation)
|
|
17
|
-
- [Usage](#-usage)
|
|
18
|
-
- [Main Functionality](#-main-functionality)
|
|
19
|
-
- [Sending Messages](#sending-messages)
|
|
20
|
-
- [Saving Sessions](#saving-sessions)
|
|
21
|
-
- [Listening to Chats](#listening-to-chats)
|
|
22
|
-
- [FAQ](#-faq)
|
|
23
|
-
- [Projects Using This API](#-projects-using-this-api)
|
|
24
|
-
- [Support](#-support)
|
|
25
|
-
- [License](#-license)
|
|
26
|
-
|
|
27
|
-
## ✨ Features
|
|
28
|
-
|
|
29
|
-
- **Automatic Re-login**: Detects errors and automatically re-logs in using the cookie. If the cookie is logged out, it prompts for re-submission or refreshes automatically.
|
|
30
|
-
- **Account Lock/Suspension Detection**: Stops the login process and displays details if an account is locked or suspended.
|
|
31
|
-

|
|
32
|
-

|
|
33
|
-

|
|
34
|
-
- **Token Refresh**: Automatically refreshes `fb_dtsg` (Facebook's dynamic token) daily at 12:00 AM (GMT+8 PH time).
|
|
35
|
-
- **Random User Agent**: Experimental feature to reduce logouts (`setOptions`).
|
|
36
|
-
- **Bypass Region**: Choose regions like PRN, PNB, HKG, SYD, VLL, LLA, SIN (experimental).
|
|
37
|
-
- **Optimized User Agent**: Contributed by `jonellcc` for fewer account logouts.
|
|
38
|
-
- **Compatibility**: Tested with Mirai and autobot.
|
|
39
|
-
|
|
40
|
-
## 🚀 Installation
|
|
41
|
-
|
|
42
|
-
Install the latest version of `ikashif-fca` via npm:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
npm install ikashif-fca@latest
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
## 🛠 Usage
|
|
11
|
+
---
|
|
49
12
|
|
|
50
|
-
|
|
13
|
+
### ✨ Features
|
|
14
|
+
- **Automatic Re-login**: Detects errors and automatically re-logs in using cookies.
|
|
15
|
+
- **Account Protection**: Stops login and displays details if an account is locked or suspended.
|
|
16
|
+
- **Token Refresh**: Automatically refreshes `fb_dtsg` tokens daily.
|
|
17
|
+
- **Optimized Performance**: Experimental features to reduce logouts and bypass regions.
|
|
51
18
|
|
|
52
|
-
|
|
53
|
-
const wiegine = require("ikashif-fca");
|
|
54
|
-
|
|
55
|
-
wiegine.login('Provide your cookie here',
|
|
56
|
-
{ /* setOptions here */ },
|
|
57
|
-
(err, api) => {
|
|
58
|
-
if (err) return console.error(err);
|
|
59
|
-
api.listenMqtt((err, event) => {
|
|
60
|
-
if (err) return console.error(err);
|
|
61
|
-
api.sendMessage(event.body, event.threadID);
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
);
|
|
65
|
-
```
|
|
19
|
+
---
|
|
66
20
|
|
|
67
|
-
|
|
21
|
+
### 📥 Installation
|
|
68
22
|
|
|
69
|
-
|
|
23
|
+
<a href="https://www.npmjs.com/package/raza-fca-pkg">
|
|
24
|
+
<img src="https://img.shields.io/badge/Install%20via%20NPM-CB3837?style=for-the-badge&logo=npm&logoColor=white" alt="NPM Install">
|
|
25
|
+
</a>
|
|
70
26
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
## 🔧 Main Functionality
|
|
75
|
-
|
|
76
|
-
### Sending Messages
|
|
77
|
-
#### `api.sendMessage(message, threadID[, callback][, messageID])`
|
|
78
|
-
|
|
79
|
-
Send various types of messages:
|
|
80
|
-
- **Regular**: Use `body` for text messages.
|
|
81
|
-
- **Sticker**: Set `sticker` to a sticker ID.
|
|
82
|
-
- **File/Image**: Set `attachment` to a readable stream or array of streams.
|
|
83
|
-
- **URL**: Set `url` to a link.
|
|
84
|
-
- **Emoji**: Set `emoji` to an emoji string and `emojiSize` (`small`, `medium`, `large`).
|
|
85
|
-
|
|
86
|
-
**Note**: A message can include a `body` (optional) and one of: sticker, attachment, or URL. Find your `userID` in cookies under `c_user`.
|
|
87
|
-
|
|
88
|
-
**Example (Basic Message)**:
|
|
89
|
-
```javascript
|
|
90
|
-
const wiegine = require("ikashif-fca");
|
|
91
|
-
|
|
92
|
-
wiegine.login('Provide your cookie here', (err, api) => {
|
|
93
|
-
if (err) return console.error(err);
|
|
94
|
-
const yourID = "000000000000000";
|
|
95
|
-
const msg = "Hey!";
|
|
96
|
-
api.sendMessage(msg, yourID);
|
|
97
|
-
});
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
**Example (File Upload)**:
|
|
101
|
-
```javascript
|
|
102
|
-
const fs = require("fs");
|
|
103
|
-
const wiegine = require("ikashif-fca");
|
|
104
|
-
|
|
105
|
-
wiegine.login('Provide your cookie here', (err, api) => {
|
|
106
|
-
if (err) return console.error(err);
|
|
107
|
-
const yourID = "000000000000000";
|
|
108
|
-
const msg = {
|
|
109
|
-
body: "Hey!",
|
|
110
|
-
attachment: fs.createReadStream(__dirname + "/image.jpg"),
|
|
111
|
-
};
|
|
112
|
-
api.sendMessage(msg, yourID);
|
|
113
|
-
});
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
### Saving Sessions
|
|
117
|
-
Save the cookie to avoid re-entering credentials:
|
|
118
|
-
|
|
119
|
-
```javascript
|
|
120
|
-
const fs = require("fs");
|
|
121
|
-
const wiegine = require("ikashif-fca");
|
|
122
|
-
const cookie = 'Provide your cookie here';
|
|
123
|
-
|
|
124
|
-
wiegine.login(cookie, (err, api) => {
|
|
125
|
-
if (err) return console.error(err);
|
|
126
|
-
fs.writeFileSync("cookie.txt", cookie, "utf-8");
|
|
127
|
-
});
|
|
27
|
+
```bash
|
|
28
|
+
npm install raza-fca-pkg@latest
|
|
128
29
|
```
|
|
129
30
|
|
|
130
|
-
|
|
131
|
-
#### `api.listenMqtt(callback)`
|
|
31
|
+
---
|
|
132
32
|
|
|
133
|
-
|
|
33
|
+
### 🛠 Usage
|
|
134
34
|
|
|
135
|
-
**Example (Echo Bot with Stop Command)**:
|
|
136
35
|
```javascript
|
|
137
|
-
const
|
|
138
|
-
const wiegine = require("ikashif-fca");
|
|
139
|
-
|
|
140
|
-
wiegine.login(fs.readFileSync("cookie.txt", "utf8"), (err, api) => {
|
|
141
|
-
if (err) return console.error(err);
|
|
142
|
-
api.setOptions({ listenEvents: true });
|
|
36
|
+
const fca = require("raza-fca-pkg");
|
|
143
37
|
|
|
144
|
-
|
|
38
|
+
fca.login('Your Cookie Here', (err, api) => {
|
|
145
39
|
if (err) return console.error(err);
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
40
|
+
api.listenMqtt((err, event) => {
|
|
41
|
+
if (err) return console.error(err);
|
|
42
|
+
api.sendMessage(event.body, event.threadID);
|
|
149
43
|
});
|
|
150
|
-
|
|
151
|
-
switch (event.type) {
|
|
152
|
-
case "message":
|
|
153
|
-
if (event.body === "/stop") {
|
|
154
|
-
api.sendMessage("Goodbye…", event.threadID);
|
|
155
|
-
return stopListening();
|
|
156
|
-
}
|
|
157
|
-
api.sendMessage("TEST BOT: " + event.body, event.threadID);
|
|
158
|
-
break;
|
|
159
|
-
case "event":
|
|
160
|
-
console.log(event);
|
|
161
|
-
break;
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
44
|
});
|
|
165
45
|
```
|
|
166
46
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
**Q: How do I handle Promise rejection errors?**
|
|
170
|
-
Add this code to your `index.js` to log unhandled rejections:
|
|
171
|
-
|
|
172
|
-
```javascript
|
|
173
|
-
process.on("unhandledRejection", (reason, promise) => {
|
|
174
|
-
console.error("Unhandled Rejection at:", promise, "reason:", reason);
|
|
175
|
-
});
|
|
176
|
-
```
|
|
47
|
+
---
|
|
177
48
|
|
|
178
|
-
|
|
179
|
-
Tutorial [here](https://appstate-tutorial-ws3.pages.dev) or use a cookie editor extension on browsers like Firefox, Kiwi, Edge, or Chrome. Provided tutorial is recommended.
|
|
49
|
+
### 📞 Support & Community
|
|
180
50
|
|
|
181
|
-
|
|
182
|
-
|
|
51
|
+
<a href="https://www.facebook.com/100004370672067">
|
|
52
|
+
<img src="https://img.shields.io/badge/Facebook-1877F2?style=for-the-badge&logo=facebook&logoColor=white" alt="Facebook Support">
|
|
53
|
+
</a>
|
|
54
|
+
<a href="https://www.facebook.com/groups/coders.dev">
|
|
55
|
+
<img src="https://img.shields.io/badge/Community-Group-green?style=for-the-badge&logo=facebook&logoColor=white" alt="Community">
|
|
56
|
+
</a>
|
|
183
57
|
|
|
184
|
-
|
|
58
|
+
---
|
|
185
59
|
|
|
186
|
-
|
|
187
|
-
- **[Miraiv3]((https://github.com/nobita136/Raza-bot-v2))**: Simple Facebook Messenger bot by CatalizCS and SpermLord.
|
|
188
|
-
- **[hut-chat-api](https://github.com/jonellcc/hut-chat-api)**: Based on FCA by Jonell.
|
|
60
|
+
<p align="center">Developed with ❤️ by <b>KASHIF RAZA</b></p>
|
|
189
61
|
|
|
190
|
-
|
|
191
|
-
- [Messer](https://github.com/mjkaufer/Messer)
|
|
192
|
-
- [messen](https://github.com/tomquirk/messen)
|
|
193
|
-
- [Concierge](https://github.com/concierge/Concierge)
|
|
194
|
-
- [Marc Zuckerbot](https://github.com/bsansouci/marc-zuckerbot)
|
|
195
|
-
- [Marc Thuckerbot](https://github.com/bsansouci/lisp-bot)
|
|
196
|
-
- And more (see the original README for the full list).
|
|
197
|
-
|
|
198
|
-
## 📞 Support
|
|
199
|
-
|
|
200
|
-
For issues or questions, contact the developer [here](https://www.facebook.com/100004370672067) or join the [ChatBot Community](https://www.facebook.com/groups/coders.dev).
|
|
201
|
-
|
|
202
|
-
## 📝 License
|
|
203
|
-
|
|
204
|
-
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
|
|
62
|
+
</div>
|
package/package.json
CHANGED