Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdeokkim/saerom
A C99 Discord bot for Korean learning servers. / ‘새롬’은 한국어 학습 서버들을 위해 만들어진, C언어 (C99)로 작성된 디스코드 봇입니다.
https://github.com/jdeokkim/saerom
async asynchronous bot c c99 concord curl curl-multi discord discord-api discord-bot korean korean-dictionary mutex mutex-lock papago papago-api pthread sigar sigar-api
Last synced: 3 months ago
JSON representation
A C99 Discord bot for Korean learning servers. / ‘새롬’은 한국어 학습 서버들을 위해 만들어진, C언어 (C99)로 작성된 디스코드 봇입니다.
- Host: GitHub
- URL: https://github.com/jdeokkim/saerom
- Owner: jdeokkim
- License: gpl-3.0
- Created: 2022-07-23T13:43:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-20T13:40:26.000Z (over 2 years ago)
- Last Synced: 2023-05-01T04:24:59.538Z (almost 2 years ago)
- Topics: async, asynchronous, bot, c, c99, concord, curl, curl-multi, discord, discord-api, discord-bot, korean, korean-dictionary, mutex, mutex-lock, papago, papago-api, pthread, sigar, sigar-api
- Language: C
- Homepage: https://github.com/jdeokkim/saerom
- Size: 227 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# saerom
[![version badge](https://img.shields.io/github/v/release/jdeokkim/saerom?color=orange&include_prereleases)](https://github.com/jdeokkim/saerom/releases)
[![code-size badge](https://img.shields.io/github/languages/code-size/jdeokkim/saerom?color=green)](https://github.com/jdeokkim/saerom)
[![license badge](https://img.shields.io/github/license/jdeokkim/saerom?color=brightgreen)](https://github.com/jdeokkim/saerom/blob/main/LICENSE)
[![codefactor badge](https://www.codefactor.io/repository/github/jdeokkim/saerom/badge/main)](https://www.codefactor.io/repository/github/jdeokkim/saerom/overview/main)A C99 Discord bot for Korean learning servers.
## Commands
| Name | Description |
| ------- | ----------- |
| `/info` | Show information about this bot |
| `/krd` | Search the given text in the dictionaries (["Basic Korean Dictionary"](https://krdict.korean.go.kr) and ["Urimalsaem"](https://opendict.korean.go.kr/)) published by the National Institute of Korean Language |
| `/ppg` | Translate the given text between two languages using [NAVER™ Papago NMT API](https://developers.naver.com/docs/papago/README.md) |## Screenshots
### `/info`
Screenshot
![]()
### `/krd`
Screenshot
![]()
### `/ppg`
Screenshot
![]()
## Prerequisites
- GCC version 9.4.0+
- GNU Make version 4.1+
- CMake version 3.10.0+
- Git version 2.17.1+
- libcurl4 version 7.58.0+ (with OpenSSL flavor)```console
$ sudo apt install build-essential cmake git libcurl4-openssl-dev
```## Building
This project uses [GNU Make](https://www.gnu.org/software/make) as the build system.
1. Install the latest version of [Cogmasters/concord](https://github.com/Cogmasters/concord).
```console
$ git clone https://github.com/Cogmasters/concord && cd concord
$ git checkout dev && make -j`nproc`
$ sudo make install
```2. Then, install the latest version of [boundary/sigar](https://github.com/boundary/sigar).
```console
$ git clone https://github.com/boundary/sigar && cd sigar
$ mkdir build && cd build
$ cmake .. && make -j`nproc`
$ sudo make install
$ ldconfig
```3. Build this project with the following commands.
```console
$ git clone https://github.com/jdeokkim/saerom && cd saerom
$ make
```4. Configure and run the bot.
```console
$ vim res/config.json
$ ./bin/saerom
```## License
GNU General Public License, version 3