{"id":31570381,"url":"https://github.com/hyperdrift-io/hyper-post","last_synced_at":"2026-05-03T01:36:38.882Z","repository":{"id":318061307,"uuid":"1069900353","full_name":"hyperdrift-io/hyper-post","owner":"hyperdrift-io","description":"A unified social media posting tool for underground platforms - publish to multiple social networks in one go","archived":false,"fork":false,"pushed_at":"2026-04-10T01:21:52.000Z","size":56062,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-03T01:36:18.520Z","etag":null,"topics":["automation","bluesky","cli","cross-posting","discord","mastodon","reddit","social-media","social-networking","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperdrift-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-10-04T21:02:45.000Z","updated_at":"2026-04-10T01:21:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"28cf68fa-8577-474a-b7be-303df5781d4a","html_url":"https://github.com/hyperdrift-io/hyper-post","commit_stats":null,"previous_names":["hyperdrift-io/hyper-post"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hyperdrift-io/hyper-post","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdrift-io%2Fhyper-post","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdrift-io%2Fhyper-post/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdrift-io%2Fhyper-post/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdrift-io%2Fhyper-post/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperdrift-io","download_url":"https://codeload.github.com/hyperdrift-io/hyper-post/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperdrift-io%2Fhyper-post/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32555839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T00:31:16.350Z","status":"ssl_error","status_checked_at":"2026-05-03T00:31:15.546Z","response_time":132,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","bluesky","cli","cross-posting","discord","mastodon","reddit","social-media","social-networking","typescript"],"created_at":"2025-10-05T12:22:11.696Z","updated_at":"2026-05-03T01:36:38.876Z","avatar_url":"https://github.com/hyperdrift-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HyperPost\n\n\u003e ✦ A unified social media posting tool for underground platforms — publish to multiple social networks in one go.\n\n---\n\n## Overview\n\nHyperPost is a command-line tool that lets you publish content to multiple social media platforms simultaneously. Built for the forgotten edge — fast, minimal, and resilient. Perfect for developers, content creators, and organizations who want to amplify their reach across alternative social networks.\n\nPart of the **HyperDrift** ecosystem: open-source tools for raw potential and independent exploration.\n\n---\n\n## Features\n\n- 🚀 **Multi-platform posting** - Post to multiple social networks in one command\n- 🔒 **Secure credential management** - Environment-based configuration\n- 📝 **Rich content support** - Titles, URLs, tags, and formatted text\n- 🛠️ **CLI-first design** - Perfect for automation and scripting\n- 🎯 **Underground focus** - Support for alternative social platforms\n- 📊 **Detailed reporting** - Clear success/failure feedback for each platform\n\n### Supported Platforms\n\n| Platform | Status | Notes |\n|----------|--------|-------|\n| Mastodon | ✅ Ready | Federated social network |\n| Bluesky | ✅ Ready | Decentralized social network |\n| Discord | ✅ Ready | Community servers |\n| Reddit | ✅ Ready | Community discussions |\n| HackerNews | 🔄 Planned | Tech community |\n| Dev.to | 🔄 Planned | Developer community |\n| Medium | 🔄 Planned | Publishing platform |\n| Tumblr | 🔄 Planned | Creative community |\n| Pinterest | 🔄 Planned | Visual discovery |\n\n---\n\n## Installation\n\n### Local Development (Recommended for Contributors)\n\nUse pnpm to link the package locally for development:\n\n```bash\n# Navigate to the hyper-post directory\ncd /path/to/hyper-post\n\n# Link the package globally\npnpm link\n\n# In your target project directory\npnpm link hyper-post\n```\n\n### As a global CLI tool\n\n```bash\n# Install globally\npnpm add -g hyper-post\n\n# Or with npm\nnpm install -g hyper-post\n\n# Or with yarn\nyarn global add hyper-post\n```\n\n### As a project dependency\n\n```bash\n# Add to your project\npnpm add hyper-post\n\n# Or with npm\nnpm install hyper-post\n\n# Or with yarn\nyarn add hyper-post\n```\n\n### Local Path Installation\n\nInstall directly from a local directory:\n\n```bash\n# Install from local path\npnpm add file:/path/to/hyper-post\n\n# Or with npm\nnpm install /path/to/hyper-post\n\n# Or with yarn\nyarn add file:/path/to/hyper-post\n```\n\n---\n\n## Quick Start\n\n### Setup (Required - Do This First!)\nUse the guided account creation wizard that helps you create genuine social media accounts with complete profiles:\n\n```bash\n# (Optional) For global installs, customize default template values in ~/.config/hyper-post/config.json\n# The wizard will use these as prefilled defaults\n\n# Run the comprehensive setup wizard\nhyper-post setup\n\n# This will:\n# 1. Set up your database (SQLite recommended, PostgreSQL optional)\n# 2. Create consistent branding templates (saved persistently)\n# 3. Guide you through account creation on each platform\n# 4. Help you set up complete profiles (bio, website, images, etc.)\n# 5. Generate API credentials automatically\n# 6. Save everything securely in your config directory\n\n# Templates persist across sessions - reuse branding on new platforms!\n# Run setup again to add more platforms using existing templates\n\n# Then post to all configured platforms\nhyper-post post -c \"Hello from HyperPost! 🚀\" -t \"My First Post\" -u \"https://hyperdrift.io\"\n\n# Check posting history and analytics\nhyper-post history\nhyper-post history --platform mastodon\nhyper-post analytics\nhyper-post analytics --platform bluesky --days 7\nhyper-post history --clear  # Clear history if needed\n```\n\n## ✨ Features\n\n### 🛡️ **Duplicate Prevention**\nHyperPost automatically prevents duplicate posts to the same platform within a 24-hour window:\n\n- **Content-based hashing**: SHA-256 hash of title + content + URL\n- **Platform-specific tracking**: Different platforms can receive the same content\n- **Time-windowed**: Old posts (24+ hours) are automatically cleaned up\n- **History management**: View, filter, and clear posting history\n\n```bash\n# View all posting history\nhyper-post history\n\n# Filter by platform\nhyper-post history --platform mastodon\n\n# Clear history (allows reposting)\nhyper-post history --clear\n```\n\n### 🗄️ **Database Support**\nHyperPost supports both SQLite (recommended) and PostgreSQL:\n\n**SQLite (Default - No Setup Required):**\n- File-based database (`hyperpost.db`)\n- Zero configuration\n- Perfect for individual users\n- Automatically set up by the setup wizard\n\n**PostgreSQL (Advanced):**\n- Robust multi-user support\n- Better for teams/organizations\n- Requires PostgreSQL server\n- Configurable during setup\n\n```bash\n# Database commands (run after setup)\npnpm db:generate    # Generate Prisma client\npnpm db:push        # Create/update database schema\npnpm db:studio      # View database in browser\npnpm db:migrate     # Create migrations (production)\n```\n\n### ⚙️ **Persistent Configuration**\n- **Prisma ORM**: Type-safe database operations\n- **Post tracking**: Full history with platform-specific URLs\n- **Deduplication**: SHA-256 content hashing with time windows\n- **Analytics**: Platform usage stats and posting patterns\n- **Signup templates**: Reusable account creation templates\n\n### 📊 **Analytics \u0026 Insights**\n```bash\n# View comprehensive analytics\nhyper-post analytics\n\n# Platform-specific analytics\nhyper-post analytics --platform mastodon\n\n# Recent activity (last 7 days)\nhyper-post analytics --days 7\n\n# Full posting history with URLs\nhyper-post history --limit 100\n```\n\n### Advanced: Environment Variable Configuration\n\nFor CI/CD, Docker, or custom setups, you can override stored credentials with environment variables:\n\n```bash\n# Mastodon\nexport MASTODON_INSTANCE=your-instance.social\nexport MASTODON_ACCESS_TOKEN=your_access_token\n\n# Bluesky\nexport BLUESKY_IDENTIFIER=your-handle.bsky.social\nexport BLUESKY_PASSWORD=your_app_password\n\n# Discord\nexport DISCORD_TOKEN=your_bot_token\nexport DISCORD_CHANNEL_ID=your_channel_id\n\n# Then run commands\nhyper-post post -c \"Hello from HyperPost! 🚀\"\n```\n\n**Note**: Environment variables override any stored credentials from the setup wizard.\n\n---\n\n## 🎯 Why HyperPost?\n\nHyperPost stands out from other social media automation tools:\n\n### ✨ **Genuine Account Creation**\n- **Complete profiles** with bios, websites, locations, and images\n- **Consistent branding** across all platforms\n- **Professional appearance** that builds trust and credibility\n- **Guided setup** ensures no steps are missed\n\n### 🔧 **Developer-Friendly**\n- **Modular architecture** - easily add new platforms\n- **TypeScript** with full type safety\n- **Comprehensive error handling** and logging\n- **Environment-based configuration** for security\n\n### 🚀 **Production-Ready**\n- **Generic and publishable** - can be used by anyone\n- **Multi-platform support** - post to all networks simultaneously\n- **Rich content support** - titles, URLs, hashtags, formatting\n- **Rate limiting awareness** and automatic retries\n\n### 💾 **Persistent Data Management**\n- **Signup templates saved** in config directory (`~/.config/hyper-post/` for global installs)\n- **Reuse branding** across multiple platforms\n- **Completed accounts tracked** persistently\n- **Secure credential storage** in config directory\n- **Session continuity** - templates persist across runs\n\n---\n\n## Configuration\n\n### Config File Locations\n\nHyperPost stores all configuration securely in your user directory, regardless of where you run the CLI:\n\n#### User Configuration Directory\nConfiguration is always stored in:\n- **`~/.config/hyper-post/signup-data.json`** - Your account credentials and signup templates\n- **`~/.config/hyper-post/config.json`** - Default template settings\n\nThis ensures consistent behavior whether you install globally or locally, and prevents accidentally committing sensitive credentials to version control.\n\n#### Configuration Priority\n1. **Signup Manager** (persistent account data stored in config directory)\n\n**No .env files needed!** All configuration is handled automatically by the setup wizard.\n\n### Setup Process\n\n**No manual configuration needed!** Use the interactive setup wizard:\n\n```bash\n# Run the setup wizard - it handles everything automatically\nhyper-post setup\n```\n\nThe setup wizard will:\n- Guide you through account creation on each platform\n- Generate API credentials automatically\n- Store everything securely in your config directory\n- Create consistent branding templates across platforms\n\n### Getting Platform Credentials\n\n#### Mastodon\n1. Go to your Mastodon instance → Preferences → Development\n2. Create a new application\n3. Copy the access token (the setup wizard will guide you through this)\n\n#### Bluesky\n1. Go to [bsky.app](https://bsky.app) → Settings → Privacy and security → App passwords\n2. Create a new app password\n3. Use your full handle (with .bsky.social) as identifier\n\n#### Reddit\n1. Go to [Reddit Apps](https://www.reddit.com/prefs/apps)\n2. Click \"Create App\" or \"Create Another App\"\n3. **Type**: `script`\n4. **Name**: `HyperPost`\n5. **Description**: `Multi-platform social media posting`\n6. **About URL**: Leave blank\n7. **Redirect URI**: `http://localhost:8080`\n8. Click \"Create app\"\n9. Copy the **client_id** (under the app name)\n10. Copy the **secret** (labeled \"secret\")\n\n#### Discord\n1. Go to [Discord Developer Portal](https://discord.com/developers/applications)\n2. Create a new application → Bot\n3. Copy the bot token\n4. Get your channel ID by enabling Developer Mode in Discord and right-clicking the channel\n\n---\n\n## Usage\n\n### CLI Commands\n\n```bash\n# Show help\nhyper-post --help\n\n# Post to all platforms\nhyper-post post -c \"Your content here\"\n\n# Post with title and URL\nhyper-post post -c \"Article content\" -t \"Article Title\" -u \"https://example.com\"\n\n# Post with tags\nhyper-post post -c \"Content\" --tags \"tech,opensource,web3\"\n\n# List configured platforms\nhyper-post platforms\n\n# Post to specific platforms only\nhyper-post post -c \"Content\" -p \"mastodon,bluesky,reddit\"\n```\n\n### Programmatic Usage\n\n```typescript\nimport { HyperPost, SocialPost, SignupManager } from 'hyper-post';\n\n// Load credentials from signup manager\nconst signupManager = new SignupManager();\nconst credentials = signupManager.getAllCompletedAccounts();\n\nconst hyperPost = new HyperPost(credentials);\n\nconst post: SocialPost = {\n  content: \"Hello from HyperPost!\",\n  title: \"My First Post\",\n  url: \"https://hyperdrift.io\",\n  tags: [\"tech\", \"opensource\"]\n};\n\n// Post to all platforms\nconst result = await hyperPost.postToAll(post);\nconsole.log(`Posted successfully to ${result.successful} platforms`);\n\n// Post to specific platforms\nconst specificResult = await hyperPost.postToPlatforms(['mastodon'], post);\n```\n\n---\n\n## Project Status\n\nMVP / Actively maintained / Beta\n\n---\n\n## Contributing\n\nContributions are welcome. Feel free to open an issue, suggest improvements, or submit a pull request. Together we sharpen the edge.\n\n### Development Setup\n\n```bash\n# Clone the repository\ngit clone https://github.com/hyperdrift-io/hyper-post.git\ncd hyper-post\n\n# Install dependencies (always use pnpm)\npnpm install\n\n# Start development\npnpm dev\n\n# Build for production\npnpm build\n\n# Run tests\npnpm test\n\n# Link for local development\npnpm link\n```\n\n---\n\n## API Reference\n\n### Classes\n\n#### `HyperPost`\n\nMain class for managing multi-platform posting.\n\n**Methods:**\n- `postToAll(content: SocialPost): Promise\u003cMultiPlatformResult\u003e`\n- `postToPlatforms(platforms: SupportedPlatforms[], content: SocialPost): Promise\u003cMultiPlatformResult\u003e`\n- `postToPlatform(platform: SupportedPlatforms, content: SocialPost): Promise\u003cPostingResult\u003e`\n- `getConfiguredPlatforms(): string[]`\n- `isPlatformConfigured(platform: SupportedPlatforms): boolean`\n\n### Types\n\n```typescript\ninterface SocialPost {\n  content: string;\n  title?: string;\n  url?: string;\n  imageUrl?: string;\n  tags?: string[];\n}\n\ninterface PostingResult {\n  platform: string;\n  success: boolean;\n  postId?: string;\n  url?: string;\n  error?: string;\n}\n\ninterface MultiPlatformResult {\n  results: PostingResult[];\n  successful: number;\n  failed: number;\n}\n```\n\n---\n\n## License\n\nMIT License © [HyperDrift]\n\n---\n\n\u003e ✦ _Open-source tools for the forgotten edge._\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperdrift-io%2Fhyper-post","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperdrift-io%2Fhyper-post","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperdrift-io%2Fhyper-post/lists"}