{"id":47662195,"url":"https://github.com/subomi/actor_sync","last_synced_at":"2026-04-03T16:01:39.167Z","repository":{"id":56842235,"uuid":"317251158","full_name":"subomi/actor_sync","owner":"subomi","description":"Easily synchronize actor information to CRMs \u0026 third-party systems e.g. Mixpanel, Mailchimp etc.","archived":false,"fork":false,"pushed_at":"2021-06-04T12:09:09.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-03T00:39:26.331Z","etag":null,"topics":["mixpanel","ruby","ruby-on-rails","third-party"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/subomi.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}},"created_at":"2020-11-30T14:36:45.000Z","updated_at":"2022-03-12T10:19:51.000Z","dependencies_parsed_at":"2022-08-29T07:42:14.441Z","dependency_job_id":null,"html_url":"https://github.com/subomi/actor_sync","commit_stats":null,"previous_names":["subomi/actorsync"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/subomi/actor_sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subomi%2Factor_sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subomi%2Factor_sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subomi%2Factor_sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subomi%2Factor_sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subomi","download_url":"https://codeload.github.com/subomi/actor_sync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subomi%2Factor_sync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31362682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T15:19:21.178Z","status":"ssl_error","status_checked_at":"2026-04-03T15:19:20.670Z","response_time":107,"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":["mixpanel","ruby","ruby-on-rails","third-party"],"created_at":"2026-04-02T11:37:47.466Z","updated_at":"2026-04-03T16:01:38.803Z","avatar_url":"https://github.com/subomi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Actor Sync\nAutomatically synchronise actor information to your third party systems e.g. Mixpanel, Sendgrid, Segment etc. I currently use this in production on [Frain](https://frain.dev). \n\n## Getting Started\n`config/initializers/actor_sync.rb`\n\n```ruby\nActorSync.configure do |config|\n   config.sync = true\n   config.mixpanel = { project_token: '' }\n   config.mailchimp = { api_key: '' }\nend\n```\n\n`app/models/user.rb`\n```ruby\nclass User \u003c ApplicationRecord\n   include ActorSync\n\n   actor_sync :mixpanel\n   actor_sync :mailchimp, audience: monthly_mailing_lists\n\n   def data_to_export_to_mixpanel\n      {\n         '$first_name': profile.first_name,\n         '$last_name': profile.last_name,\n         '$email': email\n      }\n   end\nend\n```\n\n`app/models/company.rb`\n```ruby\nclass Company \u003c ApplicationRecord\n   include ActorSync\n\n   actor_sync :mixpanel, group: true\n\n   def data_to_export_to_mixpanel\n      {\n         '$name': name,\n         'products': products_count\n      }\n   end\nend\n\n```\n\n# TODO\n- Write more tests.\n- Add Instrumentation\n- Add support for other activejob backends - Resque etc.\n- Add support for NoSQL Databases\n- Add support for Sinatra (Non-Rails environment)\n- More documentation\n- Add rake tasks to manually sync data\n- Add support for mixpanel lookup tables\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubomi%2Factor_sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubomi%2Factor_sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubomi%2Factor_sync/lists"}