Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mrepol742 authored Oct 13, 2024
0 parents commit 73261db
Show file tree
Hide file tree
Showing 533 changed files with 335,698 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# debug flag
DEBUG=false

# apikeys
FACEBOOK=6628568379%7Cc1e620fa708a1d5696fb991c1bde5662
# this is global openai key owners can set their own respective keys if they want to
OpenAI=

# Server
PORT=8080
ENABLE_LOG_ROUTE=false

ROOT=100071743848974

# Test the bot in only 1 thread
#LOCK_THREAD_ID=

AUTO_PULL_UPDATE=true
SET_PULL_ORIGIN=false
DELETE_CACHE_ON_START=true
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest"
},
"rules": {
"no-unused-vars": "off",
"no-undef": "off",
"no-case-declarations": "off"
}
}
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github: mrepol742
patreon: melvinjonesrepol
ko_fi: mrepol742
custom: ['https://www.buymeacoffee.com/mrepol742','https://paypal.me/mrepol742']
24 changes: 24 additions & 0 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Project Orion CI

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: NPM install
run: npm i --include=dev
- name: Eslint
run: npm run eslint ./

11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/node_modules/*
/cache/*
/data/cookies/*
/build/*
/log/*
/data/*
/src/.cmd/*
.env
.env.backup
.env.production
package-lock.json
20 changes: 20 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"arrowParens": "always",
"bracketSameLine": true,
"bracketSpacing": true,
"embeddedLanguageFormatting": "auto",
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxSingleQuote": false,
"printWidth": 300,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleAttributePerLine": false,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "es5",
"useTabs": false,
"vueIndentScriptAndStyle": false
}
Loading

0 comments on commit 73261db

Please sign in to comment.