Skip to content

Commit

Permalink
Merge branch 'master' into shraddhavp-patch-3
Browse files Browse the repository at this point in the history
  • Loading branch information
shraddhavp authored Sep 11, 2021
2 parents bbc7940 + 5ec08b3 commit 70684c3
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 25 deletions.
35 changes: 21 additions & 14 deletions docusaurus/docs/polyglot/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,40 @@ import PolyglotTable from './transclusions/polyglot-table.mdx'

<PolyglotTable />

:::tip
## Wechaty Polyglot

We have the world's shortest lines code of chatbot in all programming languages!
Wechaty has the world's shortest lines code of chatbot in all programming languages!.This section gives an overview of implementing in different programming languages.Wechaty in all programming languages have the same API, as the TypeScript documented version.

:::
If you are a total beginner to Wechaty, this project is the best starting point for you. You can run it on a Cloud IDE in a couple of steps or locally on your machine.
**Features of Wechaty Getting Started project**

<ShortestChatbots />

:::tip
* It works in all operating systems like Linux, Mac or Windows.
* It Supports all puppets like Web, Pad, Windows, and Mac.
* It replies with a `dong` message whenever it receives a `ding` message.

Wechaty in all programming languages have the same API, as the TypeScript documented version.
### Running Wechaty Getting Started Project on a cloud-based IDE

:::
The fastest way to get started with Wechaty is to use a Cloud-based IDE for running the Wechaty Getting Started Project. You can either use Gitpod or Google Cloud Shell.
If you are a total beginner, then we recommend Gitpod.

## Getting Started Templates {#getting-started-templates}

<GettingStartedTemplates />

## Blogs
## Implementation of Chatbots in different languages

- [Multi Language Wechaty Beta Release Announcement!](https://wechaty.js.org/2020/06/19/multi-language-wechaty-beta-release/)
Check the below implementation of Wechaty bot in different languages.
<ShortestChatbots />

## Blogs

## Docs (Issues)
Here are some of the blogs related to latest Wechaty Beta releases and also some other helpful links.

- [Wechaty is All You Need: Python, Go, and Java Translation Project wechaty/wechaty#1927](https://github.com/wechaty/wechaty/discussions/1927)
- [Python the Wechaty Way wechaty/python-wechaty#13](https://github.com/wechaty/python-wechaty/issues/13)
- [Go Wechaty project initialized! wechaty/go-wechaty#1](https://github.com/wechaty/go-wechaty/issues/1)]
* [Multi Language Wechaty Beta Release Announcement!](https://wechaty.js.org/2020/06/19/multi-language-wechaty-beta-release/)
* [Getting Started Without Leaving Your Browser: Wechaty Gitpod, @huan, Feb 06, 2021](https://wechaty.js.org/2021/02/06/wechaty-getting-started-without-leave-your-browser/)
* [Wechaty is All You Need: Python, Go, and Java Translation Project wechaty/wechaty#1927](https://github.com/wechaty/wechaty/discussions/1927)
* [Python the Wechaty Way wechaty/python-wechaty#13](https://github.com/wechaty/python-wechaty/issues/13)
* [Go Wechaty project initialized! wechaty/go-wechaty#1](https://github.com/wechaty/go-wechaty/issues/1)

## Support

Expand Down
35 changes: 27 additions & 8 deletions docusaurus/docs/polyglot/scala/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,47 @@ sidebar_label: Scala

[![Scala Wechaty](https://img.shields.io/badge/Wechaty-Scala-890)](https://github.com/wechaty/scala-wechaty)

- GitHub Repo <https://github.com/wechaty/scala-wechaty>
- Getting Started Template Repo <https://github.com/wechaty/scala-wechaty-getting-started>
Scala Wechaty is a Scala programming client derived from the Wechaty ecosystem. Scala's static types help avoid bugs in complex applications, hence Scala wechaty is very easy to use, implement and is also very efficient. You can find more information on Scala-Wechaty [here](https://github.com/wechaty/scala-wechaty-getting-started). The [General Architecture Diagram](https://wechaty.js.org/docs/polyglot/diy/) illustrates how the Scala-Wechaty can be implemented on the already existing TypeScript Wechaty ecosystem.

## Features of Scala-Wechaty

* Stable interaction with back-end gRPC, continuous and stable operation.
* The front end implements some functions of `Contact` and `Message`.

## Getting Started

Template Repo: <https://github.com/wechaty/scala-wechaty-getting-started>
Run the below command for starting the Scala-Wechaty bot.

```sh
git clone [email protected]:wechaty/scala-wechaty-getting-started.git
cd scala-wechaty-getting-started
make install
make bot
export WECHATY_PUPPET=wechaty-puppet-hostie
export WECHATY_PUPPET_HOSTIE_TOKEN=your_token_at_here
make bot # or
scala examples/ding-dong-bot.scala
```

## Blogs
## Translation of TypeScript to Scala

There is a hundred (100) lines class named `Image` in charge of downloading the WeChat image to different sizes. Below are the links to the Image class for both TypeScript and Scala for a better understanding of the code and the translation.

* [TypeScript](https://github.com/wechaty/wechaty/blob/master/src/user/image.ts)
* [Scala](https://github.com/wechaty/scala-wechaty/blob/master/wechaty/src/main/scala/wechaty/user/Image.scala)

Read blogs with the `scala` tag at <https://wechaty.js.org/tags.html#scala>
## Blogs and links

Do checkout the blogs and Github links to get more details about the Scala-Wechaty.

* [Blogs](https://wechaty.js.org/tags.html#scala)
* [GitHub Repo for Scala](https://github.com/wechaty/scala-wechaty)

## History

- [Scala Wechaty, @jcai, Jul 2, 2020](https://github.com/wechaty/scala-wechaty)
For more information on the Scala-Wechaty releases and its history the below link can be visited.

* [Scala Wechaty, @jcai, Jul 2, 2020](https://github.com/wechaty/scala-wechaty)

## Maintainers

- [@jcai](https://wechaty.js.org/contributors/jcai)
* [@jcai](https://wechaty.js.org/contributors/jcai)
Binary file added docusaurus/static/img/polyglot-architecure.webp
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Baidu Paddle ❤️ Wechaty & Mixlab ML Chatbot 大赛作品推荐
author: huan
author: valerieeeee
categories:
- project
image: /assets/2021/09-baidu-paddle-machine-learning-chatbot-competition/baidu-wechaty.webp
Expand All @@ -18,7 +18,7 @@ tags:

> 大赛启动博客:[AI Chatbot Competition -- Metaverse启动机之重构现世!, @valerieeeee, Jul 07, 2021](https://wechaty.js.org/2021/07/07/wechaty-with-paddlepaddle/)
我今天在打分评审过程中,顺便分享这些项目给大家,希望能够帮助大家在这个阶段的创意赛中获得更多的创意
Wechaty 社区评委们在打分评审过程中,将优秀的项目分享给大家,希望能够帮助大家未来发挥出更多的创意

## 一只能看懂表格图片的数据助手

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wechaty.js.org",
"version": "0.9.20",
"version": "0.9.22",
"description": "Wechaty Official Website for News, Blogs, Contributor Profiles, and Documentations",
"private": true,
"directories": {
Expand Down

0 comments on commit 70684c3

Please sign in to comment.