vinos-engine / send_instructions.js
VinOS Agent
Initial baseline commit
3a6714e
const apiCaller = require('./skills/api_caller');
require('dotenv').config();
const sendInstructions = async () => {
const chatId = process.env.TELEGRAM_CHAT_ID;
const instructions = `
<b>Welcome to VinOS!</b> 🎯
You are now in command of the <b>Strategy Lab</b>. Here is how to use your new skills:
1. <b>Token Gashapon</b> 🎑
Open the dashboard at <code>http://localhost:3000</code>. Describe an idea (e.g., "Cyberpunk NFT Card") and click Generate. It uses the <b>Nano Banana</b> logic via OpenRouter.
2. <b>Daily Pulse (Market Scanner)</b> πŸ“Š
Click "Run Market Scan" in the Strategy Lab. This uses <b>OpenRouter (Gemini)</b> to analyze the Indonesian market for arbitrage opportunities and sends the report right here!
3. <b>Offer Architect</b> πŸ’‘
Enter a niche topic (e.g., "AI Presentation Masterclass") and click "Craft Offer". This uses <b>Groq</b> or <b>OpenRouter</b> to design a beta offer and draft a payment link.
4. <b>Cost Efficiency</b> πŸ’°
The system is currently configured to use <b>FREE models</b> on OpenRouter for all your testing. You can switch to "Live" models in your <code>.env</code> once you are ready for production.
<i>Ready to start your first launch? Click a button on the dashboard!</i>
`;
console.log("Sending instructions to Telegram...");
const result = await apiCaller.sendTelegramMessage(chatId, instructions);
if (result.success) {
console.log("Instructions sent successfully.");
} else {
console.error("Failed to send instructions:", result.error);
}
};
sendInstructions();