{"id":13622785,"url":"https://github.com/avatarkava/beavisbot","last_synced_at":"2025-04-15T09:33:58.765Z","repository":{"id":13158198,"uuid":"15840978","full_name":"avatarkava/beavisbot","owner":"avatarkava","description":"A node.js powered bot for plug.dj and dubtrack.fm","archived":false,"fork":false,"pushed_at":"2022-12-12T04:30:20.000Z","size":10010,"stargazers_count":22,"open_issues_count":24,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-08T10:48:11.674Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/avatarkava/beavisbot/wiki","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avatarkava.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-12T11:25:54.000Z","updated_at":"2021-08-01T15:52:44.000Z","dependencies_parsed_at":"2023-01-11T20:19:54.918Z","dependency_job_id":null,"html_url":"https://github.com/avatarkava/beavisbot","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avatarkava%2Fbeavisbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avatarkava%2Fbeavisbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avatarkava%2Fbeavisbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avatarkava%2Fbeavisbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avatarkava","download_url":"https://codeload.github.com/avatarkava/beavisbot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249043209,"owners_count":21203431,"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-08-01T21:01:24.023Z","updated_at":"2025-04-15T09:33:58.149Z","avatar_url":"https://github.com/avatarkava.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"BeavisBot\n==========\n\nBeavisBot is a heavily-adapted port of the turntable.fm SparkleBot that has migrated from TT.fm to plug.dj to dubtrack.fm.\n\nThis bot uses https://github.com/anjanms/DubAPI as its API dependency and is designed to be run using a node.JS instance.\n\nQuick Installation\n-----------------------\n1. Run `npm install` in the root folder of the checkout\n2. Copy the config.sample.json from /documentation to the root folder and rename it config.json\n3. Edit config.json to suit your needs\n4a. If you are using MySQL, run the documentation/tables.sql file against the database to create all the necessary tables\n4b. If you are using SQLite, copy the supplied sample.sqlite to the root folder and rename it to align with your settings in config.json\n\nKnown issues are located at https://github.com/AvatarKava/beavisbot/issues - please submit any bug reports or feature requests there!\n\nLogging and Log Rotation\n------------------------\n\nFull details are here: https://github.com/Unitech/pm2\n\nStart the process in pm2 with custom log locations:\n```\npm2 start /srv/web/apps/plug.dj/BeavisBot/bot.js --name beavisbot -o /var/log/node/beavisbot.log -e /var/log/node/beavisbot.err --log-date-format 'YYYY-MM-DD HH:mm:ss'\n```\nSet pm2 to automatically run on startup\n```\npm2 startup \u003cubuntu|centos|gentoo|systemd\u003e\n```\nSave the processes running so they get restored any time pm2 is started\n```\npm2 save\n```\n\nthen in /etc/logrotate.d, create a file (name it whatever you like, \"node\" works well here) and use\nthis or something along these lines as the contents:\n```\n/var/log/node/* {\n    daily\n    rotate 30\n    missingok\n    notifempty\n    sharedscripts\n    copytruncate\n    compress\n    delaycompress\n    dateext\n}\n```\nThis will do a daily rotation of the logs and save the last 30 days.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favatarkava%2Fbeavisbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favatarkava%2Fbeavisbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favatarkava%2Fbeavisbot/lists"}