upload-post-text-tool / index.html
tonby's picture
Add landing page
1eb2237 verified
Raw History Blame Contribute Delete
1.05 kB
<!doctype html><html><head><meta charset="utf-8"><title>upload_post_text</title>
<style>body{font-family:system-ui,sans-serif;max-width:720px;margin:40px auto;padding:0 16px;line-height:1.5}code,pre{background:#f3f3f3;padding:2px 4px;border-radius:4px}</style></head>
<body><h1>upload_post_text</h1><p>Publish (or schedule) a text-only post on social networks through Upload-Post: X, LinkedIn, Facebook, Threads, Bluesky, Discord, Telegram, Google Business, Slack, Mastodon and more. Returns a dict with the per-platform results, or a job_id when the post is scheduled or queued.</p>
<p>A <a href="https://github.com/huggingface/smolagents">smolagents</a> tool for <a href="https://www.upload-post.com">Upload-Post</a>.</p>
<pre>from smolagents import load_tool
tool = load_tool("upload-post/upload-post-text-tool", trust_remote_code=True)</pre>
<p>Set <code>UPLOAD_POST_API_KEY</code> in your environment. Source: <a href="https://github.com/Upload-Post/upload-post-smolagents">github.com/Upload-Post/upload-post-smolagents</a></p>
</body></html>