@ovencord/transcript 1.0.0 → 1.0.1
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/README.md +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -16,12 +16,12 @@ Stop simulating browsers to generate simple text logs. **@ovencord/transcript**
|
|
|
16
16
|
|
|
17
17
|
* **Zero Node Dependencies**: No `ws`, no `http` legacy, no `JSDOM`. Pure Bun-native execution.
|
|
18
18
|
* **Mustache Powered**: Generates complex transcripts in milliseconds using optimized string templates instead of heavy, recursive DOM manipulation.
|
|
19
|
-
* **Zero Memory Overhead**: While other libraries require hundreds of MBs to "render" a virtual DOM,
|
|
19
|
+
* **Zero Memory Overhead**: While other libraries require hundreds of MBs to "render" a virtual DOM, @ovencord/transcript processes messages through a stream-like logic that keeps your RAM footprint invisible.
|
|
20
20
|
|
|
21
21
|
## **Absolute Cinema UI**
|
|
22
22
|
|
|
23
23
|
* **Discord v2 Native**: First-class support for modern components: **Buttons**, **Select Menus**, and the new **Containers**.
|
|
24
|
-
* **1:1 Visual Fidelity**: Unlike libraries with hardcoded styles,
|
|
24
|
+
* **1:1 Visual Fidelity**: Unlike libraries with hardcoded styles, @ovencord/transcript uses a dynamic CSS variable system mirrored directly from the official Discord client.
|
|
25
25
|
* **Media-First**: Native support for **Multi-image Media Galleries**, high-res avatars, and custom emoji rendering.
|
|
26
26
|
* **Smart Mentions**: Intelligently resolves user mentions and relative timestamps within the transcript context.
|
|
27
27
|
|
|
@@ -45,7 +45,7 @@ bun add @ovencord/transcript
|
|
|
45
45
|
```typescript
|
|
46
46
|
import { createTranscript } from '@ovencord/transcript';
|
|
47
47
|
|
|
48
|
-
const messages = [...]; // Your Discord.js /
|
|
48
|
+
const messages = [...]; // Your Discord.js / @ovencord/transcript messages
|
|
49
49
|
const channel = { name: 'ticket-001' };
|
|
50
50
|
|
|
51
51
|
const html = await createTranscript(messages, channel);
|
|
@@ -53,12 +53,12 @@ const html = await createTranscript(messages, channel);
|
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
<div align="center">
|
|
56
|
-
<img width="400" height="500" alt="
|
|
56
|
+
<img width="400" height="500" alt="ovencord/transcript" src="https://github.com/user-attachments/assets/a63256bd-c22e-465a-a667-74d747526dfb" />
|
|
57
57
|
</div>
|
|
58
58
|
|
|
59
59
|
## **The Philosophy**
|
|
60
60
|
|
|
61
|
-
Built out of frustration with outdated, bloated libraries that fail to render modern Discord components.
|
|
61
|
+
Built out of frustration with outdated, bloated libraries that fail to render modern Discord components. @ovencord/transcript is a **"Performance Tier 1"** tool for developers who prioritize speed, code purity, and production stability.
|
|
62
62
|
|
|
63
63
|
---
|
|
64
64
|
> This project was created using `bun init` in bun v1.3.6. [Bun](https://bun.com) is a fast all-in-one JavaScript runtime.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ovencord/transcript",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Ultrafast, zero-dependency Discord HTML transcript generator exclusively for the Bun ecosystem.",
|
|
5
5
|
"module": "src/index.ts",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"name": "Luigi Colantuono",
|
|
10
10
|
"url": "https://github.com/LuigiColantuono"
|
|
11
11
|
},
|
|
12
|
-
"homepage": "https://github.com/
|
|
12
|
+
"homepage": "https://github.com/ovencord",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"funding": {
|
|
15
15
|
"type": "individual",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/
|
|
20
|
+
"url": "https://github.com/ovencord/transcript.git"
|
|
21
21
|
},
|
|
22
22
|
"keywords": [
|
|
23
23
|
"discord",
|