Skip to main content

Web interface for falocalrepo.

Project description

FALocalRepo-Server

version_pypi version_gitlab version_python

Web interface for falocalrepo.

Favicon by Fur Affinity.

Installation & Requirements

To install the program it is sufficient to use Python pip and get the package falocalrepo-server.

python3 -m pip install falocalrepo-server

Python 3.8 or above is needed to run this program, all other dependencies are handled by pip during installation. For information on how to install Python on your computer, refer to the official website Python.org.

For the program to run, a properly formatted database created by falocalrepo needs to be present in the same folder.

Usage

falocalrepo-server <database> [<host>:<port>]

The server needs one argument pointing at the location of a valid falocalrepo database and accepts an optional argument to manually set host and port. By default, the server is run on 0.0.0.0:8080.

Once the server is running - it will display status messages in the terminal - the web app can be accessed at http://0.0.0.0:8080/, or any manually set host/port combination.

Note: All the following paths are meant as paths from <host>:<port>.

The root folder / displays basic information on the database and has links to perform submissions and journal searches.

Users

The /user/<username> path displays basic statistics of a user stored in the database. Clicking on gallery/scraps or journals counters opens submissions and journals by the user respectively.

The /submissions/<username> and /journals/<username> paths open submissions and journals by the user respectively.

Search

The server search interface allows to search submissions, journals, and users. Respectively, these can be reached at /search/submissions, /search/journals, and /search/users. The /search/ path defaults to submissions search.

The interface supports searching all columns of the three tables. In addition to those, the Any option will match to any field, and the advanced SQL option allows to use SQLite WHERE queries.

To add a field, click on the Add Field, then select the search field in the drop-down menu beside the newly created input box.

Fields can be added multiple times and will act as OR options. The SQL option will override other fields.

Fields are matched using the SQLite like expression which allows for limited pattern matching. See database command for more details.

The Sort By and Order selections allow to sort and order results using any field.

The View option allows to switch from a list view to a grid view of the search results. The view selector and grid view are only supported for submission searches, all others will default to the list view.

The /submissions/<username>/, /gallery/<username>/, /scraps/<username>/, /favorites/<username>/, /mentions/<username>/, and /journals/<username>/ paths allow to quickly open a search for submissions, favorites, and journals associated to <username>. /search/submissions/<username>/, /search/gallery/<username>/, etc. are valid aliases.

Browse

The /browse/submissions, /browse/journals, and /browse/users paths allow to open a list of all entries in a specific table. From there the results can be refined using the search interface.

Submissions & Journals

Submissions and journals can be accessed respectively at /submission/<id> and /journal/<id>. All the metadata, content and files that are recorded in the database are displayed in these pages.

Submission files can be accessed at /submission/<id>/file or by using the Download File or Download Submission as ZIP buttons.

For both submissions and journals it is possible to download a ZIP containing the metadata in a JSON-formatted file and the submission description/journal content in HTML format. For submissions, the ZIP file also contains the submission file. The ZIP of a submission/journal can be accessed directly using the /submission/<id>/zip and /journal/<id>/zip paths.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

falocalrepo-server-1.10.1.tar.gz (42.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

falocalrepo_server-1.10.1-py3-none-any.whl (43.0 kB view details)

Uploaded Python 3

File details

Details for the file falocalrepo-server-1.10.1.tar.gz.

File metadata

  • Download URL: falocalrepo-server-1.10.1.tar.gz
  • Upload date:
  • Size: 42.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.6 CPython/3.9.4 Darwin/20.3.0

File hashes

Hashes for falocalrepo-server-1.10.1.tar.gz
Algorithm Hash digest
SHA256 2055588ecd110bd31640747250d4a5d888cddaa963d446185bc24c9a2ab0866d
MD5 e0e4468d9fc7bc4012c33d0a66063667
BLAKE2b-256 55f47372f02dbb932eaac2e8fcd6dd3ee1ba587881fc6a36171e0118b3d00126

See more details on using hashes here.

File details

Details for the file falocalrepo_server-1.10.1-py3-none-any.whl.

File metadata

File hashes

Hashes for falocalrepo_server-1.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3cc970e44bc47a981a35068f787b553152839d827a4ce817e9e246283e16be1d
MD5 fcddd21b7b82e7f2c13c945e4f1e1028
BLAKE2b-256 55b56d1e0b057847355cac79a49f8c3703bff41e2bc59013b79adefaec1d87f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page