Compare commits

..
2 Commits
Author SHA1 Message Date
abdullahalam123 be6c15fef2 Release v1.1.1 2025-10-22 21:37:10 +05:30
abdullahalam123 d5a15bce78 remove(simpleanalytics): remove simple analytics for self hosted version
feat(fonts): replace google fonts with self-hosted fontsource packages

Add fontsource packages for all fonts previously loaded from Google Fonts.
Remove google fonts CDN links and update CSS to use local font imports.
This improves privacy by removing external dependencies and tracking.
2025-10-22 21:37:03 +05:30
4 changed files with 124 additions and 25 deletions
-22
View File
@@ -4,28 +4,6 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BentoPDF - The Privacy First PDF Toolkit</title>
<script
async
src="https://scripts.simpleanalyticscdn.com/latest.js"
></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/cropperjs/1.6.1/cropper.min.css"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Dancing+Script:[email protected]&family=Great+Vibes&family=Kalam:wght@300;400;700&family=Lato:ital,wght@0,400;0,700;1,400&family=Merriweather:ital,wght@0,400;0,700;1,400&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<link rel="icon" type="image/png" href="./images/favicon.svg" />
<link href="/src/css/styles.css" rel="stylesheet" />
</head>
+72 -2
View File
@@ -1,14 +1,21 @@
{
"name": "bento-pdf",
"version": "1.0.1",
"version": "1.1.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "bento-pdf",
"version": "1.0.1",
"version": "1.1.0",
"license": "Apache-2.0",
"dependencies": {
"@fontsource/cedarville-cursive": "^5.2.7",
"@fontsource/dancing-script": "^5.2.8",
"@fontsource/dm-sans": "^5.2.8",
"@fontsource/great-vibes": "^5.2.8",
"@fontsource/kalam": "^5.2.8",
"@fontsource/lato": "^5.2.7",
"@fontsource/merriweather": "^5.2.11",
"@neslinesli93/qpdf-wasm": "^0.3.0",
"@tailwindcss/vite": "^4.1.15",
"blob-stream": "^0.1.3",
@@ -2576,6 +2583,69 @@
"node": "^10.12.0 || >=12.0.0"
}
},
"node_modules/@fontsource/cedarville-cursive": {
"version": "5.2.7",
"resolved": "https://registry.npmjs.org/@fontsource/cedarville-cursive/-/cedarville-cursive-5.2.7.tgz",
"integrity": "sha512-G1Wcc8U9MsFV7t4vmxSaWEDVcJj86qbkuS/V27S5UngxkX6CoTpEdvDeGUIKBlF8FoHCDOQxSNZCFuCafRmvUg==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@fontsource/dancing-script": {
"version": "5.2.8",
"resolved": "https://registry.npmjs.org/@fontsource/dancing-script/-/dancing-script-5.2.8.tgz",
"integrity": "sha512-zHVVgIQ5/rAIM0VVp1QMsqvJm9INHO5/C82E9rHT6NlabjaPTFYn8wl9lT4vPWizfB0TublGQM1999kfdA+XFA==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@fontsource/dm-sans": {
"version": "5.2.8",
"resolved": "https://registry.npmjs.org/@fontsource/dm-sans/-/dm-sans-5.2.8.tgz",
"integrity": "sha512-tlovG42m9ESG28WiHpLq3F5umAlm64rv0RkqTbYowRn70e9OlRr5a3yTJhrhrY+k5lftR/OFJjPzOLQzk8EfCA==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@fontsource/great-vibes": {
"version": "5.2.8",
"resolved": "https://registry.npmjs.org/@fontsource/great-vibes/-/great-vibes-5.2.8.tgz",
"integrity": "sha512-/PATz436NGixjNaigierUpv50wfNv2UhAAijcCPkn4ynvl41x66TCLbXVSVfp4pth9gjWnGqgoj0lVIhHapAuw==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@fontsource/kalam": {
"version": "5.2.8",
"resolved": "https://registry.npmjs.org/@fontsource/kalam/-/kalam-5.2.8.tgz",
"integrity": "sha512-9WDYPX1llS28xRjrqAoz3IOLeaBhCtL3HCtNanYnF1fthFPmSD5aESL6s7C1SJxAlxq/qzTlpIpw4S1W9+q3OA==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@fontsource/lato": {
"version": "5.2.7",
"resolved": "https://registry.npmjs.org/@fontsource/lato/-/lato-5.2.7.tgz",
"integrity": "sha512-k5mum1ADbDW5cTw1Ett1eQVWeoZ6gq0ct6SFBibEhB4LRxhniChJZTBgd6ph5yBxLkN1fcnsnmicBNA4S/3nbw==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@fontsource/merriweather": {
"version": "5.2.11",
"resolved": "https://registry.npmjs.org/@fontsource/merriweather/-/merriweather-5.2.11.tgz",
"integrity": "sha512-ZiIMeUh5iT8d73o6xlSF8GKgjV5pgiFrufYc5jZTVAfExtWKqM2vQHnsqXSFMv4ELhAcjt6Vf+5T3oVGXhAizQ==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@humanwhocodes/config-array": {
"version": "0.5.0",
"resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.5.0.tgz",
+8 -1
View File
@@ -1,7 +1,7 @@
{
"name": "bento-pdf",
"private": true,
"version": "1.1.0",
"version": "1.1.1",
"license": "Apache-2.0",
"type": "module",
"scripts": {
@@ -39,6 +39,13 @@
"vitest": "^3.2.4"
},
"dependencies": {
"@fontsource/cedarville-cursive": "^5.2.7",
"@fontsource/dancing-script": "^5.2.8",
"@fontsource/dm-sans": "^5.2.8",
"@fontsource/great-vibes": "^5.2.8",
"@fontsource/kalam": "^5.2.8",
"@fontsource/lato": "^5.2.7",
"@fontsource/merriweather": "^5.2.11",
"@neslinesli93/qpdf-wasm": "^0.3.0",
"@tailwindcss/vite": "^4.1.15",
"blob-stream": "^0.1.3",
+44
View File
@@ -1,5 +1,49 @@
@import '@fontsource/dm-sans/400.css';
@import '@fontsource/dm-sans/500.css';
@import '@fontsource/dm-sans/600.css';
@import '@fontsource/dm-sans/700.css';
@import '@fontsource/dancing-script/400.css';
@import '@fontsource/great-vibes/400.css';
@import '@fontsource/kalam/300.css';
@import '@fontsource/kalam/400.css';
@import '@fontsource/kalam/700.css';
@import '@fontsource/lato/400.css';
@import '@fontsource/lato/700.css';
@import '@fontsource/lato/400-italic.css';
@import '@fontsource/merriweather/400.css';
@import '@fontsource/merriweather/700.css';
@import '@fontsource/merriweather/400-italic.css';
@import '@fontsource/cedarville-cursive/400.css';
@import 'cropperjs/dist/cropper.css';
@import 'tailwindcss';
@theme {
--font-sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
--font-dancing: 'Dancing Script', cursive;
--font-vibes: 'Great Vibes', cursive;
--font-kalam: 'Kalam', cursive;
--font-lato: 'Lato', sans-serif;
--font-merriweather: 'Merriweather', serif;
--font-cedarville: 'Cedarville Cursive', cursive;
}
@layer base {
body {
@apply antialiased;
font-family: var(--font-sans);
}
}
@theme {
--font-sans: 'DM Sans', ui-sans-serif, system-ui;
--font-dancing: 'Dancing Script', cursive;
--font-vibes: 'Great Vibes', cursive;
--font-kalam: 'Kalam', cursive;
--font-lato: 'Lato', sans-serif;
--font-merriweather: 'Merriweather', serif;
--font-cedarville: 'Cedarville Cursive', cursive;
}
html {
scroll-behavior: smooth;
}