Spaces:
Running
Running
File size: 1,590 Bytes
3a6714e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | 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();
|