Giter VIP home page Giter VIP logo

ntu-linebot's Introduction

NTU Line Bot (臺大 Line Bot)

其實這原本只是我的面試題,但我真的不知道要做什麼題目加上我剛好報名了新生書院的隊輔,所以想說可以搞一個 Line Bot 來讓學弟/妹們對學校有更近一步的認識。

Feature Request

如果您想要加任何功能的話,請開一個 Issue,並詳細記錄下 User Scenario,畢竟我不會通靈。

Good:

  • 主題:尋找最近的吃飯地點
  • 情境:當使用者點擊或是輸入「吃飯」,即可依使用者當前位置列出餐廳。(可選擇由近到遠評價由高到低)。
  • 參考資料:

Bad:

  • 主題:新增 NPC 位置
  • 情境:列出任何有 NPC 的地方
  • 參考資料:無

這會是 Bad 的原因: 我怎麼知道哪裡有 NPC 啦???????

Pull Request

非常歡迎大家自幹功能。

  1. 請遵守 Standard JS 的規範,不然你的 Pull Request 不會被通過。
  2. 開分支的時候也務必注意分支名稱,如 Feature 請用 feature/your-idea 這種分類明確且看得懂(Human-readable)的命名方式。

JavaScript Style Guide

Dev Howto

Environment Variables

These environment variables are required. Please copy and paste them into the .env file, If you don't have that file, create one.

WEBHOOK_SECRET=
LINE_CHANNEL_ID=
LINE_CHANNEL_SECRET=
LINE_CHANNEL_ACCESS_TOKEN=

Folder Structure

├── config
│   ├── default.js          # Each config property (Even is an environment variable) should be stored in this file. (With a default value is a plus)
├── app.js                  # Application entry file
├── utils                   # Strong-function-based functions (Ex. messageGenerator)
└── services                # Message handlers

Improvement TODOs

  • Add Sentry to handle errors.

ntu-linebot's People

Contributors

maxchou415 avatar

Stargazers

 avatar  avatar yc97463 avatar YuChieh-Kuo avatar

Watchers

James Cloos avatar  avatar

ntu-linebot's Issues

Some new features we can develop

There might be some available features we may develop on NTU-Linebot.

  1. Courses evaluation searching
  • Scenario: Freshmen may want to know the course evaluation, as a result, we can search evaluation on Internet when users input the course name or the professor's name they want to know. Relative resources include NTUCourse, NTU Sweety Course, Dcard(?), etc..
  1. Donation
  • Scenario: Users can donate me and you directly via LinePay or LinePoint, then we can rent a better place.
  • Ref: LINE Pay Online
  1. Campus navigation
  • Scenario: Many freshmen are confused with buildings location and get lost on the campus.
  • Ref: Line Location Action

列出周圍餐廳

  • 主題:列出周圍餐廳
  • 情境:當使用者點擊或是輸入「吃飯」會住類似指令時,可依使用者當前位置列出餐廳。(可選擇由近到遠或評價由高到低)。
  • 參考資料:PostGIS

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.