Git Product home page Git Product logo

script-reader's Introduction

Script-reader

이 웹 페이지는 네이버 음성 합성 API를 사용하여, 키보드 입력한 문장을 음성으로 생성해줍니다.


개발환경

  • Server : Node.js, Express.js
  • Client : EJS template
  • Host PC
    • OS : Ubuntu 16.04 LTS
    • IP : 163.180.142.73
    • Port : 7000

사용법

  1. 본 리파지토리를 클론한다. (* 터미널에서 실행)
git clone https://github.com/sauber92/Script-reader.git  
cd Script-reader  


2. 네이버 API를 등록한다.

참고 링크 : 네이버 개발자 센터 > 애플리케이션 등록 (* 네이버 로그인 필요)



3. Script-reader 디렉토리 안에 *config/password.js* 파일을 만든다. (* 터미널에서 실행)
(현재경로 : ~/Script-reader)  
mkdir config  
vi config/password.js  


4. password.js에 네이버 Client ID와 Client Secret ID를 다음과 같이 넣어준다.

Client ID, Client Secret ID는 여기를 참고하면 된다.

// password.js
module.exports = {
  client_id : '네이버 Client ID',
  client_secret : '네이버 Client Secret ID'
}


5. Script-reader 디렉토리에서 npm install을 통해 모듈을 설치하고 실행한다. (* 터미널에서 실행)
(현재경로 : ~/Script-reader)  
npm install  
npm start  


6. 웹 브라우져에서 확인을 한다.

URL : http://localhost:7000


데모

http://163.180.142.73:7000


네이버 음성합성 API의 하루 사용량이 1000자로 지정되어 있습니다. 1000자가 넘어가면 동작하지 않으니 참고해주세요.

개발자


License

MIT License

script-reader's People

Contributors

sauber92 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.