@wenathlan/cobaia 2.0.155 → 2.0.159
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.
- package/.dev.vars.example +3 -0
- package/.dockerignore +41 -0
- package/.env.example +9 -0
- package/.gitattributes +36 -0
- package/.nvmrc +1 -0
- package/App.tsx +4 -4
- package/CHANGELOG.md +10 -0
- package/Dockerfile +4 -1
- package/README.md +5 -0
- package/SECURITY.md +27 -0
- package/acceptableusepolicy.md +9 -0
- package/authors.md +16 -0
- package/biome.jsonc +3 -3
- package/bugreport.md +16 -0
- package/bun.lock +156 -32
- package/cla.md +9 -0
- package/cli.ts +114 -0
- package/cobaia.csproj +22 -0
- package/cobaia.gemspec +14 -0
- package/cobaia.java +16 -0
- package/codeofconduct.md +9 -0
- package/content.ts +2 -2
- package/contributing.md +9 -0
- package/copyright.md +7 -0
- package/db.ts +2 -2
- package/disclaimer.md +7 -0
- package/docs/features.md +58 -0
- package/docs/monetization.md +61 -0
- package/eula.md +7 -0
- package/exportcontrol.md +17 -0
- package/governance.md +9 -0
- package/notice.md +7 -0
- package/package.json +21 -14
- package/pnpm-workspace.yaml +41 -20
- package/pnpmboot.package-lock.json +157 -0
- package/pnpmboot.package.json +6 -0
- package/pom.xml +29 -0
- package/privacypolicy.md +9 -0
- package/pullrequesttemplate.md +13 -0
- package/{Sol → sol}/Sol.tsx +2 -2
- package/{Sol → sol}/apps/apps.tsx +1 -1
- package/{Sol → sol}/blog/blog.tsx +1 -1
- package/{Sol → sol}/home/home.tsx +2 -2
- package/{Sol → sol}/intro/intro.tsx +1 -1
- package/{Sol → sol}/legal/legal.tsx +1 -1
- package/{Sol → sol}/notfound/notfound.tsx +1 -1
- package/{Sol → sol}/pricing/pricing.tsx +1 -1
- package/{Sol → sol}/shell/Shell.tsx +1 -1
- package/{Sol → sol}/sol.css +7 -0
- package/{Sol → sol}/support/support.tsx +1 -1
- package/{Sol → sol}/wingets/index.ts +1 -1
- package/support.md +7 -0
- package/termsandconditions.md +9 -0
- package/termsofuse.md +9 -0
- package/tests/sandboxmodality.test.ts +4 -4
- package/thirdpartynotices.md +7 -0
- package/trademarkpolicy.md +7 -0
- package/tsconfig.json +1 -1
- package/vite.config.ts +3 -3
- package/vitest.config.ts +2 -2
- package/docs/.gitkeep +0 -0
- /package/{Sol → sol}/wingets/IntroFooter.tsx +0 -0
- /package/{Sol → sol}/wingets/IntroPlans.tsx +0 -0
- /package/{Sol → sol}/wingets/IntroSplash.tsx +0 -0
- /package/{Sol → sol}/wingets/ShellAdsslot.tsx +0 -0
- /package/{Sol → sol}/wingets/ShellBrand.tsx +0 -0
package/.dockerignore
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# the cobaia docker build context.
|
|
2
|
+
# The docker build context carries the sources only: THE Dockerfile builds
|
|
3
|
+
# from a clean checkout — the deps stage installs the frozen bun.lock tree
|
|
4
|
+
# itself, the builder compiles every dist target and runs the deterministic
|
|
5
|
+
# checks, and the runtime copies only the lean output. The local
|
|
6
|
+
# node_modules trees, the built dist, the committed distpackage staging
|
|
7
|
+
# (the builder stages its own), the release scratch, the mobile capacitor
|
|
8
|
+
# shell (a native wrapper concern, never a container input), the packaged
|
|
9
|
+
# archives and the development state never enter the image.
|
|
10
|
+
.git
|
|
11
|
+
# the workflow corpus stays in the build context: the gate ladder the
|
|
12
|
+
# container image runs (npm test) reads .github/workflows through the
|
|
13
|
+
# workflowcheck, readiness and publishing-pipeline contracts, so the
|
|
14
|
+
# workflows travel with the sources into the builder stage only — the
|
|
15
|
+
# runtime stages copy their lean outputs and never ship the corpus.
|
|
16
|
+
.github/*
|
|
17
|
+
!.github/workflows
|
|
18
|
+
.manus-logs
|
|
19
|
+
node_modules
|
|
20
|
+
sol/node_modules
|
|
21
|
+
mobile
|
|
22
|
+
dist
|
|
23
|
+
distpackage
|
|
24
|
+
build
|
|
25
|
+
sol/dist
|
|
26
|
+
release
|
|
27
|
+
staging
|
|
28
|
+
*.tgz
|
|
29
|
+
*.zip
|
|
30
|
+
*.xpi
|
|
31
|
+
*.vsix
|
|
32
|
+
*.tar.gz
|
|
33
|
+
*.log
|
|
34
|
+
*.sqlite
|
|
35
|
+
*.db
|
|
36
|
+
.env
|
|
37
|
+
.env.*
|
|
38
|
+
__pycache__
|
|
39
|
+
*.pyc
|
|
40
|
+
*.pyo
|
|
41
|
+
tests/tmp
|
package/.env.example
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# cobaia monetization environment variables
|
|
2
|
+
# copy to .env and fill in your values
|
|
3
|
+
|
|
4
|
+
# database url — sqlite local file or libsql remote
|
|
5
|
+
# local sqlite (default for dev)
|
|
6
|
+
DATABASE_URL="file:./local.db"
|
|
7
|
+
# remote libsql (for vercel netlify production)
|
|
8
|
+
# DATABASE_URL="libsql:https://your-turso-db.turso.io"
|
|
9
|
+
# DATABASE_AUTH_TOKEN="your-turso-auth-token"
|
package/.gitattributes
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# the cobaia text attributes.
|
|
2
|
+
# Normalize line endings to LF
|
|
3
|
+
* text=auto eol=lf
|
|
4
|
+
|
|
5
|
+
# Explicit text types (the merged engine sources)
|
|
6
|
+
*.ts text eol=lf
|
|
7
|
+
*.tsx text eol=lf
|
|
8
|
+
*.js text eol=lf
|
|
9
|
+
*.mjs text eol=lf
|
|
10
|
+
*.cjs text eol=lf
|
|
11
|
+
*.json text eol=lf
|
|
12
|
+
*.css text eol=lf
|
|
13
|
+
*.md text eol=lf
|
|
14
|
+
*.prisma text eol=lf
|
|
15
|
+
|
|
16
|
+
# Explicit binary types (no EOL conversion)
|
|
17
|
+
*.png binary
|
|
18
|
+
*.jpg binary
|
|
19
|
+
*.jpeg binary
|
|
20
|
+
*.gif binary
|
|
21
|
+
*.webp binary
|
|
22
|
+
*.ico binary
|
|
23
|
+
*.icns binary
|
|
24
|
+
*.woff binary
|
|
25
|
+
*.woff2 binary
|
|
26
|
+
*.ttf binary
|
|
27
|
+
*.otf binary
|
|
28
|
+
*.eot binary
|
|
29
|
+
*.zip binary
|
|
30
|
+
*.tgz binary
|
|
31
|
+
*.tar.gz binary
|
|
32
|
+
*.lock binary
|
|
33
|
+
|
|
34
|
+
# Local database stores stay binary (the sqlite mirrors the workbench writes at runtime)
|
|
35
|
+
*.db binary
|
|
36
|
+
*.db-journal binary
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
26.13.0
|
package/App.tsx
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
* directly and every page is public; the intro (/intro) is the one bare
|
|
8
8
|
* presentation page the family grammar gives every app, mounted full-bleed
|
|
9
9
|
* under the family fullscreen law. The root manages the theme as a single
|
|
10
|
-
* file: it imports only the theme anchor (
|
|
11
|
-
* after the theme folder, beside
|
|
10
|
+
* file: it imports only the theme anchor (sol/Sol.tsx — the file named
|
|
11
|
+
* after the theme folder, beside sol/sol.css), the theme stylesheet and the
|
|
12
12
|
* root logics, wraps the anchor in the wouter router (the subpath the pages
|
|
13
13
|
* deploy owns answers through the declared base, the same mount grammar
|
|
14
14
|
* every sibling carries) and renders the theme into the root element —
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
*/
|
|
19
19
|
import { createRoot } from "react-dom/client";
|
|
20
20
|
import { Router as WouterRouter } from "wouter";
|
|
21
|
-
import Sol from "./
|
|
21
|
+
import Sol from "./sol/Sol";
|
|
22
22
|
import "@fontsource-variable/geist-mono";
|
|
23
23
|
import "@fontsource-variable/inter";
|
|
24
|
-
import "./
|
|
24
|
+
import "./sol/sol.css";
|
|
25
25
|
import { seedLabels } from "./labels";
|
|
26
26
|
|
|
27
27
|
// the copy law rides the boot: the seed refreshes the label store rows from
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Cobaia release notes
|
|
2
|
+
|
|
3
|
+
## 2.0.158 — the docstd rung (the document family answers one template)
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
| Area | Change |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| The document suite | Cobaia joins the family document standard: the saddle-shape doc suite lands whole at the app root — the notice, the authors, the copyright, the disclaimer, the eula, the support, the governance, the cla, the acceptable use policy, the export control notice, the trademark policy, the terms of use, the terms and conditions, the privacy policy, the code of conduct, the bug report, the pull request template, the third-party notices, the readme, the security policy and this changelog — every seat of the family answering one template in its own voice. |
|
|
10
|
+
| The provenance | The suite adapts the saddle reference documents (the most complete seat of the family) to the cobaia seat — the public monetization surface: mrr plans, honest ad slots and the support links; GPL-3.0-only, the DevThink monorepo home (https://github.com/wenathlan/devthink/tree/main/cobaia) and the owner contact carry across every file. |
|
package/Dockerfile
CHANGED
|
@@ -14,8 +14,11 @@ ARG COBAIA_VERSION=2.0.134
|
|
|
14
14
|
|
|
15
15
|
WORKDIR /src
|
|
16
16
|
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
|
17
|
+
COPY pnpmboot.package.json /tmp/pnpmboot/package.json
|
|
18
|
+
COPY pnpmboot.package-lock.json /tmp/pnpmboot/package-lock.json
|
|
17
19
|
RUN apk add --no-cache python3 make g++ \
|
|
18
|
-
&& npm
|
|
20
|
+
&& npm ci --prefix /tmp/pnpmboot --no-fund --no-audit \
|
|
21
|
+
&& ln -sf /tmp/pnpmboot/node_modules/.bin/pnpm /usr/local/bin/pnpm \
|
|
19
22
|
&& pnpm install --frozen-lockfile
|
|
20
23
|
COPY . .
|
|
21
24
|
RUN pnpm build
|
package/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# cobaia
|
|
2
|
+
|
|
3
|
+
Public monetization surface. MRR plans, honest ad slots and the support links (github sponsors, ko-fi); the os imports it for plans, quotas and billing surfaces while the family apps stay clean. This folder receives the cobaia application per the complete tree.
|
|
4
|
+
|
|
5
|
+
The document suite answers the family template: the legal and community set (notice, authors, copyright, disclaimer, eula, support, governance, cla, acceptable use policy, export control, trademark policy, terms of use, terms and conditions, privacy policy, code of conduct), the contribution set (contributing, bug report, pull request template, third-party notices) and the release face (this readme, SECURITY, CHANGELOG) — the saddle-shape suite every seat of the family carries, in the cobaia voice.
|
package/SECURITY.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Security Policy — Cobaia (the monetization surface)
|
|
2
|
+
|
|
3
|
+
## Supported release line
|
|
4
|
+
|
|
5
|
+
Security fixes target the maintained `2.x` family line and later maintained releases.
|
|
6
|
+
|
|
7
|
+
| Version | Supported |
|
|
8
|
+
| --- | --- |
|
|
9
|
+
| 2.0.x (the family ladder) | Yes |
|
|
10
|
+
|
|
11
|
+
## Scope
|
|
12
|
+
|
|
13
|
+
Cobaia is the public monetization surface of the DevThink family: the mrr plan catalog, the honest ad slots and the support links (github sponsors, ko-fi) — the os imports it for plans, quotas and billing surfaces. The Plan, ad slot and support surfaces read only the configuration and the data the operator supplies; nothing rides upstream without an operator-requested integration.
|
|
14
|
+
|
|
15
|
+
## Secrets and credentials
|
|
16
|
+
|
|
17
|
+
The public repository must not include provider keys, session cookies, database files, captured authorization headers or `.env` payloads. The plan catalog and the ad slots reference public support links; the repository carries no payment credential. The CI secret-scan gate (TruffleHog with `--results=verified` over the full git history) and the Trivy filesystem scan (vuln, secret, misconfig) run on every push and pull request.
|
|
18
|
+
|
|
19
|
+
Private disclosure: do not publish exploit details in a public issue before maintainers have had a reasonable opportunity to investigate and coordinate a fix. Remove sensitive data from logs and send a minimal report through the repository's private security reporting channel at https://github.com/wenathlan/devthink/security/advisories/new. Revoke any credential that may have appeared in a local file or public commit before reporting. Security advisories and published fixes are tracked at https://github.com/wenathlan/devthink/security/advisories.
|
|
20
|
+
|
|
21
|
+
Security testing must be authorized by the owner of the target system. Development and CI scanning of artifacts is allowed within the project's own build and test environments. Unauthorized penetration testing, fuzzing, active scanning or credential probing of third-party systems is not allowed.
|
|
22
|
+
|
|
23
|
+
## Supply chain
|
|
24
|
+
|
|
25
|
+
- Security advisories for the npm package line are published at https://github.com/wenathlan/devthink/security/advisories.
|
|
26
|
+
- The version tag is the supply-chain contract for every GitHub Actions reference (the family standard: digests and checksums are computed on the GitHub runners at run time — release `SHA256SUMS` assets, GitHub-computed release-asset digests consumed as build args — never written into workflow files or the Dockerfile).
|
|
27
|
+
- The project records accepted risks, dependency advisories and remediation status in the security documentation and workflow reports.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Cobaia acceptable use policy
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
The Cobaia source code is licensed under the GNU General Public License version 3.0 only. This policy governs hosted services, credentials, runners and integrations operated with Cobaia; it does not reduce rights granted by the GPL.
|
|
6
|
+
|
|
7
|
+
Operators must use Cobaia lawfully, respect the terms of each connected provider, protect credentials, and obtain authorization before accessing systems or data. Operators must not use Cobaia to distribute malware, evade access controls, attack third-party systems, violate privacy, infringe intellectual property, or exceed provider quotas.
|
|
8
|
+
|
|
9
|
+
The project may suspend a hosted integration or reject an unsafe request when necessary to protect users, providers or the public. These operational controls do not restrict lawful use, modification or redistribution of the GPL-licensed software itself.
|
package/authors.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Cobaia authors
|
|
2
|
+
|
|
3
|
+
Copyright (C) 2026 devthink, nathlan, iakadion, nathu filho, allan neris, andraneris, and contributors.
|
|
4
|
+
|
|
5
|
+
The project authors and historical copyright holders are:
|
|
6
|
+
|
|
7
|
+
| Contributor | Role |
|
|
8
|
+
|---|---|
|
|
9
|
+
| devthink | Historical author and project contributor |
|
|
10
|
+
| nathlan | Project owner and maintainer |
|
|
11
|
+
| iakadion | Historical author and project contributor |
|
|
12
|
+
| nathu filho | Historical author and project contributor |
|
|
13
|
+
| allan neris | Historical author and project contributor |
|
|
14
|
+
| andraneris | Historical author and project contributor |
|
|
15
|
+
|
|
16
|
+
Cobaia is maintained at https://github.com/wenathlan/devthink/tree/main/cobaia (the DevThink monorepo) and distributed under GPL-3.0-only. Contributors retain copyright in their original contributions unless a separate written agreement states otherwise.
|
package/biome.jsonc
CHANGED
package/bugreport.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug Report
|
|
3
|
+
about: Report a reproducible issue in Cobaia
|
|
4
|
+
title: "[BUG]"
|
|
5
|
+
labels: bug
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Cobaia is licensed under GPL-3.0-only. Please do not include secrets or private data.
|
|
9
|
+
|
|
10
|
+
**Describe the issue:**
|
|
11
|
+
|
|
12
|
+
**File / Line:**
|
|
13
|
+
|
|
14
|
+
**Expected behavior:**
|
|
15
|
+
|
|
16
|
+
**Additional context:**
|