{"id":50916723,"url":"https://github.com/matheusrf96/engagedin","last_synced_at":"2026-06-16T16:01:51.098Z","repository":{"id":363447126,"uuid":"1263390341","full_name":"matheusrf96/engagedin","owner":"matheusrf96","description":"AI-powered LinkedIn content generator. Write and publish LinkedIn posts using any LLM with a configurable ruleset.","archived":false,"fork":false,"pushed_at":"2026-06-09T00:20:02.000Z","size":151,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-09T01:21:48.126Z","etag":null,"topics":["ai","cli","linkedin-api","linkedin-content","litellm","llm","oauth2","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matheusrf96.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":null,"dco":null,"cla":null}},"created_at":"2026-06-08T23:04:23.000Z","updated_at":"2026-06-09T00:20:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/matheusrf96/engagedin","commit_stats":null,"previous_names":["matheusrf96/engagedin"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/matheusrf96/engagedin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusrf96%2Fengagedin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusrf96%2Fengagedin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusrf96%2Fengagedin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusrf96%2Fengagedin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matheusrf96","download_url":"https://codeload.github.com/matheusrf96/engagedin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matheusrf96%2Fengagedin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34412795,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-16T02:00:06.860Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ai","cli","linkedin-api","linkedin-content","litellm","llm","oauth2","python"],"created_at":"2026-06-16T16:01:49.094Z","updated_at":"2026-06-16T16:01:51.093Z","avatar_url":"https://github.com/matheusrf96.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# engagedin\n\nAI-powered LinkedIn content generator. Write and publish LinkedIn posts using an LLM of your choice, with a configurable ruleset for tone, length, hashtags, and structure.\n\n## Features\n\n- **AI post generation** — provider-agnostic (DeepSeek, OpenAI, Anthropic, etc.) via LiteLLM\n- **Direct LinkedIn publishing** — uses the official LinkedIn REST API (`POST /rest/posts`)\n- **Configurable ruleset** — YAML-based rules defining tone, length, hashtags, schedule, and post templates\n- **OAuth 2.0 authentication** — built-in auth flow via `engagedin auth login`\n- **Preview before posting** — review drafts, confirm, or cancel\n- **Secrets safe** — all credentials go in `.env`, never in code\n\n## Installation\n\n```bash\n# Requirements: Python 3.12+\npip install poetry\ngit clone \u003crepo-url\u003e\ncd engagedin\npoetry install\n```\n\n## Configuration\n\nCopy the template and fill in your credentials:\n\n```bash\ncp .env.example .env\n```\n\nRequired variables in `.env`:\n\n| Variable | Description |\n|---|---|\n| `LINKEDIN_CLIENT_ID` | LinkedIn App client ID |\n| `LINKEDIN_CLIENT_SECRET` | LinkedIn App client secret |\n| `LINKEDIN_ACCESS_TOKEN` | OAuth 2.0 access token (or run `auth login`) |\n| `LINKEDIN_USER_URN` | Your LinkedIn URN (e.g. `urn:li:person:abc123`) |\n| `LLM_PROVIDER` | LLM provider name (`deepseek`, `openai`, `anthropic`, etc.) |\n| `LLM_API_KEY` | API key for the LLM provider |\n| `LLM_MODEL` | Model name (e.g. `deepseek-chat`, `gpt-4o`) |\n\n### Quick auth setup\n\n```bash\nengagedin auth login\n# Opens browser → authorizes → saves token to .env\n```\n\n## Usage\n\n```bash\n# Generate a draft and preview it\nengagedin draft \"Why Python is great for automation\"\n\n# Generate, preview, confirm, and publish\nengagedin post \"Remote work trends in 2025\"\n\n# Skip confirmation with --yes\nengagedin post \"AI in business\" --yes\n\n# Use a custom ruleset\nengagedin post \"Topic\" --rules my-rules.yaml\n\n# Check authentication\nengagedin auth status\n\n# View current ruleset\nengagedin rules show\n\n# View configuration (secrets masked)\nengagedin config show\n```\n\n## Ruleset\n\nThe default ruleset lives at `engagedin/rules/defaults.yaml`. You can override any field with a custom YAML file:\n\n```yaml\ntone: educational\nmin_length: 200\nmax_length: 2000\nhashtags:\n  count: 5\n  style: camelcase\nschedule:\n  best_times: [\"7-9\", \"12-13\"]\n  cooldown_hours: 6\ntemplates:\n  hooks: [question, statistic, story]\n  outros: [cta_question, reflection]\n```\n\n## Project Structure\n\n```\nengagedin/\n├── engagedin/\n│   ├── cli/main.py        # Click CLI (6 commands)\n│   ├── core/\n│   │   ├── config.py      # pydantic-settings\n│   │   ├── engine.py      # Orchestrator\n│   │   └── models.py      # Pydantic models\n│   ├── linkedin/\n│   │   ├── auth.py        # OAuth 2.0 flow + callback handler\n│   │   └── client.py      # httpx API client\n│   ├── llm/\n│   │   ├── client.py      # LiteLLM wrapper\n│   │   └── prompts.py     # Prompt templates\n│   └── rules/\n│       ├── loader.py      # YAML rules loader\n│       └── defaults.yaml  # Default ruleset\n├── tests/                 # 55 tests, 100% coverage\n├── .env.example\n└── pyproject.toml\n```\n\n## Development\n\n```bash\npoetry install --with dev\npoetry run pytest --cov=engagedin\npoetry run ruff check .\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheusrf96%2Fengagedin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatheusrf96%2Fengagedin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatheusrf96%2Fengagedin/lists"}