8000 GitHub - TheShubham99/BS-ScreenShot: It's a simple discord bot built to see how a particular website looks on a particular device. The bot is Powered by @BrowserStack's ScreenShot API.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

It's a simple discord bot built to see how a particular website looks on a particular device. The bot is Powered by @browserstack's ScreenShot API.

Notifications You must be signed in to change notification settings

TheShubham99/BS-ScreenShot

Repository files navigation

BS-ScreenShot / SnapBot

It's a simple discord bot built to see how a particular website looks on a particular device. The bot is Powered by @BrowserStack's ScreenShot API.

What It will do?

It will send you the screenshot of the website you mentioned in the command.

How to test?

  1. Log in to your Discord Account.
  2. Visit the following link -
    https://discord.com/oauth2/authorize?client_id=775333766141837313&scope=bot
  3. Add the bot to your server.

Commands

1️⃣

!snap -{url} -{device}

Takes a screenshot of {url} using {device}.

Try !snap -https://google.com -windows-chrome
{url} : https://google.com
{device} : windows-chrome

2️⃣

!bs-devices

Returns the list of supported devices.

3️⃣

!bs-out -{token}

Checks the status of the screenshot job and returns the screenshot if the job is completed.

4️⃣

!bs-help

Returns this menu.

Contribute

  1. fork and clone the repository.
  2. Run npm install or yarn.
  3. create a .env file and add your BrowserStack credentials as -
    BSTACK_USER- Username.
    BSTACK_PASS- Password.
  4. Also add Discord Secret token to the .env file as -
    DISCORD_BOT_TOKEN - Token
  5. Run the server by the command npm . ( npm[space][dot] )

Screenshots


License

MIT

Built with ❤️ by @TheShubham99

Credits

Landing Page Design Credits - Alca Landing Page Design CodePen Link

About

It's a simple discord bot built to see how a particular website looks on a particular device. The bot is Powered by @browserstack's ScreenShot API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0