<commit_before># Ptt-Alertor

<img align="right" src="https://raw.githubusercontent.com/liam-lai/ptt-alertor/master/logo.jpg">

[![Build Status](https://travis-ci.org/liam-lai/ptt-alertor.svg?branch=master)](https://travis-ci.org/liam-lai/ptt-alertor)
[![codecov](https://codecov.io/gh/liam-lai/ptt-alertor/branch/master/graph/badge.svg)](https://codecov.io/gh/liam-lai/ptt-alertor)
[![Go Report Card](https://goreportcard.com/badge/github.com/liam-lai/ptt-alertor)](https://goreportcard.com/report/github.com/liam-lai/ptt-alertor)
[![StackShare](https://img.shields.io/badge/tech-stack-0690fa.svg?style=flat)](https://stackshare.io/ptt-alertor/ptt-alertor)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## API

### Board

* GET /boards

* GET /boards/[board name]/articles

### User (Auth)

* GET /users/[account]

* POST /users

```json
{
    "profile":{
        "account": "sample",
        "email":"<EMAIL>"
    },
    "subscribes":[
        {
            "board":"gossiping",
            "keywords":["問卦","爆卦","公告"]
        },
        {
            "board":"lol",
            "keywords":["閒聊"]
        }
    ]
}
```

* PUT /users/[account]

```json
{
    "profile":{
        "account": "sample",
        "email":"<EMAIL>"
    },
    "subscribes":[]
}
```

## Credits

### Ptt

DMM, oas, bestpika, Zero0910, lucky0509, wbreeze, chang0206, lindo0130, hungys, gyman7788, tooilxui<commit_msg>add credit<commit_after># Ptt-Alertor

<img align="right" src="https://raw.githubusercontent.com/liam-lai/ptt-alertor/master/logo.jpg">

[![Build Status](https://travis-ci.org/liam-lai/ptt-alertor.svg?branch=master)](https://travis-ci.org/liam-lai/ptt-alertor)
[![codecov](https://codecov.io/gh/liam-lai/ptt-alertor/branch/master/graph/badge.svg)](https://codecov.io/gh/liam-lai/ptt-alertor)
[![Go Report Card](https://goreportcard.com/badge/github.com/liam-lai/ptt-alertor)](https://goreportcard.com/report/github.com/liam-lai/ptt-alertor)
[![StackShare](https://img.shields.io/badge/tech-stack-0690fa.svg?style=flat)](https://stackshare.io/ptt-alertor/ptt-alertor)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

## API

### Board

* GET /boards

* GET /boards/[board name]/articles

### User (Auth)

* GET /users/[account]

* POST /users

```json
{
    "profile":{
        "account": "sample",
        "email":"<EMAIL>"
    },
    "subscribes":[
        {
            "board":"gossiping",
            "keywords":["問卦","爆卦","公告"]
        },
        {
            "board":"lol",
            "keywords":["閒聊"]
        }
    ]
}
```

* PUT /users/[account]

```json
{
    "profile":{
        "account": "sample",
        "email":"<EMAIL>"
    },
    "subscribes":[]
}
```

## Credits

### Ptt

DMM, oas, bestpika, Zero0910, lucky0509, wbreeze, chang0206, lindo0130, hungys, gyman7788, tooilxui, myamyakoko
{'fraction_non_alphanumeric': 0.21946240217761143, 'fraction_numerical': 0.02041510717931269, 'mean_word_length': 3.2302158273381294, 'pattern_counts': {'":': 24, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 22, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1384608', 'n_tokens_mistral': 1249, 'n_tokens_neox': 1176, 'n_words': 115}