{"id":26058805,"url":"https://github.com/kayroye/jyne","last_synced_at":"2026-04-29T12:38:39.028Z","repository":{"id":281059648,"uuid":"944094119","full_name":"kayroye/JYNE","owner":"kayroye","description":"Just Your Neighbourhood Executable - A versatile Discord bot built with Discord.js that could do almost anything.","archived":false,"fork":false,"pushed_at":"2025-03-06T19:25:54.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T19:32:17.260Z","etag":null,"topics":["bot","discordjs","gpt-3","nltk","stable-diffusion"],"latest_commit_sha":null,"homepage":"","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/kayroye.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-06T19:20:41.000Z","updated_at":"2025-03-06T19:25:57.000Z","dependencies_parsed_at":"2025-03-06T19:42:36.076Z","dependency_job_id":null,"html_url":"https://github.com/kayroye/JYNE","commit_stats":null,"previous_names":["kayroye/jyne"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayroye%2FJYNE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayroye%2FJYNE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayroye%2FJYNE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kayroye%2FJYNE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kayroye","download_url":"https://codeload.github.com/kayroye/JYNE/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242552818,"owners_count":20148252,"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":["bot","discordjs","gpt-3","nltk","stable-diffusion"],"created_at":"2025-03-08T12:32:10.370Z","updated_at":"2026-04-29T12:38:38.981Z","avatar_url":"https://github.com/kayroye.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"docs/monitor.png\" alt=\"JYNE Bot\" width=\"400\"/\u003e\n\n# J.Y.N.E\n### Just Your Neighbourhood Executable\n\nA versatile Discord bot built with Discord.js that offers a wide range of features including music playback, currency system, games, moderation tools, and AI-powered conversations. JYNE was designed to be your all-in-one Discord companion.\n\n![GitHub stars](https://img.shields.io/github/stars/kayroye/JYNE)\n![GitHub issues](https://img.shields.io/github/issues/kayroye/JYNE)\n![GitHub license](https://img.shields.io/github/license/kayroye/JYNE)\n\n\u003c/div\u003e\n\n## ✨ Features\n\n\u003cdetails\u003e\n\u003csummary\u003e🎵 Music System\u003c/summary\u003e\n\n- Play music from YouTube and other sources\n- Queue management with skip, pause, and resume functionality\n- Real-time notifications for track changes\n- Automatic disconnection when voice channel is empty\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e💰 Currency System\u003c/summary\u003e\n\n- Virtual currency called \"Elysium\"\n- Daily and weekly rewards for active users\n- Balance checking and transfer between users\n- Currency integration with games and activities\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e🎮 Games \u0026 Entertainment\u003c/summary\u003e\n\n- Blackjack with betting system\n- Hangman with various categories\n- Guess the Number (GTN) with difficulty levels\n- 8-ball fortune telling\n- Coin flip and other mini-games\n- Leaderboards to track high scores\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e🤖 AI Integration\u003c/summary\u003e\n\n- GPT-3.5 Turbo powered conversations\n- Thread-based chat system for extended interactions\n- Text summarization using NLP techniques\n- Personalized AI responses based on user settings\n- Image generation using Stable Diffusion\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e🔍 Search \u0026 Information\u003c/summary\u003e\n\n- Web search functionality\n- YouTube video search\n- Image search capabilities\n- Cryptocurrency market information\n- Chess.com player statistics\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e👮 Moderation Tools\u003c/summary\u003e\n\n- User management\n- Strike system for rule violations\n- Server configuration options\n- Customizable user settings\n\u003c/details\u003e\n\n## 🛠️ Tech Stack\n\n- **Core**: Discord.js v14, Node.js\n- **Database**: MongoDB with Mongoose\n- **AI Integration**: OpenAI API (GPT-3.5 Turbo), Stable Diffusion (A1111)\n- **Music Playback**: discord-player, @discordjs/voice\n- **External APIs**: Twitter API, Chess.com API, CoinMarketCap, Google Translate\n- **NLP \u0026 ML**: Python with NLTK, NetworkX for text summarization\n\n## 🚀 Key Commands\n\n### Music\n- `/music play` - Play a song from YouTube\n- `/music skip` - Skip the current song\n- `/music queue` - View the current queue\n- `/music stop` - Stop playback and clear the queue\n\n### Currency\n- `/daily` - Claim your daily Elysium reward\n- `/weekly` - Claim your weekly Elysium reward\n- `/balance` - Check your Elysium balance\n- `/pay` - Transfer Elysium to another user\n\n### Games\n- `/blackjack` - Play blackjack with betting\n- `/hangman` - Play a game of hangman\n- `/gtn` - Play Guess the Number with various difficulties\n- `/8ball` - Ask the magic 8-ball a question\n- `/coinflip` - Flip a coin\n\n### AI \u0026 Search\n- `/chat` - Start a conversation with JYNE powered by GPT-3.5\n- `/dream` - Generate images using Stable Diffusion\n- `/search web` - Search the web for information\n- `/search youtube` - Search for YouTube videos\n- `/search images` - Search for images\n\n## 💻 Machine Learning Features\n\nJYNE includes a text summarization system built with Python and NLTK. The summarizer uses:\n\n- Natural Language Processing techniques\n- Cosine similarity to measure sentence relationships\n- PageRank algorithm to identify key sentences\n- Vector space models for text representation\n\nThe summarizer can condense large texts into concise summaries while preserving the most important information.\n\n### Image Generation with `/dream`\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"docs/dream-loading.gif\" alt=\"JYNE Dream Loading\" width=\"200\"/\u003e\n\u003c/div\u003e\n\nJYNE features a powerful AI image generation system powered by Stable Diffusion running locally:\n\n- **Multiple Models**: Choose from different Stable Diffusion models:\n  - Main (SD v1.5 Enhanced with mdjrny-v4 style)\n  - Realistic Vision (optimized for people and animals)\n  - Fantasy/RPG (DreamShaper model for fantasy scenes)\n  - Classic SD v1.5\n\n- **Customization Options**:\n  - Aspect ratio selection (1:1, 2:3, 3:2)\n  - Custom negative prompts for better results\n  - Sampler selection (DPM Solver, DPM++ 2M, LMS, Euler Ancestral)\n  - Face correction for better human faces\n  - Upscaling options (Regular or Anime-optimized)\n  - Custom seed values for reproducible results\n  - Adjustable inference steps (20-30 recommended)\n\n- **Real-time Progress Updates**:\n  - Live percentage updates during generation\n  - Custom loading animations\n  - Color-coded status indicators\n\n- **Content Safety**:\n  - Built-in content filtering system\n  - Strike system for inappropriate prompt attempts\n  - Automatic prompt analysis for prohibited content\n\n- **Gallery System**:\n  - All generated images saved to user profiles\n  - Browse through previous creations\n  - View detailed metadata (prompt, seed, date, model used)\n\nThe system connects to a locally hosted Stable Diffusion API (running on port 9090) and saves generated images to the bot's file system, with references stored in MongoDB.\n\n## 🗃️ Database Structure\n\nJYNE uses MongoDB to store user data, including:\n\n- User profiles with currency balances\n- Game statistics and high scores\n- Achievement tracking\n- User preferences and settings\n- Command usage history\n- Guild-specific configurations\n- AI-generated image metadata and references\n\n## 🔄 Development Timeline\n\n- **2022**: Initial development and core features\n- **2023**: Advanced features, AI integration, and refinements\n- The bot was built using an older version of Discord.js and may require updates to work with the current Discord API\n\n## 🙏 Acknowledgments\n\n- [Discord.js](https://discord.js.org/) for the Discord API wrapper\n- [OpenAI](https://openai.com/) for the GPT-3.5 Turbo API\n- [Stable Diffusion](https://stability.ai/stable-diffusion) for image generation capabilities\n- [AUTOMATIC1111](https://github.com/AUTOMATIC1111/stable-diffusion-webui) for the Stable Diffusion WebUI\n- [MongoDB](https://www.mongodb.com/) for the database\n- [NLTK](https://www.nltk.org/) for natural language processing capabilities\n\n---\n\n*Note: This bot was developed as a personal project and is no longer actively maintained. The code is provided as-is for educational purposes.*\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayroye%2Fjyne","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkayroye%2Fjyne","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayroye%2Fjyne/lists"}