Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> การเขียนโปรแกรม >> Python

Rainbow Stream - Twitter Client บน Linux Terminal


Rainbow Stream เป็น Twitter client ฟรีและโอเพนซอร์สสำหรับ Linux command-line ใช้ MIT License รองรับ realtime tweet stream, compose tweet, search, favorite เขียนด้วย Python บน Twitter API และ Python Twitter Tool ต้องการ Python และ pip 2.7.x หรือ 3.x

คุณสมบัติ

  • ฟรี โอเพนซอร์ส Twitter client CLI
  • แสดงรูปภาพ Twitter ใน Terminal ได้
  • รองรับ Proxy
  • Interactive mode
  • ปรับ Theme ได้
  • Real-time tweet stream
  • Tweet, search, favorite จาก terminal ได้

การติดตั้ง

  1. ตรวจสอบ Python: python --version
  2. ติดตั้ง pip: sudo apt-get install python-pip
  3. ติดตั้ง rainbowstream:
    • Python 2.7: pip install rainbowstream
    • Python 3.x: pip3 install rainbowstream

การใช้งาน

$ rainbowstream

ครั้งแรกจะเปิด browser ให้ authorize ได้ PIN นำ PIN กลับมาใส่ใน terminal

คำสั่งภายในโปรแกรม

  • h - ช่วยเหลือ
  • trend - ดู trending topics
  • ls fl - ดู followers
  • p - หยุด stream ชั่วคราว
  • r - เริ่ม stream ใหม่
  • c - เคลียร์หน้าจอ
  • q - ออกจากโปรแกรม

ตัวเลือกบรรทัดคำสั่ง

$ rainbowstream -h
# --stream, --timeout, --track-keywords, --filter, --ignore, --image-on-term, --color-24bit, --proxy-host, --proxy-port, --proxy-type

หมายเหตุ: โปรเจคนี้อาจไม่ได้รับการบำรุงรักษาอย่างต่อเนื่อง ตรวจสอบ GitHub ล่าสุดก่อนใช้