{"id":18563441,"url":"https://github.com/reddiedev/dtsv14-jolts","last_synced_at":"2025-07-09T04:34:48.174Z","repository":{"id":240767888,"uuid":"803331049","full_name":"reddiedev/dtsv14-jolts","owner":"reddiedev","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-02T19:00:59.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T18:13:23.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reddiedev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-20T14:17:00.000Z","updated_at":"2024-08-02T19:01:03.000Z","dependencies_parsed_at":"2024-05-20T20:36:51.927Z","dependency_job_id":"fc3172d2-c351-4768-93df-7e6ea0e5ac89","html_url":"https://github.com/reddiedev/dtsv14-jolts","commit_stats":null,"previous_names":["reddiedev/dtsv14-jolts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reddiedev/dtsv14-jolts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddiedev%2Fdtsv14-jolts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddiedev%2Fdtsv14-jolts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddiedev%2Fdtsv14-jolts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddiedev%2Fdtsv14-jolts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reddiedev","download_url":"https://codeload.github.com/reddiedev/dtsv14-jolts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddiedev%2Fdtsv14-jolts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264394845,"owners_count":23601370,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T22:12:41.197Z","updated_at":"2025-07-09T04:34:48.159Z","avatar_url":"https://github.com/reddiedev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jolts Bot\nA custom economy bot with anti-inflation commands\n\n## Requirements\n\n### Technical Knowledge\n\nIn order to work with this bot, one needs sufficient knowledge in Javascript/ Typescript, NodeJS, Discord.js, PostgreSQL, Prisma, NPM/PNPM\n\n### Environment\n\n- Recommended: Ubuntu 20.04 LTS VPS\n- Install Node.js v18 via NVM\n- Install PM2 via PNPM\n- Deploy PostgreSQL instance\n- Clone this repository\n\n### Database\n\n1. Deploy a PostgreSQL instance\n\n-   Use your desired postgresl hosting platform. I prefer [Railway](https://railway.app?referralCode=reddiedev) and [Digital Ocean](https://m.do.co/c/7662940d8539)\n\n2. Save `DATABASE_URL` in the `.env`\n\n## Setup\n\n0. Install project dependencies:\n\n```bash\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | bash\nnvm install 18 \u0026\u0026 nvm use 18\nnpm install -g pnpm\npnpm setup\npnpm add -g pm2\n```\n\n1. Clone this repo on your desired working directory\n```bash\ngit clone https://github.com/reddiedev/dtsv14-jolts.git\n```\n2. Update the `src/config.ts` file and `.env` file with your project variables and configurations\n3. Install project dependencies `pnpm install`\n\n```bash\npnpm install\n```\n\n4. Ensure that the PostgreSQL database is running and available `pnpm run db:studio`\n\n```bash\npnpm run db:studio\n```\n\n5. Run `pnpm run dev` to test and ensure that the bot works well\n\n```bash\npnpm run dev\n```\n\n6. Once testing is done, run bot via docker command\n\n```bash\npnpm run serve\npnpm run restart\n```\n\n## Docker Deployment\n0. Install [Docker](https://docs.docker.com/desktop/) on your Local Machine\n1. Deploy PostgreSQL Instance using Docker\n\n```bash\ndocker network create jolts\ndocker run --name jolts-db --network=jolts -e POSTGRES_PASSWORD=\u003cPOSTGRES_PASSWORD\u003e -d -p 5432:5432 postgres // update \u003cPOSTGRES_PASSWORD\u003e\ndocker network inspect jolts // get ip address of container \u003cPOSTGRES_IP\u003e\n```\n\n2. Take note of the new `DATABASE_URL` based on the ip address of the container and append it to `.env`\n`DATABASE_URL=postgresql://postgres:\u003cPOSTGRES_PASSWORD\u003e@\u003cPOSTGRES_IP\u003e:5432/main`\n\n3. Test the Database connection by running the app from console connected to the \n\n4. Deploy App via Docker \n```bash\ndocker build . --tag bungeenetwork/jolts\ndocker run -d --name jolts --network jolts --env-file ./.env bungeenetwork/jolts\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddiedev%2Fdtsv14-jolts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freddiedev%2Fdtsv14-jolts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddiedev%2Fdtsv14-jolts/lists"}