GithubHelp home page GithubHelp logo

hn-failte / translate Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 7.69 MB

借助百度翻译API实现个性化的翻译页面,具有生词本功能,对搜索过的单词进一步学习

HTML 15.73% JavaScript 79.45% CSS 3.23% Batchfile 1.60%

translate's Introduction

星辰翻译

一、安装

1、项目源码:

git clone https://github.com/hn-failte/Translate.git直接下载

2、项目依赖:

npm install

3、数据库依赖

项目数据存储依赖于MySQL,需要将 translate.sql 文件执行一次,会创建translate数据库,创建words表,创建能访问该表的用户,名称均可在sql文件中修改

二、操作

  • 后台启动:npm run startnpm start
  • 停止运行:npm stop
  • 重启:npm restart
  • 调试:node server

三、介绍

  • 借助百度翻译API实现个性化的翻译页面
  • 可互相转换的语种达29种
  • 基于Node服务器路由,目前配置支持常用的文本、网页、音频、视频文件等
  • 使用Node提供和接口,对JSON支持极佳
  • 具有生词本功能,对搜索过的单词进一步学习
  • 使用MySQL进行数据管理
  • 项目的访问网址为: http://127.0.0.1:3000

四、注意事项

项目是在winodws上搭建的,其他平台可能操作上会存在部分差异,请注意调整

translate's People

Contributors

hn-failte avatar

Stargazers

 avatar

Watchers

James Cloos 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.