# I am the Watcher. I am your guide through this vast new twtiverse.
#
# Usage:
# https://watcher.sour.is/api/plain/users View list of users and latest twt date.
# https://watcher.sour.is/api/plain/twt View all twts.
# https://watcher.sour.is/api/plain/mentions?uri=:uri View all mentions for uri.
# https://watcher.sour.is/api/plain/conv/:hash View all twts for a conversation subject.
#
# Options:
# uri Filter to show a specific users twts.
# offset Start index for quey.
# limit Count of items to return (going back in time).
#
# twt range = 1 1
# self = https://watcher.sour.is/conv/mklbaea
Rust 藉助 dotenv 庫讀取環境變量**
使用 Rust 執行env操作, 獲取到相應內容後進行相應處理, 是最直觀的方式. 但是也有第三方庫, 已經對此做了封裝. dotenv\n 這個 crate 是不錯的選擇, 迄今已有 1700 多萬次下載. 但看其 github\n 已經有數年沒有更新 (大概比較基礎, 基本功能實現後沒什麼好更新的了吧...) 使用 cargo init read-env cd read-env ⌘ Read more