{"id":22026061,"url":"https://github.com/amazingcoderpro/sea","last_synced_at":"2026-04-30T17:32:16.142Z","repository":{"id":253874415,"uuid":"185754003","full_name":"amazingcoderpro/sea","owner":"amazingcoderpro","description":"Pinterest自动化营销系统，以Pinteres平台为依托，实现非广告形式的SNS渠道营销，打破低成本社区营销渠道常规运营方式，提升社区营销渠道营销效果，提高社区营销岗位人效","archived":false,"fork":false,"pushed_at":"2019-09-04T10:41:50.000Z","size":611,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-04T04:13:54.092Z","etag":null,"topics":["automarker","ecommerce-application","google-analytics","pinterest","python","shopify"],"latest_commit_sha":null,"homepage":"","language":"Python","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/amazingcoderpro.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}},"created_at":"2019-05-09T08:01:58.000Z","updated_at":"2024-08-22T06:29:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"42464d3a-e143-4254-80e6-282739ad9c1c","html_url":"https://github.com/amazingcoderpro/sea","commit_stats":null,"previous_names":["amazingcoderpro/sea"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/amazingcoderpro/sea","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingcoderpro%2Fsea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingcoderpro%2Fsea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingcoderpro%2Fsea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingcoderpro%2Fsea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amazingcoderpro","download_url":"https://codeload.github.com/amazingcoderpro/sea/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amazingcoderpro%2Fsea/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32472396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: 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":["automarker","ecommerce-application","google-analytics","pinterest","python","shopify"],"created_at":"2024-11-30T07:24:54.595Z","updated_at":"2026-04-30T17:32:16.119Z","avatar_url":"https://github.com/amazingcoderpro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PinBooster自动化营销系统\n\n## 1. 初始化数据库\n- user表增加管理员\n- platform 增加三条数据\n\t\n```\n\tINSERT INTO `user` (`id`, `last_login`, `is_superuser`, `first_name`, `last_name`, `is_staff`, `is_active`, `date_joined`, `username`, `email`, `password`, `code`, `create_time`, `update_time`)\nVALUES\n\t(1, NULL, 0, 'admin', 'admin', 0, 0, '2019-06-01 00:00:00.852191', 'admin', 'victor.fang@orderplus.com', 'pbkdf2_sha256$120000$M0cY6Z6wcYr9$iwqYBe/MJfOLkpx2/2mMWtt2f1X7GBSt7D0EKRdjdV8=', NULL, '2019-06-01 00:00:00.899300', '2019-06-01 00:00:00.899300'),\n\t(2, NULL, 0, 'test001', 'test001', 0, 1, '2019-05-29 06:55:41.852191', 'test001', 'victor.fang@orderplus.com', 'pbkdf2_sha256$120000$Fp9sbcrgfWrJ$OlH4Z49b15v5MMwTMd/m3w/I0BZWynyALmTD2ydlTa8=', NULL, '2019-06-01 00:00:00.899300', '2019-06-01 00:00:00.899300'),\n\t(3, NULL, 0, 'test002', 'test002', 0, 0, '2019-05-29 06:55:41.852191', 'test002', 'victor.fang@orderplus.com', 'pbkdf2_sha256$120000$Fp9sbcrgfWrJ$OlH4Z49b15v5MMwTMd/m3w/I0BZWynyALmTD2ydlTa8=', NULL, '2019-06-01 00:00:00.899300', '2019-06-01 00:00:00.899300'),\n\t(4, NULL, 0, 'test002', 'test002', 0, 0, '2019-05-29 06:55:41.852191', 'test003', 'victor.fang@orderplus.com', 'pbkdf2_sha256$120000$Fp9sbcrgfWrJ$OlH4Z49b15v5MMwTMd/m3w/I0BZWynyALmTD2ydlTa8=', NULL, '2019-06-01 00:00:00.899300', '2019-06-01 00:00:00.899300');\n\n\nINSERT INTO `platform` (`id`, `name`, `url`, `create_time`, `update_time`)\nVALUES\n\t(1, 'Shopify', NULL, '2019-06-01 00:00:00.852191', '2019-06-01 00:00:00.852191'),\n\t(2, 'Cloud', NULL, '2019-06-01 00:00:00.852191', '2019-06-01 00:00:00.852191'),\n\t(3, 'Individual', NULL, '2019-06-01 00:00:00.852191', '2019-06-01 00:00:00.852191');\n\n```\n\n## 2. 注册用户(创建店铺和用户)\n- shopify用户授权\n- 设置密码发送邮件\n- 店铺邮箱账户登陆激活\n\n```\n\nINSERT INTO `store` (`id`, `name`, `url`, `email`, `visitors`, `scan`, `sale`, `token`, `create_time`, `update_time`, `uuid`, `timezone`, `country`, `city`, `currency`, `owner_name`, `owner_phone`, `store_create_time`, `store_update_time`, `store_view_id`, `platform_id`, `user_id`)\nVALUES\n\t(1, '大卖场', 'https://pinbooster.seamarketings.com/', 'victor.fang@orderplus.com', 0, 0, 0, '12456789', '2019-05-29 11:54:56.178368', '2019-06-04 10:21:49.487091', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1),\n\t(2, '大卖场', 'https://pinbooster001.seamarketings.com/', 'victor.fang@orderplus.com', 0, 0, 0, '12456789', '2019-05-29 11:54:56.178368', '2019-06-04 10:21:49.487091', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2),\n\t(3, '大卖场', 'https://pinbooster002.seamarketings.com/', 'victor.fang@orderplus.com', 0, 0, 0, '12456789', '2019-05-29 11:54:56.178368', '2019-06-04 10:21:49.487091', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 3),\n\t(4, '大卖场', 'https://pinbooster004.seamarketings.com/', 'victor.fang@orderplus.com', 0, 0, 0, '12456789', '2019-05-29 11:54:56.178368', '2019-06-04 10:21:49.487091', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4);\n\n```\n## 3. 登陆创建pinterest账户(授权)\n\n```\n\tINSERT INTO `pinterest_account` (`id`, `account`, `nickname`, `email`, `type`, `state`, `description`, `create_time`, `token`, `boards`, `pins`, `views`, `authorized`, `add_time`, `update_time`, `followings`, `followers`, `uuid`, `user_id`)\nVALUES\n\t(2, 'shaowei580@gmail.com', '', 'shaowei580@gmail.com', 1, 0, 'shaowei', '2019-06-04 16:00:00.000000', 'AiP-ymRCgT7SSGBguKHjT-SPcSNOFaTxExO9J4JF2gxXLuC2Ugj5ADAAAlZaReXFJ1qgudIAAAAA', 0, 0, 0, 1, '2019-06-04 08:18:18.955160', '2019-06-04 08:18:19.015593', 0, 0, NULL, 1),\n\t(3, 'twobercancan@gmail.com', '', 'twobercancan@gmail.com', 0, 0, '我的测试账号', '2019-06-03 16:00:00.000000', 'AgQB_G73xNSSzpVeGQ_tSUSEmrN2FaTxDryiQudF2gxXLuC2Ugp2ADAAAk1KReXFV78AwisAAAAA', 0, 0, 0, 1, '2019-06-04 08:20:02.559245', '2019-06-04 08:20:02.619872', 0, 0, NULL, 1),\n\t(4, 'wcadaydayup@gmail.com', '', 'wcadaydayup@gmail.com', 0, 0, '121313', '2019-05-31 16:00:00.000000', 'AjgtAa8EoSLMjLVynCwNQDyS8NflFaTxE1fD18NF2gxXLuC2UgqqwDAAAkqYRd3mmh2gvB0AAAAA', 0, 0, 0, 1, '2019-06-04 08:20:18.669652', '2019-06-04 08:20:18.723059', 0, 0, NULL, 1);\n\n```\n\n## 4. 测试店铺授权\n\n```\nhttps://tiptopfree.myshopify.com/admin/oauth/authorize?client_id=7fced15ff9d1a461f10979c3eae2eca8\u0026scope=read_content,write_content,read_themes,write_themes,read_products,write_products,read_product_listings,read_customers,write_customers,read_orders,write_orders,read_shipping,write_draft_orders,read_inventory,write_inventory,read_shopify_payments_payouts,read_draft_orders,read_locations,read_script_tags,write_script_tags,read_fulfillments,write_shipping,read_analytics,read_checkouts,write_resource_feedbacks,write_checkouts,read_reports,write_reports,read_price_rules,write_price_rules,read_marketing_events,write_marketing_events,read_resource_feedbacks,read_shopify_payments_disputes,write_fulfillments\u0026redirect_uri=https%3A//pinbooster.seamarketings.com/api/v1/auth/shopify/callback/\u0026state=chicgostyle\u0026grant_options[]=\n\nTiptopfree Shopify后台:登录网址：https://tiptopfree.myshopify.com/admin\n登录邮箱：alicia.wang@orderplus.com\n登录密码：%￥^\u0026561\n\n```\n\n\n4. 后台操作\n- 更新店铺信息, 包括店铺的基本信息和从GA拉取的店铺浏览量，销售额等数据\n- 更新Pinsterest账户信息，包括所有boards, pins, 以及boards,pins的属性信息，如likes,comments,saves等\n- 开启定时任务，以天为单位循环更新以上两条\n## 服务启动\n\n```\nyum install supervisor\nsystemctl enable supervisord\nsystemctl start supervisord\nsystemctl stop supervisord\nsystemctl restart supervisord\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famazingcoderpro%2Fsea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famazingcoderpro%2Fsea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famazingcoderpro%2Fsea/lists"}