https://github.com/mingder78/x2a3
x2a3
https://github.com/mingder78/x2a3
astro bun daisy libp2p react tailwind vercel
Last synced: 2 months ago
JSON representation
x2a3
- Host: GitHub
- URL: https://github.com/mingder78/x2a3
- Owner: mingder78
- Created: 2025-10-04T04:28:11.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-10-06T10:49:47.000Z (9 months ago)
- Last Synced: 2025-10-06T12:28:26.302Z (9 months ago)
- Topics: astro, bun, daisy, libp2p, react, tailwind, vercel
- Language: TypeScript
- Homepage: https://x2a3.vercel.app
- Size: 118 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Daisy UI, change themes, tailwindCSS, astro, and vercel using bun
```sh
ming-ders-MacBook.localπ©β x2 git:(main) bun i
bun install v1.1.20 (ae194892)
+ @astrojs/react@4.2.5
+ @tailwindcss/vite@4.1.4
+ @types/react@19.1.2
+ @types/react-dom@19.1.2
+ astro@5.7.5
+ daisyui@5.0.28
+ react@19.1.0
+ react-dom@19.1.0
+ swr@2.3.3
+ tailwindcss@4.1.4
350 packages installed [11.95s]
ming-ders-MacBook.localπ©β x2 git:(main) β bun dev
$ astro dev
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc.zip found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/fastqc.fo found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/fastqc_data.txt found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/summary.txt found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Icons/error.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Icons/fastqc_icon.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Icons/tick.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Icons/warning.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Images/adapter_content.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Images/duplication_levels.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Images/per_base_n_content.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Images/per_base_quality.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Images/per_base_sequence_content.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Images/per_sequence_gc_content.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Images/per_sequence_quality.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Images/per_tile_quality.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/FastQC_on_data_69__Webpage/Trimmomatic on hcc1395_tumor_rep3_r2_fastq_gz _R2 paired__fastqc/Images/sequence_length_distribution.png found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/assets/app.css found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/components/Profile.tsx found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [WARN] Unsupported file type /Users/ming-derwang/src/x2/src/pages/components/X.tsx found. Prefix filename with an underscore (`_`) to ignore.
10:25:53 [types] Generated 7ms
10:25:53 [content] Syncing content
10:25:53 [content] Synced content
astro v5.7.5 ready in 3392 ms
β Local http://localhost:4321/
β Network use --host to expose
10:25:53 watching for file changes...
```
## key files
```sh
ming-ders-MacBook.localπ©β x git:(main) β cat src/pages/assets/app.css
@import "tailwindcss";
@plugin "daisyui" {
themes: all;
}
```
```sh
ming-ders-MacBook.localπ©β x git:(main) β cat src/pages/layouts/Layout.astro
---
import "../assets/app.css";
const { content } = Astro.props;
console.log(content);
---
title
π switch themes
```
```sh
ming-ders-MacBook.localπ©β x git:(main) β cat src/pages/index.astro
---
import Layout from "./layouts/Layout.astro";
import X from "./components/X.tsx";
---
ming-ders-MacBook.localπ©β x git:(main) β
```
# Astro Starter Kit: Minimal
```sh
npm create astro@latest -- --template minimal
```
[](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
[](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal)
[](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json)
> π§βπ **Seasoned astronaut?** Delete this file. Have fun!
## π Project Structure
Inside of your Astro project, you'll see the following folders and files:
```text
/
βββ public/
βββ src/
β βββ pages/
β βββ index.astro
βββ package.json
```
Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
Any static assets, like images, can be placed in the `public/` directory.
## π§ Commands
All commands are run from the root of the project, from a terminal:
| Command | Action |
| :------------------------ | :----------------------------------------------- |
| `npm install` | Installs dependencies |
| `npm run dev` | Starts local dev server at `localhost:4321` |
| `npm run build` | Build your production site to `./dist/` |
| `npm run preview` | Preview your build locally, before deploying |
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |
## π Want to learn more?
Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).