Add neural network page posting functionality #177
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🧠 Neural Network Page Posting Feature
This PR implements the functionality requested in issue #45 to enable posting content to VK communities focused on neural networks, AI, and language models.
📋 Issue Reference
Fixes #45
✨ Implementation Details
New Features:
neural-network-communities.jsonFiles Added:
triggers/neural-network-page-posts.js- Main posting trigger implementationneural-network-communities.json- Community configuration fileNEURAL_NETWORK_POSTING.md- Complete feature documentation__tests__/triggers/neural-network-page-posts.test.js- Unit testsModified Files:
index.js- Added neural network posting trigger to main bot loop🚀 How to Use
neural-network-communities.jsonto add VK community IDs{ "communities": [ { "id": 123456789, "name": "AI Community", "description": "Community about artificial intelligence", "enabled": true } ] }Find Community IDs: Look at VK URLs like
vk.com/club123456789orvk.com/public123456789Bot Permissions: Ensure the bot has posting permissions in target communities
📝 Post Content Examples
The bot randomly selects from AI/ML-focused messages:
DeepGPTBot)🧪 Testing
All functionality is covered by unit tests:
npm test __tests__/triggers/neural-network-page-posts.test.js🔧 Technical Implementation
📚 Documentation
See
NEURAL_NETWORK_POSTING.mdfor complete usage instructions and configuration details.🤖 Generated with Claude Code