renovate[bot] cb9a9a72bc chore: bump up nodemailer version to v10.1.4 [SECURITY] (#15738)
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [nodemailer](https://nodemailer.com/)
([source](https://redirect.github.com/nodemailer/nodemailer)) |
[`10.0.13` →
`10.1.4`](https://renovatebot.com/diffs/npm/nodemailer/10.0.13/10.1.4) |
![age](https://developer.mend.io/api/mc/badges/age/npm/nodemailer/10.1.4?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/nodemailer/10.0.13/10.1.4?slim=true)
|

---

### Nodemailer: A ">" inside a quoted local part ends an angle-addr
early in addressparser, delivering to a domain the header does not name

[GHSA-85x2-q946-cp5h](https://redirect.github.com/advisories/GHSA-85x2-q946-cp5h)

<details>
<summary>More information</summary>

#### Details
##### Vulnerability summary

addressparser ends an angle-addr at the first `>` it sees, including one
inside a quoted local part, a comment or a domain literal. The domain is
then read off the text in front of that `>`. `<"a@evil.com>"@good.com>`
is the mailbox `"a@evil.com>"@good.com` under RFC 5322, and Nodemailer
read it as an address at `evil.com`. The unbracketed spelling of the
same value was already read correctly. Affected: 3.0.0 through 10.1.3.

##### Attacker capabilities

The attacker controls the text of a recipient or sender address that an
application passes to Nodemailer, for example a To value entered in a
contact or invite form, or the header of an inbound message parsed with
mailparser. No access to the application, its configuration or its
credentials is needed. The value is a syntactically valid RFC 5322
address that conformant parsers accept without defects.

##### Realistic exploitation scenario

An application lets users send invitations or notifications only to
addresses at an allowed domain and validates the submitted value with a
conformant parser or by checking its domain. The attacker submits
`<"a@evil.com>"@good.com>`, which validates as a `good.com` mailbox.
Nodemailer then parses the same value, issues `RCPT TO:<"\"a"@evil.com>`
and the message, with whatever content the application puts into it, is
delivered to the attacker's domain. The security boundary crossed is the
application's recipient allow list. In the inbound direction, mailparser
reports a different address than a conformant reader of the same header,
so a display or policy layer built on the two disagrees.

##### Proof of concept

```js
const addressparser = require('nodemailer/lib/addressparser');
console.log(addressparser("<\"a@evil.com>\"@good.com>"));
// [ { address: '"a@evil.com', name: '@good.com>' } ]
```

Python's `email._header_value_parser.get_address_list` reads the same
value as `"a@evil.com>"@good.com`, with no defects reported.

The envelope a message gets is built from the same parse, so `sendMail({
to: "<\"a@evil.com>\"@good.com>" })` issues the RCPT TO shown above.

##### Security impact

Mail that an application intends for an allowed domain is delivered to a
domain chosen by the attacker, which discloses its content. It is a
security vulnerability rather than a parsing bug because the misreading
only occurs for values that a conformant validator approves, so
validation done the right way is bypassed. Affected are applications
that pass user influenced addresses to Nodemailer and consumers of the
standalone parser such as mailparser.

The fix tracks quoted strings, comments and domain literals inside an
angle-addr and reads only a `>` outside them.

Found in an internal review of addressparser on 2026-10-18. Verified on
3.0.0, 6.9.16 and 10.1.3.

#### Severity
- CVSS Score: 6.5 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`

#### References
-
[https://github.com/nodemailer/nodemailer/security/advisories/GHSA-85x2-q946-cp5h](https://redirect.github.com/nodemailer/nodemailer/security/advisories/GHSA-85x2-q946-cp5h)
-
[https://github.com/nodemailer/nodemailer/commit/1cd57d2b8c49dff048c21cdbafdb54439a7f07e2](https://redirect.github.com/nodemailer/nodemailer/commit/1cd57d2b8c49dff048c21cdbafdb54439a7f07e2)
-
[https://github.com/nodemailer/nodemailer/releases/tag/v10.1.4](https://redirect.github.com/nodemailer/nodemailer/releases/tag/v10.1.4)
-
[https://github.com/advisories/GHSA-85x2-q946-cp5h](https://redirect.github.com/advisories/GHSA-85x2-q946-cp5h)

This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-85x2-q946-cp5h)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### Nodemailer: A ";" inside a quoted string or comment ends an address
group early in addressparser, turning display text into a recipient

[GHSA-m943-m63m-w62w](https://redirect.github.com/advisories/GHSA-m943-m63m-w62w)

<details>
<summary>More information</summary>

#### Details
##### Vulnerability summary

addressparser ends an RFC 5322 group at the first `;`, including one
inside a quoted display name or a comment. The text after it is parsed
again as top level recipients with the quoting flipped, so text that
every conformant parser reads as a display name or comment becomes a
live address. `G: (a; <evil@evil.com>) <v@victim.com>;` names only
`v@victim.com`, and Nodemailer read it as the single recipient
`evil@evil.com`. Affected: 3.0.0 through 10.1.3.

##### Attacker capabilities

The attacker controls the text of an address field that an application
passes to Nodemailer, or the header of an inbound message parsed with
mailparser. No access to the application, its configuration or its
credentials is needed. The value is a syntactically valid RFC 5322 group
that conformant parsers accept without defects.

##### Realistic exploitation scenario

An application validates the recipients of a submitted address list with
a conformant parser and only allows addresses at its own domain. The
attacker submits `G: (a; <evil@evil.com>) <v@victim.com>;`. The
validator sees one mailbox, `v@victim.com`, and approves it. Nodemailer
delivers to `evil@evil.com` only. The same works through a quoted
display name, `G: "a;" "<evil@evil.com>" <v@victim.com>;`. The boundary
crossed is the application's recipient allow list.

##### Proof of concept

```js
const addressparser = require('nodemailer/lib/addressparser');
console.log(addressparser("G: (a; <evil@evil.com>) <v@victim.com>;"));
// [ { name: 'G', group: [ [Object] ] }, { address: 'evil@evil.com', name: ') v@victim.com' } ]
```

Python's `email._header_value_parser.get_address_list` reads the same
value as the single mailbox `v@victim.com`, with no defects reported.

The envelope a message gets is built from the same parse, so `sendMail({
to: "G: (a; <evil@evil.com>) <v@victim.com>;" })` issues the RCPT TO
shown above.

##### Security impact

Mail that an application intends for an approved recipient goes to a
recipient chosen by the attacker, which discloses its content, and the
intended recipient never receives it. The misreading only occurs on
values a conformant validator approves, so correct validation is
bypassed, which makes it a security issue rather than a parsing bug.
Affected are applications that pass user influenced address lists to
Nodemailer and consumers of the standalone parser such as mailparser.

The fix tracks quoted strings and comments inside a group and reads only
a `;` outside them.

Found in an internal review of addressparser on 2026-10-18. Verified on
3.0.0, 6.9.16 and 10.1.3.

#### Severity
- CVSS Score: 6.5 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`

#### References
-
[https://github.com/nodemailer/nodemailer/security/advisories/GHSA-m943-m63m-w62w](https://redirect.github.com/nodemailer/nodemailer/security/advisories/GHSA-m943-m63m-w62w)
-
[https://github.com/nodemailer/nodemailer/commit/1cd57d2b8c49dff048c21cdbafdb54439a7f07e2](https://redirect.github.com/nodemailer/nodemailer/commit/1cd57d2b8c49dff048c21cdbafdb54439a7f07e2)
-
[https://github.com/nodemailer/nodemailer/releases/tag/v10.1.4](https://redirect.github.com/nodemailer/nodemailer/releases/tag/v10.1.4)
-
[https://github.com/advisories/GHSA-m943-m63m-w62w](https://redirect.github.com/advisories/GHSA-m943-m63m-w62w)

This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-m943-m63m-w62w)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### Nodemailer: A nested comment ends early in addressparser, releasing
the rest of the comment as a recipient

[GHSA-8c8m-p3m8-cjg8](https://redirect.github.com/advisories/GHSA-8c8m-p3m8-cjg8)

<details>
<summary>More information</summary>

#### Details
##### Vulnerability summary

RFC 5322 comments nest. addressparser ended a comment at the first `)`,
including the one that closes a nested comment, and parsed the rest of
the outer comment as header text. `Victim (x(y) <evil@evil.com>)
<v@victim.com>` names `v@victim.com` with `x(y) <evil@evil.com>` as a
comment, and Nodemailer read it as the address `evil@evil.com`. This is
the same shape as the escaped parenthesis fixed in 10.1.2, reached
through nesting instead of a quoted-pair. Affected: 3.0.0 through
10.1.3.

##### Attacker capabilities

The attacker controls the text of an address that an application passes
to Nodemailer, or the From or To header of an inbound message parsed
with mailparser. No access to the application, its configuration or its
credentials is needed. The value is a syntactically valid RFC 5322
address that conformant parsers accept without defects.

##### Realistic exploitation scenario

An application validates a submitted address with a conformant parser
and allows only its own domain. The attacker submits `Victim (x(y)
<evil@evil.com>) <v@victim.com>`, which validates as `v@victim.com`.
Nodemailer delivers to `evil@evil.com`. In the inbound direction, a
DMARC or display layer built on a conformant parser and a mail client
built on mailparser disagree on the author of the same message, which is
the setting for sender spoofing. The boundary crossed is the
application's recipient allow list, or the author check of the receiving
side.

##### Proof of concept

```js
const addressparser = require('nodemailer/lib/addressparser');
console.log(addressparser("Victim (x(y) <evil@evil.com>) <v@victim.com>"));
// [ { address: 'evil@evil.com', name: 'Victim) v@victim.com' } ]
```

Python's `email._header_value_parser.get_address_list` reads the same
value as `v@victim.com` with the display name `Victim`, with no defects
reported.

The envelope a message gets is built from the same parse, so `sendMail({
to: "Victim (x(y) <evil@evil.com>) <v@victim.com>" })` issues the RCPT
TO shown above.

##### Security impact

Mail intended for an approved recipient is delivered to an attacker
chosen domain, disclosing its content, and parsers built on this module
report a different author than conformant ones. The misreading only
occurs on values a conformant validator approves, so correct validation
is bypassed. Affected are applications that pass user influenced
addresses to Nodemailer and consumers of the standalone parser such as
mailparser.

The fix counts comment depth and ends a comment only at the `)` that
closes the outermost one.

Found in an internal review of addressparser on 2026-10-18. Verified on
3.0.0, 6.9.16 and 10.1.3.

#### Severity
- CVSS Score: 6.5 / 10 (Medium)
- Vector String: `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N`

#### References
-
[https://github.com/nodemailer/nodemailer/security/advisories/GHSA-8c8m-p3m8-cjg8](https://redirect.github.com/nodemailer/nodemailer/security/advisories/GHSA-8c8m-p3m8-cjg8)
-
[https://github.com/nodemailer/nodemailer/commit/0a8761762ac78f2db2ba37f712f2a52a404ce011](https://redirect.github.com/nodemailer/nodemailer/commit/0a8761762ac78f2db2ba37f712f2a52a404ce011)
-
[https://github.com/nodemailer/nodemailer/releases/tag/v10.1.4](https://redirect.github.com/nodemailer/nodemailer/releases/tag/v10.1.4)
-
[https://github.com/advisories/GHSA-8c8m-p3m8-cjg8](https://redirect.github.com/advisories/GHSA-8c8m-p3m8-cjg8)

This data is provided by the [GitHub Advisory
Database](https://redirect.github.com/advisories/GHSA-8c8m-p3m8-cjg8)
([CC-BY
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
</details>

---

### Release Notes

<details>
<summary>nodemailer/nodemailer (nodemailer)</summary>

###
[`v10.1.4`](https://redirect.github.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#1014-2026-10-18)

[Compare
Source](https://redirect.github.com/nodemailer/nodemailer/compare/v10.1.3...v10.1.4)

##### Bug Fixes

- **addressparser:** apply the unexpected "<" rule outside quotes and
comments
([ee35f57](https://redirect.github.com/nodemailer/nodemailer/commit/ee35f5745658bf46952651fa53207255e9dc3406))
- **addressparser:** bound group nesting at ten levels
([ce63303](https://redirect.github.com/nodemailer/nodemailer/commit/ce633031d58f8d2e9c9b0f5b671944a1afe71f95))
- **addressparser:** drop the obsolete route from an angle-addr
([3dbc730](https://redirect.github.com/nodemailer/nodemailer/commit/3dbc7304b0cfa06551543fa2dc01222447c2b554))
- **addressparser:** end a comment only at the ")" that closes the
outermost one
([0a87617](https://redirect.github.com/nodemailer/nodemailer/commit/0a8761762ac78f2db2ba37f712f2a52a404ce011))
- **addressparser:** honour quoted strings and comments inside an
angle-addr and a group
([1cd57d2](https://redirect.github.com/nodemailer/nodemailer/commit/1cd57d2b8c49dff048c21cdbafdb54439a7f07e2))
- **addressparser:** never read a mailbox out of a comment
([a1538ea](https://redirect.github.com/nodemailer/nodemailer/commit/a1538ea39c76c48a4134806c41e31e59a258b1e5))
- **addressparser:** read CFWS beside the "@&#8203;" of an addr-spec as
nothing
([ba3c095](https://redirect.github.com/nodemailer/nodemailer/commit/ba3c0952542581f95cb20d9322cc9e27baa470a2))
- **addressparser:** read the first addr-spec of the display text
([038940a](https://redirect.github.com/nodemailer/nodemailer/commit/038940a069a2cecb64a70d0e81b17eb8ce200d3a))
- split a domain literal off at the "@&#8203;" in front of it
([d5983b0](https://redirect.github.com/nodemailer/nodemailer/commit/d5983b0ae234cd22ab45be817fefd434e9a53d58))

###
[`v10.1.3`](https://redirect.github.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#1013-2026-10-18)

[Compare
Source](https://redirect.github.com/nodemailer/nodemailer/compare/v10.1.2...v10.1.3)

##### Bug Fixes

- format References and strip URLs in linear time, release any number of
streams
([2f18641](https://redirect.github.com/nodemailer/nodemailer/commit/2f186418cf6c8fff18f235d4318892fd42f810fa))

###
[`v10.1.2`](https://redirect.github.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#1012-2026-10-16)

[Compare
Source](https://redirect.github.com/nodemailer/nodemailer/compare/v10.1.1...v10.1.2)

##### Bug Fixes

- bound the work a message can make the mailer do and keep per-message
auth off the transport's token endpoint
([e347fa2](https://redirect.github.com/nodemailer/nodemailer/commit/e347fa2260a7e342e772a7e187937aa87ac96364))

###
[`v10.1.1`](https://redirect.github.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#1011-2026-10-14)

[Compare
Source](https://redirect.github.com/nodemailer/nodemailer/compare/v10.1.0...v10.1.1)

##### Bug Fixes

- **fetch:** strip credentials on any cross-origin redirect
([a15360c](https://redirect.github.com/nodemailer/nodemailer/commit/a15360cd2cd12e4670e96ab0b7290e8c862391cf))

###
[`v10.1.0`](https://redirect.github.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#1010-2026-10-10)

[Compare
Source](https://redirect.github.com/nodemailer/nodemailer/compare/v10.0.16...v10.1.0)

##### Features

- harden message streams, SMTP connections and the connection pool
([8009da6](https://redirect.github.com/nodemailer/nodemailer/commit/8009da6e10bb8e10d7f0948a25d65895fdcd64f1))

##### Bug Fixes

- do not read the environment or the interface table on import
([094179d](https://redirect.github.com/nodemailer/nodemailer/commit/094179d176d2ebe7a28742411ad427d3c87a3981))
- end the SMTP session on any 421 reply and drive the envelope through
one step
([5638ac1](https://redirect.github.com/nodemailer/nodemailer/commit/5638ac1914342460df270f736e7ceb0a844cf83a))
- keep ERR_ACCESS_DENIED from the Node.js permission model
([8b33a3d](https://redirect.github.com/nodemailer/nodemailer/commit/8b33a3d4fedee3431b97da7da12af954c3c8dceb))
- let the proxy handshake and the SMTP connection share one deadline
([91ed683](https://redirect.github.com/nodemailer/nodemailer/commit/91ed683f7a1e9ff8c56e24fb76facf16af08b162))
- **mime-node:** decode an SMTPUTF8 domain from its A-label form
([e436f4d](https://redirect.github.com/nodemailer/nodemailer/commit/e436f4dccbc8b0fb57b4747ebaafa5bb035c15cb))
- **mime-node:** finish an encoded part only after its output was read
([ec97d8f](https://redirect.github.com/nodemailer/nodemailer/commit/ec97d8f679a1d9d47bbebb03ea064f5fa6f58d01))
- **qp:** encode a lone CR or LF in binary quoted-printable parts
([42b91d9](https://redirect.github.com/nodemailer/nodemailer/commit/42b91d9a0fe18eea412c9774c5c142adf5b3efc7))
- **smtp-connection:** count the wait for the greeting against
connectionTimeout
([bdcd046](https://redirect.github.com/nodemailer/nodemailer/commit/bdcd0462cab163eca3c34058d09b9981ab671c47))
- **smtp-connection:** drop the connection when DATA is taken after a
refused sender
([f90fb04](https://redirect.github.com/nodemailer/nodemailer/commit/f90fb045bc24f96a128710791b2fa443e64f55fd))
- **smtp-connection:** refuse a second connect() call
([24ba2e0](https://redirect.github.com/nodemailer/nodemailer/commit/24ba2e0847ecb8202540f1c5e53483bd119ae4f2))
- turn Nagle off for SMTP sockets and report an early sendmail exit as
such
([fa9b8d3](https://redirect.github.com/nodemailer/nodemailer/commit/fa9b8d300bf642cd9e11f6732ebb312c09868677))

##### Performance Improvements

- encode base64 and quoted-printable without per-chunk delays
([fd377bb](https://redirect.github.com/nodemailer/nodemailer/commit/fd377bbf559363860aedbedba6f107348fc152d2))

###
[`v10.0.16`](https://redirect.github.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#10016-2026-10-07)

[Compare
Source](https://redirect.github.com/nodemailer/nodemailer/compare/v10.0.15...v10.0.16)

##### Bug Fixes

- **addressparser:** keep an escaped parenthesis inside a comment
([c4ae20d](https://redirect.github.com/nodemailer/nodemailer/commit/c4ae20d074ac0510cc2d0cbd6039ee7fab3a4ca8))
- **fetch:** keep the case of cookie names
([#&#8203;1888](https://redirect.github.com/nodemailer/nodemailer/issues/1888))
([9f16eed](https://redirect.github.com/nodemailer/nodemailer/commit/9f16eedf8de0485e6d07969113db992ff70f89ce))
- **fetch:** read the cookie name-value pair by position
([645e97c](https://redirect.github.com/nodemailer/nodemailer/commit/645e97c8f0586404d9fb861c9527be7572c2c832))

###
[`v10.0.15`](https://redirect.github.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#10015-2026-10-05)

[Compare
Source](https://redirect.github.com/nodemailer/nodemailer/compare/v10.0.14...v10.0.15)

##### Bug Fixes

- **errors:** inherit NodemailerError code from ErrnoException
([e99db61](https://redirect.github.com/nodemailer/nodemailer/commit/e99db61d51c244e184a3a79103d1d732ffb6376b)),
closes
[#&#8203;1884](https://redirect.github.com/nodemailer/nodemailer/issues/1884)
- **errors:** keep NodemailerError compatible with
[@&#8203;types/node](https://redirect.github.com/types/node) 26
ErrnoException
([#&#8203;1885](https://redirect.github.com/nodemailer/nodemailer/issues/1885))
([b660328](https://redirect.github.com/nodemailer/nodemailer/commit/b6603286cc45bff52c13cc74e5ac47f424452fdc))

###
[`v10.0.14`](https://redirect.github.com/nodemailer/nodemailer/blob/HEAD/CHANGELOG.md#10014-2026-10-03)

[Compare
Source](https://redirect.github.com/nodemailer/nodemailer/compare/v10.0.13...v10.0.14)

##### Bug Fixes

- **addressparser:** keep a quoted display name that holds no "@&#8203;"
out of the address
([3570d26](https://redirect.github.com/nodemailer/nodemailer/commit/3570d26c7b55f6e5df50d4076046600ad3fd040b))
- **addressparser:** keep the group recursion depth out of the options
object
([a680254](https://redirect.github.com/nodemailer/nodemailer/commit/a68025405a1378c82e78f64ffad27b92c1035cbe))
- **addressparser:** stop a "\[" from hiding the operators after it
([5619784](https://redirect.github.com/nodemailer/nodemailer/commit/561978491d5cc33d2052a6c89a499b838b960262))
- **dkim:** trim a header field name in linear time
([c6f7a55](https://redirect.github.com/nodemailer/nodemailer/commit/c6f7a55a2978bf031b8519ebf59baddf94c032c8))
- **mime-funcs:** read and write header parameters per rfc2045 and
rfc2231
([b8ccad7](https://redirect.github.com/nodemailer/nodemailer/commit/b8ccad723a7e49a674a4d70f32eb9fe77312008d))
- search only the new bytes for the end of the proxy CONNECT response
([81efd7b](https://redirect.github.com/nodemailer/nodemailer/commit/81efd7bfc559305f900d6a22b5c56aa94556002b))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/toeverything/AFFiNE).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xODAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE4MC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5IiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-25 13:21:13 +08:00
2026-10-25 00:10:50 +08:00
2026-10-10 23:28:25 +08:00
2026-10-22 16:38:31 +08:00
2026-10-25 00:10:50 +08:00
2026-10-10 23:28:25 +08:00
2026-10-22 16:38:31 +08:00
2026-02-06 19:49:02 +08:00
…
2026-10-22 16:38:31 +08:00
2026-08-11 03:09:54 +08:00
2026-10-25 00:10:50 +08:00
2025-12-29 19:08:49 +08:00
2026-10-22 16:38:31 +08:00
2026-07-15 13:25:57 +08:00

AFFiNE.Pro
Write, Draw and Plan All at Once

affine logo

A privacy-focused, local-first, open-source, and ready-to-use alternative for Notion & Miro.
One hyper-fused platform for wildly creative minds.



AFFiNE - One app for all - Where Notion meets Miro | Product Hunt


Releases All Contributors TypeScript-version-icon


Docs, canvas and tables are hyper-merged with AFFiNE - just like the word affine (əˈfʌɪn | a-fine).

Getting started & staying tuned with us.

Star us, and you will receive all release notifications from GitHub without any delay!

What is AFFiNE

AFFiNE is an open-source, all-in-one workspace and an operating system for all the building blocks that assemble your knowledge base and much more -- wiki, knowledge management, presentation and digital assets. It's a better alternative to Notion and Miro.

Features

A true canvas for blocks in any form. Docs and whiteboard are now fully merged.

  • Many editor apps claim to be a canvas for productivity, but AFFiNE is one of the very few which allows you to put any building block on an edgeless canvas -- rich text, sticky notes, any embedded web pages, multi-view databases, linked pages, shapes and even slides. We have it all.

Multimodal AI partner ready to kick in any work

  • Write up professional work report? Turn an outline into expressive and presentable slides? Summary an article into a well-structured mindmap? Sorting your job plan and backlog for tasks? Or... draw and code prototype apps and web pages directly all with one prompt? With you, AFFiNE AI pushes your creativity to the edge of your imagination, just like Canvas AI to generate mind map for brainstorming.

Local-first & Real-time collaborative

  • We love the idea of local-first that you always own your data on your disk, in spite of the cloud. Furthermore, AFFiNE supports real-time sync and collaborations on web and cross-platform clients.

Self-host & Shape your own AFFiNE

  • You have the freedom to manage, self-host, fork and build your own AFFiNE. Plugin community and third-party blocks are coming soon. More tractions on Blocksuite. Check there to learn how to self-host AFFiNE.

Acknowledgement

“We shape our tools and thereafter our tools shape us”. A lot of pioneers have inspired us along the way, e.g.:

  • Quip & Notion with their great concept of “everything is a block”
  • Trello with their Kanban
  • Airtable & Miro with their no-code programmable datasheets
  • Miro & Whimiscal with their edgeless visual whiteboard
  • Remote & Capacities with their object-based tag system

There is a large overlap of their atomic “building blocks” between these apps. They are not open source, nor do they have a plugin system like Vscode for contributors to customize. We want to have something that contains all the features we love and also goes one step even further.

Thanks for checking us out, we appreciate your interest and sincerely hope that AFFiNE resonates with you! 🎵 Checking https://affine.pro/ for more details ions.

Contributing

Bug Reports Feature Requests Questions/Discussions AFFiNE Community
Create a bug report Submit a feature request Check GitHub Discussion Visit the AFFiNE's Discord
Something isn't working as expected An idea for a new feature, or improvements Discuss and ask questions A place to ask, learn and engage with others

Calling all developers, testers, tech writers and more! Contributions of all types are more than welcome, you can read more in docs/types-of-contributions.md. If you are interested in contributing code, read our docs/CONTRIBUTING.md and feel free to check out our GitHub issues to get stuck in to show us what you’re made of.

Before you start contributing, please sign our Contributor License Agreement — it takes less than a minute with your GitHub account. Pull requests cannot be merged until every committer has signed (the license/cla check on your PR). Full text: CLA.md.

For bug reports, feature requests and other suggestions you can also create a new issue and choose the most appropriate template for your feedback.

For translation and language support you can visit our Discord.

If you have questions, you are welcome to contact us. One of the best places to get more info and learn more is in the Discord where you can engage with other like-minded individuals.

Templates

AFFiNE now provides pre-built templates from our team. Following are the Top 10 most popular templates among AFFiNE users,if you want to contribute, you can contribute your own template so other people can use it too.

Blog

Welcome to the AFFiNE blog section! Here, you’ll find the latest insights, tips, and guides on how to maximize your experience with AFFiNE and AFFiNE AI, the leading Canvas AI tool for flexible note-taking and creative organization.

Ecosystem

Name
@affine/component AFFiNE Component Resources
@toeverything/theme AFFiNE theme

Upstreams

We would also like to give thanks to open-source projects that make AFFiNE possible:

  • Blocksuite - 💠 BlockSuite is the open-source collaborative editor project behind AFFiNE.

  • y-octo - 🐙 y-octo is a native, high-performance, thread-safe YJS CRDT implementation, serving as the core engine enabling the AFFiNE Client/Server to achieve "local-first" functionality.

  • OctoBase - 🐙 OctoBase is the open-source database behind AFFiNE, local-first, yet collaborative. A light-weight, scalable, data engine written in Rust.

  • yjs - Fundamental support of CRDTs for our implementation on state management and data sync on web.

  • electron - Build cross-platform desktop apps with JavaScript, HTML, and CSS.

  • React - The library for web and native user interfaces.

  • napi-rs - A framework for building compiled Node.js add-ons in Rust via Node-API.

  • Jotai - Primitive and flexible state management for React.

  • async-call-rpc - A lightweight JSON RPC client & server.

  • Vite - Next generation frontend tooling.

  • Other upstream dependencies.

Thanks a lot to the community for providing such powerful and simple libraries, so that we can focus more on the implementation of the product logic, and we hope that in the future our projects will also provide a more easy-to-use knowledge base for everyone.

Contributors

We would like to express our gratitude to all the individuals who have already contributed to AFFiNE! If you have any AFFiNE-related project, documentation, tool or template, please feel free to contribute it by submitting a pull request to our curated list on GitHub: awesome-affine.

contributors

Self-Host

Begin with Docker to deploy your own feature-rich, unrestricted version of AFFiNE. Our team is diligently updating to the latest version. For more information on how to self-host AFFiNE, please refer to our documentation.

Deploy to Render

Run on Sealos

Feature Request

For feature requests, please see discussions.

Building

Codespaces

From the GitHub repo main page, click the green "Code" button and select "Create codespace on master". This will open a new Codespace with the (supposedly auto-forked AFFiNE repo cloned, built, and ready to go).

Local

See BUILDING.md for instructions on how to build AFFiNE from source code.

Contributing

We welcome contributions from everyone. See docs/contributing/tutorial.md for details.

License

Editions

  • AFFiNE Community Edition (CE) is the current available version, it's free for self-host under the MIT license.

  • AFFiNE Enterprise Edition (EE) is yet to be published, it will have more advanced features and enterprise-oriented offerings, including but not exclusive to rebranding and SSO, advanced admin and audit, etc., you may refer to https://affine.pro/pricing for more information

See LICENSE for details.

Languages
TypeScript 81.1%
Rust 11.9%
Swift 4.7%
Kotlin 1.1%
JavaScript 0.4%
Other 0.6%