An open API service indexing awesome lists of open source software.

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

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
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal)
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](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).