File: README.md

package info (click to toggle)
tracker-miners 3.8.2-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 16,656 kB
  • sloc: ansic: 59,413; python: 3,774; xml: 261; perl: 106; sh: 62; makefile: 53
file content (27 lines) | stat: -rw-r--r-- 795 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Example search app

This is a simple example of building an app that searches user data using Tracker.

## Running on the host

You can run it on your host as follows:

    $ python3 ./example-app.py TEST

This will return all files indexed by Tracker Miner FS which match the word "TEST".

## Building a Flatpak

The provided Flatpak manifest will produce a self-contained Flatpak app, which
works on systems even where Tracker Miner FS isn't installed.

You can build and install the app as follows:

    $ flatpak-builder --install --user ./build ./org.example.TrackerSearchApp.json

You may need to install the nightly GNOME SDK first, or you can modify the
manifest to use a stable version of the GNOME SDK.

You can then run the app:

    $ flatpak run org.example.TrackerSearchApp TEST