license!: MIT -> PolyForm Noncommercial 1.0.0 (source-available)

Reading and reviewing the code stays free, noncommercial use stays free;
any commercial use now requires a paid license from the author.
Releases through v1.4.1 remain MIT.
This commit is contained in:
Abolfazl Ranjbaran committed 2026-11-26 07:59:23 +00:00
1 parent d8f657c5c6
commit 9165714a5f
11 files changed
+154 -36

No files matched your search

+11
View File
@@ -13,6 +13,17 @@ The format follows [Keep a Changelog](https://keepachangelog.com/) and the proje
icon (`docs/assets/icon-512.png`) usable as the HF Space avatar. The
landing site og:image was regenerated in the same style.
### Changed
- **License: MIT → PolyForm Noncommercial 1.0.0 (source-available).** The
code stays readable and reviewable by anyone, and noncommercial use
(personal projects, study, research, nonprofits) remains free; any
commercial use now requires a paid license from the author. Releases up
to and including v1.4.1 (2026-11-26) were published under MIT and remain
under it. Applied across LICENSE, both READMEs, CITATION.cff, both
pyproject.toml files, web/package.json, the landing site copy, the demo
Space metadata and the fine-tuned model card.
## [1.4.1] - 2026-11-26
### Security
+1 -1
View File
@@ -8,7 +8,7 @@ authors:
email: 206173650+Abolfazlrwm@users.noreply.github.com
version: "1.4.1"
date-released: "2026-11-26"
license: MIT
license: PolyForm-Noncommercial-1.0.0
repository-code: "https://github.com/Abolfazlrwm/sokhan"
url: "https://abolfazlrwm.github.io/sokhan/"
abstract: >-
+96 -17
View File
@@ -1,21 +1,100 @@
MIT License
# Sokhan · سخن — Source-Available License
Copyright (c) 2026 Sokhan contributors
Copyright (c) 2026 Abolfazl Ranjbaran (https://github.com/Abolfazlrwm)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Sokhan is made **source-available** so anyone can read, review, inspect and
evaluate the code — including prospective clients and employers. It is
**free for noncommercial use** (personal projects, personal study, research,
testing, hobby work, and nonprofit organizations) under the PolyForm
Noncommercial License 1.0.0, reproduced verbatim below.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
**Any commercial use — running it for a business, building client projects
on it, reselling it, or offering it as a hosted service — requires a paid
commercial license.** To arrange licensing, support, custom deployment or
fine-tuning work, contact the author:
**Abolfazl Ranjbaran — <https://github.com/Abolfazlrwm>**
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
> Required Notice: Copyright Abolfazl Ranjbaran (https://github.com/Abolfazlrwm)
## Heritage note
Every release of Sokhan up to and including v1.4.1 (2026-11-26) was
distributed under the MIT License; copies obtained from those releases
remain under the MIT License. The PolyForm Noncommercial License 1.0.0
below applies to the software from this change onward.
---
# PolyForm Noncommercial License 1.0.0
<https://polyformproject.org/licenses/noncommercial/1.0.0>
## Acceptance
In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
## Copyright License
The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).
## Distribution License
The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).
## Notices
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
## Changes and New Works License
The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
## Patent License
The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
## Noncommercial Purposes
Any noncommercial purpose is a permitted purpose.
## Personal Uses
Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
## Noncommercial Organizations
Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
## Fair Use
You may have "fair use" rights for the software under the law. These terms do not limit them.
## No Other Rights
These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
## Patent Defense
If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
## Violations
The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
## No Liability
***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
## Definitions
The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
**You** refers to the individual or entity agreeing to these terms.
**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
**Your licenses** are all the licenses granted to you for the software under these terms.
**Use** means anything you do with the software requiring one of your licenses.
+11 -2
View File
@@ -14,6 +14,7 @@
[![Release](https://img.shields.io/github/v/release/Abolfazlrwm/sokhan?display_name=tag)](https://github.com/Abolfazlrwm/sokhan/releases)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/badge/github_Abolfazlrwm/sokhan)](https://api.securityscorecards.dev/projects/github.com/Abolfazlrwm/sokhan)
[![Landing page](https://img.shields.io/badge/landing_page-abolfazlrwm.github.io%2Fsokhan-2dd4bf)](https://abolfazlrwm.github.io/sokhan/)
[![License: PolyForm Noncommercial 1.0.0](https://img.shields.io/badge/license-PolyForm%20Noncommercial%201.0.0-2dd4bf)](LICENSE)
**کیت گفتار به متنِ فارسی‌محور.** یک پیام صوتی بفرستید — متنِ کامل و خلاصه تحویل بگیرید.
@@ -32,7 +33,7 @@
سخن کاملاً روی سخت‌افزار خودتان اجرا می‌شود: یک سرویس FastAPI با موتور
faster-whisper، یک ورکر Celery، یک داشبورد Next.js که فارسی‌محور نوشته
شده (راست‌به‌چپ)، و یک ربات تلگرام اختیاری. بدون حساب ابری، بدون قیمتِ
هر دقیقه، با لایسنس MIT.
هر دقیقه. متن‌بازِ‌قابل‌مطالعه: برای استفاده غیرتجاری رایگان، برای استفاده تجاری لایسنس تجاری (بخش [لایسنس](#لایسنس)).
![داشبورد وب سخن — صفحهٔ اصلی](docs/assets/web-landing-fa.png)
@@ -333,4 +334,12 @@ site/ لندینگ‌پیج GitHub Pages (دیپلوی خودکار)
## لایسنس
MIT — ببینید [LICENSE](LICENSE).
سخن با لایسنس [PolyForm Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0)
منتشر می‌شود (متن کامل در [LICENSE](LICENSE)): خواندن، بررسی و ارزیابیِ کد
آزاد است و **استفادهٔ غیرتجاری** (پروژهٔ شخصی، مطالعه، پژوهش، سازمان‌های
غیرانتفاعی) رایگان. **هر استفادهٔ تجاری** — اجرا برای کسب‌وکار، پروژهٔ
مشتری، فروش، یا ارائه به‌عنوان سرویس — به لایسنس تجاریِ پولی از نویسنده
نیاز دارد: [ابوالفضل رنجبران](https://github.com/Abolfazlrwm).
نسخه‌های تا و شامل v1.4.1 (۲۰۲۶-۱۱-۲۶) تحت لایسنس MIT منتشر شده بودند و
تحت همان لایسنس باقی می‌مانند.
+13 -2
View File
@@ -14,6 +14,7 @@
[![Release](https://img.shields.io/github/v/release/Abolfazlrwm/sokhan?display_name=tag)](https://github.com/Abolfazlrwm/sokhan/releases)
[![OpenSSF Scorecard](https://api.securityscorecards.dev/badge/github_Abolfazlrwm/sokhan)](https://api.securityscorecards.dev/projects/github.com/Abolfazlrwm/sokhan)
[![Landing page](https://img.shields.io/badge/landing_page-abolfazlrwm.github.io%2Fsokhan-2dd4bf)](https://abolfazlrwm.github.io/sokhan/)
[![License: PolyForm Noncommercial 1.0.0](https://img.shields.io/badge/license-PolyForm%20Noncommercial%201.0.0-2dd4bf)](LICENSE)
**Persian-first speech-to-text toolkit.** Send a voice message — get back a transcript and a summary.
@@ -31,7 +32,8 @@ Spaces behind PRO, so the free Space is the static page. A one-page
Sokhan runs entirely on your own hardware: a FastAPI service with a
faster-whisper engine, a Celery worker, a Next.js dashboard written
Persian-first (RTL), and an optional Telegram bot. No cloud account, no
per-minute pricing, MIT-licensed.
per-minute pricing. Source-available: free for noncommercial use,
paid license for commercial use (see [License](#license)).
![Sokhan web dashboard — landing page](docs/assets/web-landing-fa.png)
@@ -331,4 +333,13 @@ rule everything is held to): [docs/ROADMAP.md](docs/ROADMAP.md).
## License
MIT — see [LICENSE](LICENSE).
Sokhan is source-available under the [PolyForm Noncommercial 1.0.0](https://polyformproject.org/licenses/noncommercial/1.0.0)
license (see [LICENSE](LICENSE)): reading, reviewing and evaluating the code
is free, and **noncommercial use** (personal projects, study, research,
nonprofits) is free. **Any commercial use** — deploying it for a business,
building client projects on it, reselling it, or hosting it as a service —
requires a paid license from the author:
[Abolfazl Ranjbaran](https://github.com/Abolfazlrwm).
Releases up to and including v1.4.1 (2026-11-26) were published under the
MIT License and remain under it.
+2 -2
View File
@@ -7,12 +7,12 @@ name = "sokhan-backend"
description = "Persian-first speech-to-text engine and REST API for Sokhan"
requires-python = ">=3.10"
authors = [{ name = "Abolfazl Ranjbaran", email = "206173650+Abolfazlrwm@users.noreply.github.com" }]
license = { text = "MIT" }
license = { text = "PolyForm Noncommercial 1.0.0" }
keywords = ["persian", "farsi", "speech-to-text", "asr", "whisper", "fastapi", "self-hosted"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"License :: Other/Proprietary License",
"Natural Language :: Persian",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
+2 -2
View File
@@ -7,12 +7,12 @@ name = "sokhan-bot"
description = "Telegram bot for Sokhan: send a voice message, receive the transcript"
requires-python = ">=3.10"
authors = [{ name = "Abolfazl Ranjbaran", email = "206173650+Abolfazlrwm@users.noreply.github.com" }]
license = { text = "MIT" }
license = { text = "PolyForm Noncommercial 1.0.0" }
keywords = ["persian", "farsi", "telegram-bot", "asr", "transcription", "aiogram"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"License :: Other/Proprietary License",
"Natural Language :: Persian",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
+6 -6
View File
@@ -4,9 +4,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>سخن — تبدیل گفتار فارسی به متن | Sokhan</title>
<meta name="description" content="سخن یک کیت متن‌باز تبدیل گفتار فارسی به متن است: FastAPI + faster-whisper + داشبورد Next.js فارسی‌محور + ربات تلگرام — کاملاً سلف‌هاست با لایسنس MIT.">
<meta name="description" content="سخن یک کیت تبدیل گفتار فارسی به متن است: FastAPI + faster-whisper + داشبورد Next.js فارسی‌محور + ربات تلگرام — کاملاً سلف‌هاست، رایگان برای استفاده غیرتجاری.">
<meta property="og:title" content="سخن — Persian-first speech-to-text">
<meta property="og:description" content="Self-hosted Persian speech-to-text: FastAPI, faster-whisper, Next.js dashboard, Telegram bot. Measured WER, open source, MIT.">
<meta property="og:description" content="Self-hosted Persian speech-to-text: FastAPI, faster-whisper, Next.js dashboard, Telegram bot. Measured WER, source-available, free for noncommercial use.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://abolfazlrwm.github.io/sokhan/">
<meta property="og:image" content="https://abolfazlrwm.github.io/sokhan/assets/og-image.png">
@@ -14,7 +14,7 @@
<meta property="og:locale:alternate" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="سخن — Persian-first speech-to-text">
<meta name="twitter:description" content="Self-hosted Persian speech-to-text: FastAPI, faster-whisper, Next.js dashboard, Telegram bot. Measured WER, open source, MIT.">
<meta name="twitter:description" content="Self-hosted Persian speech-to-text: FastAPI, faster-whisper, Next.js dashboard, Telegram bot. Measured WER, source-available, free for noncommercial use.">
<meta name="twitter:image" content="https://abolfazlrwm.github.io/sokhan/assets/og-image.png">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>🎙️</text></svg>">
<link rel="stylesheet" href="./style.css">
@@ -39,7 +39,7 @@
<!-- ============ hero ============ -->
<section class="hero">
<div class="container">
<p class="eyebrow">Open source · MIT · v1.4.1</p>
<p class="eyebrow">Source-available · free for noncommercial use · v1.4.1</p>
<h1>گفتار فارسی، به متنِ دقیق —<br><span class="accent">روی سرورِ خودت</span></h1>
<p class="hero-fa">
سخن یک کیت کامل تبدیل گفتار به متن است: سرویس FastAPI با موتور
@@ -48,7 +48,7 @@
سرویس ابری و بدون قیمتِ هر دقیقه.
</p>
<p class="hero-en" dir="ltr">
Persian-first speech-to-text toolkit — self-hosted, measured, MIT-licensed.
Persian-first speech-to-text toolkit — self-hosted, measured, free for noncommercial use.
</p>
<div class="cta-row">
<a class="btn btn-primary" href="https://huggingface.co/spaces/Abol0pati/sokhan-fa-demo" rel="noopener">
@@ -226,7 +226,7 @@ docker pull ghcr.io/abolfazlrwm/sokhan-api:latest</pre>
<footer class="footer">
<div class="container footer-inner">
<div class="footer-fa">
<strong>سخن</strong> — کیت متن‌بازِ گفتار به متنِ فارسی · لایسنس MIT
<strong>سخن</strong> — کیت گفتار به متنِ فارسی · لایسنس PolyForm Noncommercial (غیرتجاری رایگان)
</div>
<nav>
<a href="https://github.com/Abolfazlrwm/sokhan" rel="noopener">GitHub</a>
+3 -1
View File
@@ -5,7 +5,9 @@ colorFrom: indigo
colorTo: purple
sdk: static
pinned: false
license: mit
license: other
license_name: PolyForm Noncommercial 1.0.0
license_link: https://github.com/Abolfazlrwm/sokhan/blob/main/LICENSE
short_description: تبدیل گفتار فارسی به نوشتار — اجرا کامل درون مرورگر
---
+8 -2
View File
@@ -1,7 +1,9 @@
---
language:
- fa
license: mit
license: other
license_name: PolyForm Noncommercial 1.0.0
license_link: https://github.com/Abolfazlrwm/sokhan/blob/main/LICENSE
base_model:
- openai/whisper-small
tags:
@@ -102,4 +104,8 @@ on a PRO Space (HF gates hosted Gradio Spaces behind PRO since 2026).
Persian Common Voice files are no longer re-published as downloads by
Mozilla; the pipeline uses the public parquet mirror instead. Licensing
follows CC-0 for the data and MIT for the code.
follows CC-0 for the data, and the PolyForm Noncommercial 1.0.0
source-available license for the code and the fine-tuned weights — free
for noncommercial use, commercial use requires a license from the author
(https://github.com/Abolfazlrwm). The base Whisper weights remain MIT
(OpenAI).
+1 -1
View File
@@ -3,7 +3,7 @@
"version": "1.4.1",
"private": true,
"description": "Persian-first RTL web dashboard for Sokhan speech-to-text",
"license": "MIT",
"license": "PolyForm-Noncommercial-1.0.0",
"homepage": "https://abolfazlrwm.github.io/sokhan/",
"repository": {
"type": "git",