Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesliangg authored May 5, 2024
1 parent fdb33a2 commit 870a437
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions uwuwuend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
│ ├── package.json # What to install
│ └── package-lock.json # The cooler package
├── icons # Extension icons
├── u-block-origin # Plasmo implementation
│ ├── assets # Extension icon
│ ├── build # Built extension
│ ├── contents # All background running tasks
│ ├── package.json # What to install
│ ├── package-lock.json # The cooler package
│ └── popup-tsx # Extension pop-up page
├── content_script.js # Where all the magic happens
├── manifest.json # What Chrome sees
├── options.js # Broken JavaScript for extension
Expand All @@ -17,7 +24,11 @@
└── uwu.html # Extension page
```
### Running the Extension
#### Node Server
#### Plasmo (Method 1)
- `cd` into u-block-origin
- Run `npm install`
- Run `npm run dev`
#### Node Server (Method 2)
Can run via Docker container or Node directly
##### Node
- `cd` into `bwckwnd`
Expand All @@ -26,10 +37,10 @@ Can run via Docker container or Node directly

##### Docker
- `docker run -p 3000:3000 --platform linux/amd64 -d jamesliangg/mchacks-bwckwnd:0.1`
#### Extension
### Extension
- Go to [chrome://extensions](chrome://extensions)
- Enable `Developer Mode`
- Click `Load unpacked` and select the root folder (`uwuwuend`)
- Click `Load unpacked` and select the root folder (`uwuwuend` or `u-block-origin/build/chrome-mv3-dev`)
- Load any website and enjoy
### Building and Running Docker Container
- Build container `docker buildx build --platform=linux/amd64 --output type=docker -t jamesliangg/<CONTAINER_NAME> .`
Expand Down

0 comments on commit 870a437

Please sign in to comment.