Skip to content

borisblack/seahub

 
 

Repository files navigation

Introduction

Extended version of Seahub CE (the opensource web frontend for Seafile) with simple file search (non full-text) and advanced files/folders tagging.

Preparation

Getting it

You can grab souce code from GitHub.

$ git clone git://github.com/borisblack/seahub

Set up a virtualenv to install dependencies locally:

$ virtualenv .virtualenv
$ . .virtualenv/bin/activate

Install python libraries by pip:

$ pip install -r requirements.txt

Configuration

Modify CCNET_CONF_DIR, SEAFILE_CENTRAL_CONF_DIR, SEAFILE_CONF_DIR and PYTHONPATH in setenv.sh.template to fit your path.

CCNET_CONF_DIR is the directory, that contains the ccnet socket (and formerly ccnet.conf).

Since 5.0 SEAFILE_CENTRAL_CONF_DIR contains most config files.

SEAFILE_CONF_DIR is the seafile-data directory (and formerly contained seafile.conf).

Run and Verify

Run as:

$ . .virtualenv/bin/activate
$ ./run-seahub.sh.template

Then open your browser, and input http://localhost:8000/, there should be a Login page. You can create admin account using seahub-admin.py script under tools/ directory.

Web API description

In addition to the UI extending, new API functions have been added.

Search Files in Libraries (non full-text)

GET /api2/simple-search/

Request parameters and response format are the same as in Seafile Pro

User tags

GET /api/v2.1/tags/

Returns all files and folders tags, available for user.

GET /api/v2.1/tags/{name}/

Returns all files and folders, tagged by {name} tag.

Internationalization (I18n)

Please refer to https://github.com/haiwen/seafile/wiki/Seahub-Translation

About

The web end of seafile server.

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE.txt
Unknown
LICENSE-thirdparty.txt

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 52.1%
  • Python 28.2%
  • CSS 10.5%
  • HTML 7.6%
  • SQLPL 1.0%
  • PLpgSQL 0.5%
  • Other 0.1%