dirtydanee / server-google-translate-api

A simple server using a free and unlimited API for Google Translate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple server using a free and unlimited API for Google Translate.

Getting Started

Installation

Install NodeJS if you don't have it yet.

# Clone this repository
$ git clone git@github.com:brenopolanski/server-google-translate-api.git
$ cd server-google-translate-api

# install dependencies
$ yarn (or npm i)
# run the server
$ yarn start (or npm start)

Deploy on WeDeploy

WeDeploy Button

Use the button below to instantly setup your own Server google-translate-api instance on WeDeploy.

Deploy

WeDeploy manually

  1. Download the CLI:

    curl https://cdn.wedeploy.com/cli/latest/wedeploy.sh -sL | bash
    
  2. Deploy Instantly:

    we deploy
    
  3. Notice that this command will create a random name for your project. If you want to specify a new name or choose an existing project, you just need to run:

    we deploy -p myproject
    

See the documentation: https://wedeploy.com/docs/deploy/getting-started/

Endpoint

  • [POST] /translate

    • header: { "Content-Type": "application/json" }

    • body: { "text": "I speak English", "from": "en", to: "pt" }

Contributing

If you want to help, please read the Contributing guide.

History

For detailed changelog, see Releases.

Credits

License

MIT License © Breno Polanski

About

A simple server using a free and unlimited API for Google Translate

License:MIT License


Languages

Language:JavaScript 100.0%