-
Notifications
You must be signed in to change notification settings - Fork 0
Description
@LastResortFriend posted on discord here some key info for implementation and reimagining of Artemis so that we can host our own version.
Tech Stack for Artemis:
Discord Bot Framework: Seyfert
Runtime: Bun
Database: Prisma (v2) and SQLite (v1 compatibility)
Frontend: Svelte with TailwindCSS
Language: TypeScript, Python3
The bot is separated into 2 components so we can use a single container or a multi-container.
The package.json files should say all the dependencies:
Bot package.json:
{
"name": "artemis-v2",
"module": "index.ts",
"type": "module",
"devDependencies": {
"@types/bun": "latest"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"@catppuccin/tailwindcss": "^0.1.6",
"@paralleldrive/cuid2": "^2.2.2",
"@prisma/client": "^5.20.0",
"@sveltejs/adapter-node": "^5.2.9",
"@tailwindcss/typography": "^0.5.15",
"colors": "^1.4.0",
"crypto": "^1.0.1",
"dayjs": "^1.11.13",
"ipaddr.js": "^2.2.0",
"prisma": "^5.20.0",
"seyfert": "^2.1.0",
"svg-embed": "^1.0.6"
}
}
Web Service package.json:
{
"name": "web",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"format": "prettier --write .",
"lint": "prettier --check . && eslint ."
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@tailwindcss/typography": "^0.5.15",
"@types/eslint": "^9.6.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.7.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
"globals": "^15.0.0",
"prettier": "^3.3.2",
"prettier-plugin-svelte": "^3.2.6",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"tailwindcss": "^3.4.9",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0",
"vite": "^5.0.3"
},
"dependencies": {
"@catppuccin/tailwindcss": "^0.1.6",
"@sveltejs/adapter-node": "^5.2.9",
"@types/cidr-matcher": "^2.1.2",
"cidr-matcher": "^2.1.1",
"ip-range-check": "^0.2.0"
}
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status