Brand protection: GPL section 7 terms, TRADEMARKS.md, the name and taglines in one file #77

Merged
anas merged 1 commits from feature/brand-protection into main 2026-10-09 16:01:31 +00:00
Owner

Owner request: people who fork or clone Divan may use the code, but not present their site as Divan or copy its branding.

The code stays GPL v3. Copying and changing the code cannot be prevented, and is the point of open source. What can be protected is the brand (trademark, not copyright), plus attribution.

NOTICE: additional terms under GPL v3 section 7, which the GPL allows the authors to add to their own code:

  • 7(b) Attribution: forks keep "Based on Divan (link) by Anas Rashid, under the GNU GPL v3" in their legal notices (for a site: about page or footer).
  • 7(c) Origin: modified versions must be marked as different and must not be presented as Divan, or as made or endorsed by it.
  • 7(e) Names and logos: no rights to Divan's name, logos, tagline, masthead or share-card design. A public fork uses its own.
  • The old .NET code at the tag dotnet-final (a GanjoorService fork) stays under that project's licence; these terms do not apply to it.

TRADEMARKS.md

  • What belongs to Divan: the name دیوان / Divan for this project; the shamsa and ترنج logos and icons (file paths listed); the footer tagline with the flag; the masthead and share-card designs.
  • Allowed: saying a site is "based on Divan", private unchanged use, writing about the project.
  • Not allowed: a public modified copy under the Divan name or logos, or a confusing name, domain or design.
  • Making your own site: step-by-step rebranding.

web/src/lib/brand.ts

  • The name, tagline, footer tagline and attribution in one place. The layout's title, og:site_name, image alt text, footer heading, about link and footer tagline now read from it.
  • The page renders exactly as before; checked on a test server.

README: the licence section mentions NOTICE and TRADEMARKS.md.

Not in this PR: registering دیوان / Divan and the logo as trademarks with IPO-Pakistan, which is the owner's step and gives real enforcement. This is general guidance, not legal advice.

Made in a separate worktree from the latest main; the desktop session in ~/divan was not touched.

🤖 Generated with Claude Code

Owner request: people who fork or clone Divan may use the code, but not present their site as Divan or copy its branding. The code stays **GPL v3**. Copying and changing the code cannot be prevented, and is the point of open source. What can be protected is the **brand** (trademark, not copyright), plus attribution. **`NOTICE`: additional terms under GPL v3 section 7**, which the GPL allows the authors to add to their own code: - **7(b) Attribution:** forks keep *"Based on Divan (link) by Anas Rashid, under the GNU GPL v3"* in their legal notices (for a site: about page or footer). - **7(c) Origin:** modified versions must be marked as different and must not be presented as Divan, or as made or endorsed by it. - **7(e) Names and logos:** no rights to Divan's name, logos, tagline, masthead or share-card design. A public fork uses its own. - The old .NET code at the tag `dotnet-final` (a GanjoorService fork) stays under that project's licence; these terms do not apply to it. **`TRADEMARKS.md`** - **What belongs to Divan:** the name دیوان / Divan for this project; the shamsa and ترنج logos and icons (file paths listed); the footer tagline with the flag; the masthead and share-card designs. - **Allowed:** saying a site is "based on Divan", private unchanged use, writing about the project. - **Not allowed:** a public modified copy under the Divan name or logos, or a confusing name, domain or design. - **Making your own site:** step-by-step rebranding. **`web/src/lib/brand.ts`** - The name, tagline, footer tagline and attribution in one place. The layout's title, `og:site_name`, image alt text, footer heading, about link and footer tagline now read from it. - The page renders exactly as before; checked on a test server. **README:** the licence section mentions NOTICE and TRADEMARKS.md. **Not in this PR:** registering دیوان / Divan and the logo as trademarks with IPO-Pakistan, which is the owner's step and gives real enforcement. This is general guidance, not legal advice. Made in a separate worktree from the latest main; the desktop session in `~/divan` was not touched. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
anas added 1 commit 2026-10-09 15:59:52 +00:00
anas merged commit bc51aa66ab into main 2026-10-09 16:01:31 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: anas/divan#77
No description provided.