Skip to main content

Browse, share, and publish files on the Janelia file system

Project description

Fileglancer

Github Actions Status DOI

Fileglancer is an intranet web application designed to allow researchers to easily browse, share, and manage large scientific imaging data using OME-NGFF (i.e. OME-Zarr). Our goal is to reduce the friction experienced by users who want to easily share their data with colleagues at their institution. Simply browse to your data, click on the Neuroglancer link, and send that link to your collaborator.

Core features:

  • Browse and manage files on network file shares (NFS) using an intuitive web UI
  • Create a "data link" for any file share path, allowing web-based anonymous access to your data
  • Shareable links to Neuroglancer and other viewers
  • Integration with our help desk (JIRA) for file conversion requests
  • Integration with the x2s3 proxy service, to easily share data on the internet

See the documentation for more information.

Fileglancer screenshot

Installation

Quick Start with pip

You can install and run Fileglancer using pip:

# Install from PyPI
pip install fileglancer

# Start the server
fileglancer start

The server will start on http://localhost:7878 by default. By default, users can browse their home directory (~/) without any additional configuration.

Configuration

Fileglancer can be configured using a YAML configuration file or environment variables. Create a config.yaml file in your working directory:

# Logging level
log_level: DEBUG

# Configure additional file share paths
file_share_mounts:
  - "~/"                    # User's home directory
  - "/data/shared"          # Additional shared directory

# Database configuration
db_url: "sqlite:///fileglancer.db"

Alternatively, you can use environment variables with the FGC_ prefix:

export FGC_LOG_LEVEL="DEBUG"
export FGC_FILE_SHARE_MOUNTS='["~/", "/data/shared"]'
export FGC_DB_URL="sqlite:///fileglancer.db"

For more configuration options, see the development docs.

Deployment @ Janelia Research Campus

If you are on the internal Janelia network navigate to "fileglancer.int.janelia.org" in your web browser and login with your Okta credentials. If you are outside of Janelia, you'll need to ask your System Administrator to install Fileglancer on a server on your institution's network.

Software Architecture

Fileglancer has a React front-end and a FastAPI backend. Uvicorn is used to manage the set of FastAPI workers. Inspired by JupyterHub's method of spinning up individual user servers using setuid, we use seteuid to change the effective user of each worker process as necessary to handling the incoming requests. This allows each logged in user to access their resources on the network file systems. The backend database access is managed by SQLAlchemy and supports many databases including Sqlite and Postgresql.

Fileglancer architecture diagram

Documentation

Related repositories

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

fileglancer-2.1.0.tar.gz (7.5 MB view details)

Uploaded Source

Built Distribution

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

fileglancer-2.1.0-py3-none-any.whl (7.1 MB view details)

Uploaded Python 3

File details

Details for the file fileglancer-2.1.0.tar.gz.

File metadata

  • Download URL: fileglancer-2.1.0.tar.gz
  • Upload date:
  • Size: 7.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for fileglancer-2.1.0.tar.gz
Algorithm Hash digest
SHA256 3326dfeabb32cc9496666e96be6b60c00d924bd57810fb6164d7dd327da02bcb
MD5 2fe276792edb6767bf7f92897fbbde32
BLAKE2b-256 78b9d0381080ba7849a69006d82ca8fc98c439f70c65aa55ef73d2679bb2cb44

See more details on using hashes here.

File details

Details for the file fileglancer-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: fileglancer-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for fileglancer-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3fdf5ffd32c33084f7f988628470ca0eb8db81552f8fbe503ba8944f026df8f6
MD5 253b65123a506d0ff9f6a630e89c6fae
BLAKE2b-256 f2bdade4b4ca859dd151ce6421aacbb32c01a9005427fb573f98a5a6dcecddb3

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