Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This repository contains the source code for the website published at: [Dom-Expl

- **Parser/Sanitizer Support:**
- [Ammonia](https://github.com/rust-ammonia/ammonia)
- [Angular](https://angular.io/)
- [Angular](https://angular.dev/)
- [DomParser](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser)
- [DomPurify](https://github.com/cure53/DOMPurify)
- [HighlightJs](https://highlightjs.org/)
Expand All @@ -30,21 +30,35 @@ This repository contains the source code for the website published at: [Dom-Expl
- **Shareable URL:**
Share pipelines by simply copying and pasting the URL. The state of the pipeline is embedded in the URL, making it easy to share with others.

## Prerequisites

- [Bun](https://bun.sh/) (v1.1.29 or later)
- [Rust](https://rustup.rs/)

## Getting Started

To get started with Dom-Explorer:

1. Clone the project and install dependencies:
1. Install [Bun](https://bun.sh/):
```bash
curl -fsSL https://bun.sh/install | bash
```

2. Install [Rust](https://rustup.rs/):
```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```

3. Clone the project and install dependencies:
```bash
git clone https://github.com/yeswehack/Dom-Explorer
cd Dom-Explorer
bun install
```

2. Run the development server:
4. Run the development server:
```bash
cd web
bun run --bun dev
bun run dev
```

## Contributing
Expand Down
2 changes: 1 addition & 1 deletion app/pages/shared.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ onMounted(() => {
.then((state) => {
router.push({
name: "dom-explorer",
hash: "#" + btoa(JSON.stringify(state)),
hash: "#" + b64EncodeUnicode(JSON.stringify(state)),
});
})
.catch((e) => {
Expand Down
Binary file modified bun.lockb
Binary file not shown.
3 changes: 3 additions & 0 deletions extras/angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}
Binary file modified extras/angular/bun.lockb
Binary file not shown.
Loading