Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shiv-source/slice-chrome-extension-automation
This project automates the viewing of advertisements through the Slice Chrome Extension. It is designed to view ads on your behalf, and credits for viewing these ads will be automatically added to your Slice account. You can monitor these credits through the Slice extension app.
https://github.com/shiv-source/slice-chrome-extension-automation
automation puppeteer slice slice-extension
Last synced: 17 days ago
JSON representation
This project automates the viewing of advertisements through the Slice Chrome Extension. It is designed to view ads on your behalf, and credits for viewing these ads will be automatically added to your Slice account. You can monitor these credits through the Slice extension app.
- Host: GitHub
- URL: https://github.com/shiv-source/slice-chrome-extension-automation
- Owner: shiv-source
- License: mit
- Created: 2024-04-23T16:46:21.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-04-23T17:11:27.000Z (9 months ago)
- Last Synced: 2024-04-24T19:17:30.369Z (9 months ago)
- Topics: automation, puppeteer, slice, slice-extension
- Language: JavaScript
- Homepage: https://addslice.com
- Size: 3.63 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Slice Chrome Extension Automation
This project automates the viewing of advertisements through the Slice Chrome Extension. It is designed to view ads on your behalf, and credits for viewing these ads will be automatically added to your Slice account. You can monitor these credits through the Slice extension app.
**Note: This project is intended for educational purposes and fun only.**
## Demo
![Demo of Slice Chrome Extension Automation](./demo.gif)
## Getting Started
These instructions will guide you through setting up and running the project on your local machine for both development and testing purposes.
### Prerequisites
Ensure you have Node.js installed on your system before proceeding. Download it from [Node.js official website](https://nodejs.org/). This project utilizes `pnpm` for dependency management.
### Installing
To set up your development environment, follow these steps:
1. **Clone the repository**
```sh
git clone https://github.com/shiv-source/slice-chrome-extension-automation.git
cd slice-chrome-extension-automation
```2. **Install required dependencies**
```sh
pnpm install
```3. **Configuration**
Modify the `.env` file with your specific values:
```env
SLICE_EXTENSION_PATH=YOUR SLICE EXTENSION PATH
TOTAL_DURATION=60
USER_AGENT=YOUR_USER_AGENT
```- `SLICE_EXTENSION_PATH`: Path to your local Slice Chrome Extension.
- `TOTAL_DURATION`: The total duration (in minutes) the script will run. Default value is 30 min.
- `USER_AGENT`: User agent string for the browser instance.### Running the script
Execute the automation script with the following command:
```sh
pnpm start
```## Note
- `TOTAL_DURATION` indicates the script's execution time in minutes. Adjust as necessary depending on how long you want the automation to run.
- Verify the accuracy of `.env` values to prevent runtime errors.## Contributing
Contributions are welcome! Feel free to fork the repository, submit pull requests, or open issues to suggest improvements or report bugs.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgments
- Thanks to all contributors and users of this project.
- A special thanks to the Puppeteer community for their support and resources.