socialcli 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of socialcli might be problematic. Click here for more details.
- socialcli-0.3.0.dist-info/METADATA +168 -0
- socialcli-0.3.0.dist-info/RECORD +224 -0
- socialcli-0.3.0.dist-info/WHEEL +4 -0
- socialcli-0.3.0.dist-info/entry_points.txt +3 -0
- socialcli-0.3.0.dist-info/licenses/LICENSE +21 -0
- socialctl/__init__.py +0 -0
- socialctl/__main__.py +6 -0
- socialctl/adapters/__init__.py +6 -0
- socialctl/adapters/base.py +68 -0
- socialctl/adapters/errores.py +56 -0
- socialctl/adapters/facebook.py +180 -0
- socialctl/adapters/instagram.py +442 -0
- socialctl/adapters/tiktok.py +535 -0
- socialctl/adapters/youtube.py +331 -0
- socialctl/agent_errors.py +176 -0
- socialctl/agent_guide.py +23 -0
- socialctl/approval_cli.py +27 -0
- socialctl/auth.py +139 -0
- socialctl/authflow.py +344 -0
- socialctl/brands.py +194 -0
- socialctl/capabilities.py +57 -0
- socialctl/capabilities.yml +5945 -0
- socialctl/cli.py +1766 -0
- socialctl/connection_service/__init__.py +0 -0
- socialctl/connection_service/__main__.py +33 -0
- socialctl/connection_service/app.py +496 -0
- socialctl/connection_service/assets/PLATFORM-LOGOS-LICENSE.txt +50 -0
- socialctl/connection_service/assets/connection.css +75 -0
- socialctl/connection_service/assets/facebook.webp +0 -0
- socialctl/connection_service/assets/instagram.svg +194 -0
- socialctl/connection_service/assets/socialcli-logo.png +0 -0
- socialctl/connection_service/assets/tiktok.png +0 -0
- socialctl/connection_service/assets/youtube.svg +1 -0
- socialctl/connection_service/landing.py +146 -0
- socialctl/connection_service/legacy.py +48 -0
- socialctl/connection_service/peer.py +13 -0
- socialctl/connection_service/providers.py +324 -0
- socialctl/connection_service/settings.py +76 -0
- socialctl/connection_service/store.py +124 -0
- socialctl/connections/__init__.py +0 -0
- socialctl/connections/account_cli.py +438 -0
- socialctl/connections/cli.py +379 -0
- socialctl/connections/client.py +126 -0
- socialctl/connections/credential_cli.py +224 -0
- socialctl/connections/credential_store.py +49 -0
- socialctl/connections/file_store.py +193 -0
- socialctl/connections/keychain.py +78 -0
- socialctl/connections/meta_user.py +81 -0
- socialctl/connections/rotation_cli.py +116 -0
- socialctl/connections/saas_client.py +91 -0
- socialctl/connections/temporary_media.py +62 -0
- socialctl/delivery_options.py +70 -0
- socialctl/engagement.py +200 -0
- socialctl/engagement_cli.py +50 -0
- socialctl/executor.py +135 -0
- socialctl/formatter.py +291 -0
- socialctl/hosted_media.py +152 -0
- socialctl/identity.py +200 -0
- socialctl/inbox.py +298 -0
- socialctl/inbox_cli.py +46 -0
- socialctl/inventory.py +155 -0
- socialctl/inventory_cli.py +171 -0
- socialctl/inventory_sources.py +101 -0
- socialctl/management/__init__.py +1 -0
- socialctl/management/batch_cli.py +115 -0
- socialctl/management/batches.py +325 -0
- socialctl/management/changes.py +485 -0
- socialctl/management/cli.py +227 -0
- socialctl/management/comments_cli.py +352 -0
- socialctl/management/community_batch_cli.py +63 -0
- socialctl/management/community_batches.py +294 -0
- socialctl/management/community_changes.py +370 -0
- socialctl/management/community_cli.py +142 -0
- socialctl/management/community_schema.py +119 -0
- socialctl/management/facebook_groups.py +1118 -0
- socialctl/management/groups_cli.py +274 -0
- socialctl/management/inbox_readers.py +87 -0
- socialctl/management/meta_changes.py +197 -0
- socialctl/management/meta_cli.py +342 -0
- socialctl/management/meta_client.py +631 -0
- socialctl/management/meta_comment_inbox.py +565 -0
- socialctl/management/meta_comments.py +587 -0
- socialctl/management/meta_errors.py +59 -0
- socialctl/management/meta_pagination.py +52 -0
- socialctl/management/meta_schema.py +128 -0
- socialctl/management/meta_webhooks.py +147 -0
- socialctl/management/metadata_parts.py +144 -0
- socialctl/management/owned_assets.py +85 -0
- socialctl/management/owned_changes.py +470 -0
- socialctl/management/owned_cli.py +128 -0
- socialctl/management/owned_reorder.py +62 -0
- socialctl/management/owned_schema.py +368 -0
- socialctl/management/reply_context.py +24 -0
- socialctl/management/reply_evidence.py +80 -0
- socialctl/management/resource_changes.py +407 -0
- socialctl/management/resource_cli.py +136 -0
- socialctl/management/snippet_readback.py +26 -0
- socialctl/management/stories.py +713 -0
- socialctl/management/stories_cli.py +172 -0
- socialctl/management/youtube.py +323 -0
- socialctl/management/youtube_community.py +326 -0
- socialctl/management/youtube_metadata.py +122 -0
- socialctl/management/youtube_owned.py +259 -0
- socialctl/management/youtube_resources.py +305 -0
- socialctl/media.py +269 -0
- socialctl/media_cli.py +183 -0
- socialctl/media_ingress.py +211 -0
- socialctl/media_preflight.py +114 -0
- socialctl/media_registry.py +301 -0
- socialctl/media_requirements.py +52 -0
- socialctl/metricas/__init__.py +6 -0
- socialctl/metricas/almacen.py +133 -0
- socialctl/metricas/analytics_changes.py +295 -0
- socialctl/metricas/analytics_cli.py +191 -0
- socialctl/metricas/analytics_client.py +304 -0
- socialctl/metricas/analytics_ingest.py +260 -0
- socialctl/metricas/analytics_schema.py +174 -0
- socialctl/metricas/base.py +147 -0
- socialctl/metricas/facebook.py +418 -0
- socialctl/metricas/insights.py +227 -0
- socialctl/metricas/instagram.py +133 -0
- socialctl/metricas/modelos.py +87 -0
- socialctl/metricas/piezas.py +134 -0
- socialctl/metricas/reach.py +94 -0
- socialctl/metricas/reporting_client.py +112 -0
- socialctl/metricas/resumen.py +251 -0
- socialctl/metricas/slugs.py +89 -0
- socialctl/metricas/tiktok.py +185 -0
- socialctl/metricas/youtube.py +403 -0
- socialctl/migration_cli.py +60 -0
- socialctl/migration_files.py +68 -0
- socialctl/models.py +150 -0
- socialctl/native_schedule/__init__.py +13 -0
- socialctl/native_schedule/api_delivery.py +15 -0
- socialctl/native_schedule/api_reconcile.py +40 -0
- socialctl/native_schedule/approval.py +160 -0
- socialctl/native_schedule/cadence.py +73 -0
- socialctl/native_schedule/cli.py +510 -0
- socialctl/native_schedule/dispatcher.py +120 -0
- socialctl/native_schedule/facebook.py +112 -0
- socialctl/native_schedule/facebook_reels.py +140 -0
- socialctl/native_schedule/first_comment.py +181 -0
- socialctl/native_schedule/handoff.py +193 -0
- socialctl/native_schedule/instagram_delivery.py +224 -0
- socialctl/native_schedule/instagram_runtime.py +66 -0
- socialctl/native_schedule/inventory.py +70 -0
- socialctl/native_schedule/migration.py +310 -0
- socialctl/native_schedule/models.py +103 -0
- socialctl/native_schedule/reconcile.py +83 -0
- socialctl/native_schedule/remote_data.py +177 -0
- socialctl/native_schedule/report.py +151 -0
- socialctl/native_schedule/store.py +560 -0
- socialctl/native_schedule/verification.py +32 -0
- socialctl/native_schedule/youtube.py +339 -0
- socialctl/operation_output.py +87 -0
- socialctl/plantillas/accounts.yml +33 -0
- socialctl/plantillas/brand.md +95 -0
- socialctl/plantillas/estrategia.md +64 -0
- socialctl/postfile.py +240 -0
- socialctl/preflight.py +73 -0
- socialctl/publication_policy.py +34 -0
- socialctl/publication_status.py +75 -0
- socialctl/publication_steps.py +398 -0
- socialctl/publish_output.py +96 -0
- socialctl/publisher.py +445 -0
- socialctl/queue_migration.py +302 -0
- socialctl/read_budget.py +224 -0
- socialctl/read_reports.py +91 -0
- socialctl/rutas.py +103 -0
- socialctl/saas/__init__.py +1 -0
- socialctl/saas/access.py +75 -0
- socialctl/saas/auth.py +213 -0
- socialctl/saas/backup.py +124 -0
- socialctl/saas/billing.py +327 -0
- socialctl/saas/billing_enrollment.py +1237 -0
- socialctl/saas/billing_enrollment_schema.py +519 -0
- socialctl/saas/billing_inventory.py +775 -0
- socialctl/saas/billing_reconcile.py +127 -0
- socialctl/saas/billing_routes.py +27 -0
- socialctl/saas/budget.py +66 -0
- socialctl/saas/connections.py +374 -0
- socialctl/saas/consent.py +52 -0
- socialctl/saas/lifecycle.py +341 -0
- socialctl/saas/mail.py +89 -0
- socialctl/saas/maintenance.py +68 -0
- socialctl/saas/meta_user.py +298 -0
- socialctl/saas/meta_webhooks.py +358 -0
- socialctl/saas/migration.py +107 -0
- socialctl/saas/models.py +8 -0
- socialctl/saas/operations.py +102 -0
- socialctl/saas/pages.py +126 -0
- socialctl/saas/pairing.py +158 -0
- socialctl/saas/permissions.py +57 -0
- socialctl/saas/reminders.py +128 -0
- socialctl/saas/renewal.py +74 -0
- socialctl/saas/restore_guard.py +229 -0
- socialctl/saas/revocation.py +97 -0
- socialctl/saas/rotation.py +114 -0
- socialctl/saas/routes.py +221 -0
- socialctl/saas/settings.py +34 -0
- socialctl/saas/store.py +106 -0
- socialctl/saas/temporary_media.py +245 -0
- socialctl/saas/webhooks.py +76 -0
- socialctl/schedule_remote.py +262 -0
- socialctl/schedule_sqlite.py +44 -0
- socialctl/scheduler.py +581 -0
- socialctl/scheduler_launchd.py +319 -0
- socialctl/scheduler_systemd.py +167 -0
- socialctl/source_links.py +119 -0
- socialctl/ui/__init__.py +1 -0
- socialctl/ui/assets/agent-manual.md +850 -0
- socialctl/ui/assets/agents.md +27 -0
- socialctl/ui/assets/components.css +20 -0
- socialctl/ui/assets/connection-layout.css +53 -0
- socialctl/ui/assets/otp.template.html +10 -0
- socialctl/ui/assets/tokens.css +1 -0
- socialctl/ui/assets/trial.template.html +11 -0
- socialctl/ui/assets/web-layout.css +38 -0
- socialctl/ui/email/otp.html +10 -0
- socialctl/ui/email/trial.html +11 -0
- socialctl/upload_consent.py +13 -0
- socialctl/workspace.py +8 -0
- socialctl/youtube_data.py +471 -0
- socialctl/youtube_data_service.py +225 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# SocialCli for AI agents — 0.3.0
|
|
2
|
+
|
|
3
|
+
Requires a persistent shell, Python 3.11+, macOS/Linux and protected storage.
|
|
4
|
+
Use https://pypi.org/pypi/socialcli/0.3.0/json. Require HTTP 200, name
|
|
5
|
+
`socialcli`, version `0.3.0`; select only `socialcli-0.3.0-py3-none-any.whl`.
|
|
6
|
+
Download its HTTPS URL and verify `digests.sha256` before installing that local
|
|
7
|
+
wheel with `[headless-credentials]` in an isolated uv tool/venv. Dependencies come
|
|
8
|
+
from normal PyPI. If unavailable, stop; never substitute a package or migrate an
|
|
9
|
+
existing installation silently. Verify `socialcli --version`.
|
|
10
|
+
|
|
11
|
+
Read `socialcli agent-guide setup` offline before login. Ask for the brand; never
|
|
12
|
+
infer it. Setup order: `brand new NAME`, `credentials generate-key`, `credentials
|
|
13
|
+
configure` with encrypted-file storage and an external protected key, then:
|
|
14
|
+
|
|
15
|
+
socialcli account login --brand NAME --service https://pilot.socialcli.app --no-browser
|
|
16
|
+
socialcli connect youtube --brand NAME --management --analytics --no-browser
|
|
17
|
+
|
|
18
|
+
Give links directly to the user. Do not open, fetch or preview them. Keep the
|
|
19
|
+
command running. Users enter codes, accept privacy and review assistant data access in their browser only. Never accept for them. Read the setup guide’s Google data-use conditions and daily cleanup instructions.
|
|
20
|
+
|
|
21
|
+
Before work read the relevant local guide:
|
|
22
|
+
`socialcli agent-guide publish|schedule|inbox|errors` (choose one topic).
|
|
23
|
+
Use only supplied media. Show the FULL `--dry-run` preview and obtain explicit
|
|
24
|
+
approval before writes. Never retry an uncertain write. Preserve credentials and
|
|
25
|
+
workspace across sessions. JSON stdout is separate from progress stderr; exit 3
|
|
26
|
+
means partial reads, not an empty inbox. Trial: 14 days, then USD 10/month.
|
|
27
|
+
Stripe is in test mode. Google is In production with verified branding, but sensitive YouTube scopes remain unverified with a warning and user cap. Meta development and TikTok sandbox restrictions remain. No provider-wide approval is implied.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* Shared customer controls and accessibility. */
|
|
2
|
+
:focus-visible{outline:3px solid #8cbbff;outline-offset:4px}
|
|
3
|
+
.skip-link{position:absolute;left:16px;top:-100px;z-index:2;background:var(--surface);padding:12px;color:var(--blue)}
|
|
4
|
+
.skip-link:focus{top:12px}
|
|
5
|
+
label{display:block;text-align:left;font-size:14px;font-weight:600;margin:18px 0 7px}
|
|
6
|
+
input:not([type=hidden]):not([type=radio]):not([type=checkbox]),select{width:100%;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:var(--radius);font:inherit;background:var(--surface);color:var(--ink)}
|
|
7
|
+
input[aria-invalid=true]:not([type=hidden]):not([type=radio]):not([type=checkbox]){border-color:var(--danger)}
|
|
8
|
+
.field-error{color:var(--danger);font-size:13px;text-align:left;line-height:1.5}
|
|
9
|
+
.form-stack{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;text-align:left;margin-top:24px}
|
|
10
|
+
.status-notice{border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin:20px 0;line-height:1.6;text-align:left;overflow-wrap:anywhere}
|
|
11
|
+
.status-notice[role=alert]{border-color:var(--danger)}
|
|
12
|
+
.account-list{list-style:none;padding:0;display:grid;gap:12px;text-align:left}
|
|
13
|
+
.account-list li{border:1px solid var(--line);padding:16px;border-radius:var(--radius);overflow-wrap:anywhere}
|
|
14
|
+
button:disabled{opacity:.65;cursor:wait}
|
|
15
|
+
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
|
|
16
|
+
|
|
17
|
+
.permission-options{min-width:0;border:1px solid var(--line);border-radius:var(--radius);padding:16px;margin:0;text-align:left}
|
|
18
|
+
.permission-options legend{max-width:100%;padding:0 6px;font-size:14px;font-weight:600}
|
|
19
|
+
.permission-options label{display:flex;align-items:center;gap:10px;min-height:44px;margin:0}
|
|
20
|
+
.permission-options input{width:18px;height:18px;margin:0;accent-color:var(--blue);flex-shrink:0}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
*{box-sizing:border-box}
|
|
2
|
+
body{margin:0;min-height:100svh;color:var(--ink);background:var(--background);background-image:radial-gradient(ellipse at 50% 0%,#e9effb 0,transparent 60%);display:flex;flex-direction:column}
|
|
3
|
+
a{color:inherit;text-decoration:none}
|
|
4
|
+
svg{width:20px;height:20px;flex-shrink:0}
|
|
5
|
+
.site-header{width:min(1120px,100%);margin:0 auto;padding:30px 40px;display:flex;align-items:center;justify-content:space-between;gap:20px}
|
|
6
|
+
.wordmark{display:inline-flex;align-items:center;gap:11px;font-size:23px;font-weight:700;letter-spacing:-.7px}
|
|
7
|
+
.wordmark img{display:block;border-radius:12px}
|
|
8
|
+
.header-label{font-size:10px;font-weight:650;letter-spacing:1.8px;color:var(--muted)}
|
|
9
|
+
main{width:100%;padding:30px 24px 35px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}
|
|
10
|
+
.connection-card{overflow-wrap:anywhere;position:relative;overflow:hidden;width:min(100%,540px);background:var(--surface);border:1px solid #dfe6f1;border-radius:24px;padding:38px 44px 28px;text-align:center;box-shadow:0 24px 64px -32px #19335c38,0 3px 12px #19335c04}
|
|
11
|
+
.connection-card:before{content:"";position:absolute;top:0;left:calc(50% - 38px);width:76px;height:3px;background:var(--blue);border-radius:0 0 3px 3px}
|
|
12
|
+
.connection-symbols{display:flex;align-items:center;justify-content:center;margin:0 0 25px}
|
|
13
|
+
.connection-symbols img{display:block;border-radius:17px}
|
|
14
|
+
.connection-line{width:48px;height:1px;margin:0 14px;background:#d6dfed;position:relative}
|
|
15
|
+
.connection-line:before,.connection-line:after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:#b9c8df;top:-2px}
|
|
16
|
+
.connection-line:before{left:0}.connection-line:after{right:0}
|
|
17
|
+
.provider-mark{width:64px;height:64px;display:grid;place-items:center;border:1px solid var(--line);border-radius:18px;background:#fff}
|
|
18
|
+
.connection-symbols .provider-logo{width:36px;height:36px;border-radius:0}
|
|
19
|
+
.provider-app-icon{background:transparent;border:0;border-radius:0}
|
|
20
|
+
.connection-symbols .provider-app-icon .provider-logo{width:100%;height:100%;object-fit:contain;border-radius:0}
|
|
21
|
+
.eyebrow{margin:0 0 12px;font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--blue)}
|
|
22
|
+
h1{font-size:clamp(30px,4vw,38px);line-height:1.13;font-weight:650;letter-spacing:-1.35px;margin:0;text-wrap:balance}
|
|
23
|
+
.description{margin:16px auto 0;max-width:360px;font-size:14px;line-height:1.65;color:var(--muted);text-wrap:pretty}
|
|
24
|
+
.steps{list-style:none;padding:0;margin:26px 0 24px;display:flex;align-items:center;justify-content:center;gap:18px}
|
|
25
|
+
.steps li{display:flex;align-items:center;gap:6px;color:#6b788b;font-size:10px;white-space:nowrap;font-weight:500}
|
|
26
|
+
.steps li span{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;border:1px solid #dfe5ee;font-size:9px}
|
|
27
|
+
.steps .current{color:var(--blue);font-weight:650}.steps .current span{background:#edf3ff;border-color:#d2e2ff}
|
|
28
|
+
form{margin:0}
|
|
29
|
+
.primary-button,.secondary-button{width:100%;min-height:52px;border:1px solid transparent;border-radius:11px;display:flex;align-items:center;justify-content:center;gap:14px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .15s,box-shadow .15s,transform .15s}
|
|
30
|
+
.primary-button{color:#fff;background:var(--blue);box-shadow:0 4px 10px #1464ec24}
|
|
31
|
+
.primary-button svg{width:18px;height:18px}.primary-button:hover{background:#0d51cc;box-shadow:0 5px 15px #1464ec30}.primary-button:active{transform:translateY(1px)}
|
|
32
|
+
.secondary-button{color:var(--ink);background:#f4f7fc;border-color:#dfe6f1;margin-top:24px}.secondary-button:hover{background:#eaf0fa}
|
|
33
|
+
:focus-visible{outline:3px solid #8cbbff;outline-offset:4px}
|
|
34
|
+
.button-note{font-size:11px;line-height:1.5;color:#768297;margin:11px 0 0}
|
|
35
|
+
.connection-details{margin:26px 0 22px;padding-top:22px;border-top:1px solid var(--line);display:grid;gap:17px;text-align:left}
|
|
36
|
+
.detail{display:flex;gap:12px;align-items:flex-start}.detail>svg{margin-top:2px;color:#6b80a0;width:18px;height:18px}
|
|
37
|
+
h2{font-size:12px;font-weight:650;line-height:1.5;margin:0 0 3px}
|
|
38
|
+
.detail p,.return-panel p{font-size:11px;line-height:1.65;color:var(--muted);margin:0}
|
|
39
|
+
.quiet-notice{padding:11px 14px;background:#f3f6fc;border:1px solid #e9eef7;border-radius:9px;font-size:11px;line-height:1.6;color:#536580;margin:0;text-wrap:pretty}
|
|
40
|
+
.expiry-note{font-size:10px;line-height:1.6;color:#7b8699;margin:13px 0 0}
|
|
41
|
+
.trust-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:21px 0 0;font-size:10px;color:#6f7d93;letter-spacing:.1px;text-align:center;line-height:1.6}
|
|
42
|
+
.trust-note svg{width:12px;height:12px}
|
|
43
|
+
.site-footer{width:min(1120px,100%);margin:0 auto;padding:22px 40px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#7b8697;font-size:11px;line-height:1.6}
|
|
44
|
+
.site-footer nav{display:flex;gap:22px}.site-footer a:hover,.text-link:hover{color:var(--blue)}
|
|
45
|
+
.result-symbol{width:72px;height:72px;border-radius:22px;display:grid;place-items:center;margin:4px auto 27px;border:1px solid}
|
|
46
|
+
.result-symbol svg{width:31px;height:31px}.success{color:#208265;background:#eef9f4;border-color:#d7eee3}.neutral{color:#60728e;background:#f1f4fa;border-color:#e2e8f2}.warning{color:#9c6c26;background:#fff9ed;border-color:#f3e7cc}
|
|
47
|
+
.return-panel{display:flex;align-items:flex-start;gap:12px;padding:18px 19px;text-align:left;margin:27px 0 21px;border:1px solid var(--line);border-radius:12px;background:#fafbfd}
|
|
48
|
+
.return-panel>svg{margin-top:2px;color:var(--blue)}
|
|
49
|
+
.text-link{display:inline-flex;align-items:center;gap:8px;color:#556986;font-size:11px;margin-top:22px;font-weight:600;min-height:30px}
|
|
50
|
+
@media(min-width:1400px){main{padding-top:45px;padding-bottom:50px}}
|
|
51
|
+
@media(max-width:600px){.site-header{padding:23px 24px}.wordmark{font-size:21px}.wordmark img{width:36px;height:36px}.header-label{font-size:8px;letter-spacing:1.2px}main{padding:16px 16px 25px;justify-content:flex-start}.connection-card{padding:30px 25px 24px;border-radius:20px}h1{font-size:34px;letter-spacing:-1.1px}.description{font-size:13px;max-width:320px}.steps{gap:14px}.connection-details{margin-top:24px}.site-footer{padding:18px 24px 22px;flex-direction:column;gap:10px}.trust-note{font-size:9px}.provider-mark,.connection-symbols img{width:58px;height:58px}.connection-line{width:34px;margin:0 12px}}
|
|
52
|
+
@media(max-width:360px){.header-label{display:none}.connection-card{padding-left:20px;padding-right:20px}h1{font-size:30px}.steps{gap:9px}.steps li{font-size:9px}}
|
|
53
|
+
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Your SocialCli sign-in code</title></head>
|
|
2
|
+
<body style="margin:0;padding:32px 16px;background:var(--background);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif">
|
|
3
|
+
<table role="presentation" style="width:100%;max-width:520px;margin:auto;background:var(--surface);border:1px solid var(--line);border-radius:24px"><tr><td style="padding:32px">
|
|
4
|
+
<p style="color:var(--blue);font-size:22px;font-weight:700;margin:0 0 28px">SocialCli</p>
|
|
5
|
+
<h1 style="font-size:28px;line-height:1.2">Your sign-in code</h1>
|
|
6
|
+
<p style="color:var(--muted);line-height:1.65">Enter this code in the SocialCli page you opened. It expires in 10 minutes.</p>
|
|
7
|
+
<p style="color:var(--blue);font-size:34px;letter-spacing:6px;font-weight:700">{{ .Token }}</p>
|
|
8
|
+
<p style="color:var(--muted);font-size:13px;line-height:1.65">If you didn't request this code, you can ignore this email. Never share your code with an assistant or anyone else.</p>
|
|
9
|
+
<p style="border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:12px">Your accounts. Your permissions. Your choice.</p>
|
|
10
|
+
</td></tr></table></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:root{color-scheme:light;--ink:#10213d;--muted:#627087;--blue:#1464ec;--line:#e5eaf2;--surface:#fff;--background:#f5f7fb;--danger:#a12b32;--radius:11px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Your SocialCli free trial</title></head>
|
|
2
|
+
<body style="margin:0;padding:32px 16px;background:var(--background);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif">
|
|
3
|
+
<table role="presentation" style="width:100%;max-width:520px;margin:auto;background:var(--surface);border:1px solid var(--line);border-radius:24px"><tr><td style="padding:32px">
|
|
4
|
+
<p style="color:var(--blue);font-size:22px;font-weight:700;margin:0 0 28px">SocialCli</p>
|
|
5
|
+
<h1 style="font-size:28px;line-height:1.2">Your free trial ends soon</h1>
|
|
6
|
+
<p style="color:var(--muted);line-height:1.65">Your free trial ends <strong>$deadline</strong>.</p>
|
|
7
|
+
<p style="line-height:1.65">No charge before your original trial end. Subscribe now without losing your remaining free days for <strong>USD 10/month</strong> to continue using your connected accounts. Cancel anytime.</p>
|
|
8
|
+
<p><a href="$account_url" style="display:inline-block;background:var(--blue);color:var(--surface);padding:14px 20px;border-radius:12px;text-decoration:none;font-weight:600">Manage your account</a></p>
|
|
9
|
+
<p style="color:var(--muted);font-size:13px;line-height:1.65">You received this reminder because you started a SocialCli free trial. Review your access and account settings from your account page.</p>
|
|
10
|
+
<p style="border-top:1px solid var(--line);padding-top:20px;color:var(--muted);font-size:12px">Your accounts. Your permissions. Your choice.</p>
|
|
11
|
+
</td></tr></table></body></html>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--ink);font-size:17px;line-height:1.65}a{color:var(--blue)}header,main,footer{max-width:1040px;margin:auto;padding:26px}header{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}.logo{font-size:24px;font-weight:800;text-decoration:none;color:var(--ink)}nav{display:flex;gap:18px;flex-wrap:wrap;font-size:15px}main{min-height:65vh}h1{font-size:clamp(32px,5vw,58px);line-height:1.1;max-width:900px}h2{line-height:1.25;margin-top:40px}.lead{font-size:21px;max-width:800px}.badge{color:var(--blue);font-weight:700}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.card{padding:24px;background:white;border:1px solid var(--line);border-radius:14px}pre{padding:20px;border-radius:12px;background:var(--ink);color:#e1ecff;overflow:auto;font-size:14px;line-height:1.7}code{font-family:ui-monospace,monospace}p,li{max-width:860px}.button{display:inline-block;background:var(--blue);color:white;text-decoration:none;padding:10px 20px;border-radius:var(--radius);margin:8px 12px 8px 0}footer{border-top:1px solid var(--line);font-size:14px}footer a{margin-right:18px}.notice{border-left:4px solid var(--blue);padding:12px 20px;background:white}
|
|
2
|
+
.logo{display:inline-flex;align-items:center;gap:10px}.logo img{display:block;flex-shrink:0}.hero-mark{display:block;margin:12px 0 20px;max-width:100%;height:auto}
|
|
3
|
+
|
|
4
|
+
.install-prompt{display:flex;align-items:center;gap:8px;max-width:650px;margin:28px 0 0;padding:6px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius)}
|
|
5
|
+
#install-prompt{min-width:0;flex:1;border:0;background:transparent;font-size:clamp(12px,2.8vw,17px);padding:10px 8px}
|
|
6
|
+
.install-prompt button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border:0;border-radius:8px;background:var(--blue);color:var(--surface);cursor:pointer}
|
|
7
|
+
.install-prompt button[hidden]{display:none}.install-prompt button:hover{filter:brightness(.92)}
|
|
8
|
+
.install-prompt .copied-icon{display:none}.install-prompt button[data-copied=true] .copy-icon{display:none}.install-prompt button[data-copied=true] .copied-icon{display:block}
|
|
9
|
+
.copy-status{min-height:1.5em;margin:6px 0 20px;font-size:14px;color:var(--muted)}
|
|
10
|
+
|
|
11
|
+
/* The customer landing keeps the complete installation handoff in one view.
|
|
12
|
+
Content may scroll on very short screens or at enlarged accessibility sizes. */
|
|
13
|
+
body.landing{min-height:100vh;min-height:100svh;display:grid;grid-template-rows:auto 1fr auto}
|
|
14
|
+
.landing header,.landing main,.landing footer{width:100%;max-width:1120px;margin:0 auto;padding:20px 28px}
|
|
15
|
+
.landing header{gap:16px}.landing .logo{font-size:22px}.landing nav{font-size:14px;gap:18px}
|
|
16
|
+
.landing main{min-height:0;display:grid;place-items:center;padding-top:8px;padding-bottom:8px;text-align:center}
|
|
17
|
+
.landing-content{width:100%;max-width:690px}.landing .badge{font-size:12px;letter-spacing:.12em;margin:0 0 14px}
|
|
18
|
+
.landing h1{font-size:clamp(32px,4.6vw,54px);line-height:1.08;letter-spacing:-.035em;margin:0 0 18px}
|
|
19
|
+
.landing .lead{max-width:590px;font-size:18px;line-height:1.5;margin:0 auto 14px;color:var(--muted)}
|
|
20
|
+
.landing-platforms{font-size:14px;margin:0 0 22px}.landing-platforms span{padding:0 8px;color:var(--muted)}
|
|
21
|
+
.landing-price{font-size:13px;color:var(--muted);line-height:1.65;margin:0 0 22px}.landing-price strong{font-size:24px;color:var(--ink)}.landing-price strong span{font-size:15px;font-weight:400}
|
|
22
|
+
.install-label{font-size:14px;margin:0 0 8px;color:var(--muted)}.landing .install-prompt{margin:0 auto;text-align:left;max-width:570px}.landing .copy-status{margin:6px 0 0;font-size:12px;min-height:20px}
|
|
23
|
+
.landing footer{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--muted);border:0}.landing footer nav{font-size:12px;gap:16px}.landing footer a{margin:0}
|
|
24
|
+
@media(max-width:600px){.landing header,.landing main,.landing footer{padding-left:18px;padding-right:18px}.landing header{padding-top:14px;padding-bottom:14px}.landing .badge{font-size:10px;margin-bottom:12px}.landing h1{margin-bottom:14px}.landing .lead{font-size:15px}.landing-platforms{font-size:12px;margin-bottom:16px}.landing-platforms span{padding:0 4px}.landing-price{font-size:12px;margin-bottom:16px}.install-label{font-size:12px}.landing #install-prompt{font-size:clamp(11px,2.85vw,15px);padding:8px 2px}.landing .install-prompt{gap:4px;padding:4px}.landing .install-prompt button{flex-basis:44px;width:44px;height:44px}.landing footer{justify-content:center;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:6px}.landing footer>span{width:100%;text-align:center}}
|
|
25
|
+
@media(max-height:700px) and (min-width:601px){.landing header,.landing footer{padding-top:12px;padding-bottom:12px}.landing h1{font-size:40px;margin-bottom:12px}.landing .badge{margin-bottom:10px}.landing-platforms,.landing-price{margin-bottom:14px}.landing .lead{font-size:16px;margin-bottom:10px}}
|
|
26
|
+
|
|
27
|
+
/* Customer benefits share the existing landing typography and color tokens. */
|
|
28
|
+
.landing-content{max-width:820px}
|
|
29
|
+
.landing-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;text-align:left;margin:0 0 14px}
|
|
30
|
+
.landing-benefits h2{font-size:15px;line-height:1.35;margin:0 0 6px}
|
|
31
|
+
.landing-benefits p{font-size:13px;line-height:1.45;color:var(--muted);margin:0}
|
|
32
|
+
.landing-limits{font-size:11px;line-height:1.5;color:var(--muted);max-width:650px;margin:0 auto 16px}
|
|
33
|
+
.landing .landing-platforms{margin-bottom:18px}
|
|
34
|
+
.landing h1{margin-bottom:12px}
|
|
35
|
+
.landing .lead{font-size:16px;line-height:1.4;margin-bottom:12px}
|
|
36
|
+
.landing-price{margin-bottom:16px}
|
|
37
|
+
@media(max-width:600px){.landing-benefits{gap:12px}.landing-benefits h2{font-size:12px}.landing-benefits p{font-size:11px}.landing-limits{font-size:10px;margin-bottom:12px}.landing .lead{font-size:14px}.landing h1{font-size:32px}}
|
|
38
|
+
@media(max-width:360px){.landing-benefits{grid-template-columns:1fr;gap:8px}.landing-benefits h2{margin-bottom:2px}}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Your SocialCli sign-in code</title></head>
|
|
2
|
+
<body style="margin:0;padding:32px 16px;background:#f5f7fb;color:#10213d;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif">
|
|
3
|
+
<table role="presentation" style="width:100%;max-width:520px;margin:auto;background:#fff;border:1px solid #e5eaf2;border-radius:24px"><tr><td style="padding:32px">
|
|
4
|
+
<p style="color:#1464ec;font-size:22px;font-weight:700;margin:0 0 28px">SocialCli</p>
|
|
5
|
+
<h1 style="font-size:28px;line-height:1.2">Your sign-in code</h1>
|
|
6
|
+
<p style="color:#627087;line-height:1.65">Enter this code in the SocialCli page you opened. It expires in 10 minutes.</p>
|
|
7
|
+
<p style="color:#1464ec;font-size:34px;letter-spacing:6px;font-weight:700">{{ .Token }}</p>
|
|
8
|
+
<p style="color:#627087;font-size:13px;line-height:1.65">If you didn't request this code, you can ignore this email. Never share your code with an assistant or anyone else.</p>
|
|
9
|
+
<p style="border-top:1px solid #e5eaf2;padding-top:20px;color:#627087;font-size:12px">Your accounts. Your permissions. Your choice.</p>
|
|
10
|
+
</td></tr></table></body></html>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Your SocialCli free trial</title></head>
|
|
2
|
+
<body style="margin:0;padding:32px 16px;background:#f5f7fb;color:#10213d;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif">
|
|
3
|
+
<table role="presentation" style="width:100%;max-width:520px;margin:auto;background:#fff;border:1px solid #e5eaf2;border-radius:24px"><tr><td style="padding:32px">
|
|
4
|
+
<p style="color:#1464ec;font-size:22px;font-weight:700;margin:0 0 28px">SocialCli</p>
|
|
5
|
+
<h1 style="font-size:28px;line-height:1.2">Your free trial ends soon</h1>
|
|
6
|
+
<p style="color:#627087;line-height:1.65">Your free trial ends <strong>$deadline</strong>.</p>
|
|
7
|
+
<p style="line-height:1.65">No charge before your original trial end. Subscribe now without losing your remaining free days for <strong>USD 10/month</strong> to continue using your connected accounts. Cancel anytime.</p>
|
|
8
|
+
<p><a href="$account_url" style="display:inline-block;background:#1464ec;color:#fff;padding:14px 20px;border-radius:12px;text-decoration:none;font-weight:600">Manage your account</a></p>
|
|
9
|
+
<p style="color:#627087;font-size:13px;line-height:1.65">You received this reminder because you started a SocialCli free trial. Review your access and account settings from your account page.</p>
|
|
10
|
+
<p style="border-top:1px solid #e5eaf2;padding-top:20px;color:#627087;font-size:12px">Your accounts. Your permissions. Your choice.</p>
|
|
11
|
+
</td></tr></table></body></html>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""Owner certification included in, and bound to, every YouTube upload preview."""
|
|
2
|
+
|
|
3
|
+
YOUTUBE_GUIDELINES = 'https://www.youtube.com/howyoutubeworks/policies/community-guidelines/'
|
|
4
|
+
YOUTUBE_CERTIFICATION = (
|
|
5
|
+
'By approving this upload, you certify that this content complies with the '
|
|
6
|
+
'YouTube Community Guidelines: ' + YOUTUBE_GUIDELINES +
|
|
7
|
+
' Your assistant must show this statement with the complete preview and obtain '
|
|
8
|
+
'your explicit approval; connecting an account does not provide this certification.'
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
def youtube_certification():
|
|
13
|
+
return {'version': '2026-10-15', 'statement': YOUTUBE_CERTIFICATION}
|
socialctl/workspace.py
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"""Resolve user data independently of the installed package directory."""
|
|
2
|
+
import os
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def default_root() -> Path:
|
|
7
|
+
configured = os.environ.get("SOCIALCLI_ROOT", "").strip()
|
|
8
|
+
return Path(configured).expanduser().resolve() if configured else Path.cwd()
|