Skip to content

CLI application that search from any resources(twitter favorites, scrapbox, ...)

Notifications You must be signed in to change notification settings

funwarioisii/sagasu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sagasu

Search from any resources(constructed by URI and sentence) in CLI.

Change direction: Search from Scrapbox articles in CLI.

let's pip install sagasu

Requirements

  • python (>=3.8)
  • (Optional) Twitter Developer token and keys
    • need to crawl your favorite

now supporting

looking for

  • likes in Twitter
  • pages in Scrapbox

how to run

  1. pip install sagasu
  2. edit your config file
  3. (if you collect twitter info) set these environment variables
    • CONSUMER_KEY
    • CONSUMER_SECRET
    • ACCESS_TOKEN
    • ACCESS_TOKEN_SECRET
  4. sagasu indexing
  5. sagasu search

image captioning(experimental)

if you enable caption feature, sagasu search any images.

pip install sagasu[cation]

and SAGASU_CAPTION=true sagasu indexing.

config file

Set config.yml under $HOME/.sagasu/config

sources:
    - source_type: twitter
      target: <user name>
    - source_type: scrapbox
      target: <target project name>

Credits

This package was created with Cookiecutter and the cookiecutter-docker-science project template.

About

CLI application that search from any resources(twitter favorites, scrapbox, ...)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published