https://github.com/puse/machina
Proof-of-concept browser automation toolkit :construction:
https://github.com/puse/machina
Last synced: 24 days ago
JSON representation
Proof-of-concept browser automation toolkit :construction:
- Host: GitHub
- URL: https://github.com/puse/machina
- Owner: puse
- License: mpl-2.0
- Created: 2022-09-30T17:45:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-10-06T03:08:03.000Z (over 3 years ago)
- Last Synced: 2025-02-28T11:02:43.789Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 1.61 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# machina
[![ci-badge]][ci-workflow]
[![stability-experimental-badge]][stability-index]
[![maintenance-best-effort-badge]][current-issues]
[ci-badge]: https://github.com/despan/machina/actions/workflows/ci.yml/badge.svg
[ci-workflow]: https://github.com/despan/machina/actions/workflows/ci.yml
[stability-experimental-badge]: https://img.shields.io/badge/Stability-experimental-orange.svg
[stability-index]: https://nodejs.org/api/documentation.html#documentation_stability_index
[maintenance-best-effort-badge]: https://img.shields.io/badge/Maintenance-best%20effort-orange
[current-issues]: https://github.com/despan/machina/issues
Proof-of-concept browser automation toolkit
### Installation
Clone this repostory
```sh
git clone https://github.com/despan/machina.git
```
Install dependencies
```sh
npm install
```
### Usage
Run `machina` CLI locally with `npx`. Use flag `--no-headless` to follow browser
visually.
#### Obtaining user details
```sh
npx machina details shakira
```
#### Collecting user tweets
```sh
npx machina tweets qeri55916757
```
### Testing
Run tests with Jest
```sh
npm run test
```