CDN entfernt
This commit is contained in:
1 parent
b60c5ee619
commit
ae6c818848
17 files changed
+9409
-15
No files matched your search
@@ -8,7 +8,7 @@ A self-hosted card/note manager with markdown, tags, image galleries, and Obsidi
|
||||
- Apache with `mod_rewrite`
|
||||
- PHP extensions: `pdo_sqlite`, `zip`
|
||||
|
||||
No external dependencies. All frontend libraries load from CDN.
|
||||
No external dependencies. All assets are bundled locally.
|
||||
|
||||
## Quick Start (Docker)
|
||||
|
||||
@@ -93,10 +93,16 @@ hyprcrd/
|
||||
├── public/ # Document root
|
||||
│ ├── index.php # Entry point & API
|
||||
│ ├── .htaccess # URL rewriting
|
||||
│ ├── css/style.css
|
||||
│ ├── css/
|
||||
│ │ ├── style.css # App styles
|
||||
│ │ ├── tailwind.out.css # Generated Tailwind utilities
|
||||
│ │ ├── fonts.css # Local @font-face rules
|
||||
│ │ └── vendor/ # Phosphor Icons CSS + fonts
|
||||
│ ├── fonts/ # JetBrains Mono & Silkscreen
|
||||
│ ├── js/
|
||||
│ │ ├── app.js # Orchestrator
|
||||
│ │ └── modules/ # Feature modules
|
||||
│ │ ├── modules/ # Feature modules
|
||||
│ │ └── vendor/ # marked.js, DOMPurify
|
||||
│ └── uploads/ # User media (writable)
|
||||
└── data/
|
||||
└── hyprcrd.db # SQLite database (auto-created)
|
||||
@@ -135,6 +141,18 @@ Back up both to preserve everything. The database auto-migrates on startup.
|
||||
image.jpg
|
||||
```
|
||||
|
||||
## Rebuilding Tailwind CSS
|
||||
|
||||
After changing Tailwind utility classes in HTML or JS files:
|
||||
|
||||
```bash
|
||||
# Download standalone CLI (once)
|
||||
curl -sL https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64 -o tailwindcss && chmod +x tailwindcss
|
||||
|
||||
# Build
|
||||
./tailwindcss --input public/css/tailwind.css --output public/css/tailwind.out.css --content "public/index.php,public/js/**/*.js" --minify
|
||||
```
|
||||
|
||||
## Security
|
||||
|
||||
- Bcrypt password hashing
|
||||
|
||||
Reference in new issue
Block a user