Autonomous content monetization agent for The Synthesis hackathon, targeting the Markee GitHub Integration track ($800 total — Top Views & Top Monetization prizes).
Markee integrates GitHub with onchain monetization. This agent automates the full pipeline: analyze repos → generate compelling content → create Markee messages → integrate with repos → monitor views and funding.
- MarkeeClient — Full Markee API integration (mocks when
MARKEE_API_KEYis unset) - ContentStrategy — Autonomous content analysis and optimization
- MarkeeAgent — End-to-end pipeline for single or multi-repo campaigns
npm installCreate a .env file (optional — runs in mock mode without):
MARKEE_API_KEY=your_markee_api_key
GITHUB_TOKEN=your_github_token # For real repo analysisnpm run demoimport { MarkeeAgent } from "./src/agent.js";
const agent = new MarkeeAgent();
// Single repo: analyze + create + integrate
const result = await agent.analyzeAndCreate("https://github.com/owner/repo", true);
// Multi-repo campaign
const results = await agent.runCampaign([
"https://github.com/owner/repo1",
"https://github.com/owner/repo2",
], false);
// Monitor performance
const snapshot = await agent.monitorPerformance(result.messageId);import { MarkeeClient } from "./src/markee.js";
const client = new MarkeeClient();
const msg = await client.createMessage("Fund this project!", "https://github.com/owner/repo");
await client.integrateWithRepo("https://github.com/owner/repo", msg.messageId);
const views = await client.getViews(msg.messageId);
const funding = await client.getFunding(msg.messageId);
await client.addFunding(msg.messageId, "1000000000000000000", false);13-markee-agent/
├── src/
│ ├── markee.ts # MarkeeClient — API integration
│ ├── content-strategy.ts # ContentStrategy — analysis & optimization
│ └── agent.ts # MarkeeAgent — full pipeline
├── scripts/
│ └── demo.ts # Demo script
├── package.json
├── tsconfig.json
└── README.md
- Top Views — Content strategy optimizes for engagement and view count
- Top Monetization — Suggests funding tiers and tracks onchain contributions
MIT