Coder Social home page Coder Social logo

hydrargyrum / sit-tagger Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 3.0 861 KB

Image viewer with user-labels tag database - mirror of https://gitlab.com/hydrargyrum/sit-tagger

License: Do What The F*ck You Want To Public License

Python 99.92% Shell 0.08%
image image-viewer viewer tags tagging qt5 qt image-browser python command-line command-line-tool

sit-tagger's Introduction

SIT-Tagger

SIT-Tagger is an app for browsing tagged files.

For now, it consists in an image browser app, that allows to set custom text tags on any image file, and then list image files matching checked tags. The tags are saved in a local SQLite database.

Other apps reusing the same database will be added, and support for video files will be added.

sit-tagger window with a directory tree pane and the list of files (with thumbnails) from the selected dir

sit-tagger window with a tags list pane (with a checkbox for each tag) and the list of files (with thumbnails) matching the checked tags

It also comes with a command-line too to manipulate the tag database.

Command-line tool

SIT-Tagger comes with a command-line tool to manipulate the tag database.

These 2 commands set tag foo and unset tag bar on some/file.jpg:

sit-tagger-cli set +foo some/file.jpg
sit-tagger-cli set -bar some/file.jpg

Combined in a single command:

sit-tagger-cli set +foo -bar some/file.jpg

It's possible to query the list files tagged foo:

% sit-tagger-cli query foo
/tmp/some/file.jpg

Or show the tags of a file:

% sit-tagger-cli show some/file.jpg
/tmp/some/file.jpg = [foo]

List all tags:

% sit-tagger-cli list-tags
foo

Rename a tag:

sit-tagger-cli rename-tag foo foonew

List all files:

% sit-tagger-cli list-files
/tmp/some/file.jpg

Remove all tags from a file:

sit-tagger-cli untrack-files some/file.jpg

Install

Install with pipx install sittagger.

sit-tagger's People

Contributors

bing-jian avatar hydrargyrum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.