Skip to content

CurtisNewbie/vfm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vfm

vfm stands for virtual file manager. vfm doesn't manage the actual file storage, the actual files are stored by mini-fstore.

Requirements

Configuration

Check miso and gocommon for more about configuration.

Property Description Default Value

Updates

  • Since v0.0.4, vfm relies on evnet-pump to listen to the binlog events. Whenever a new file_info record is inserted, the event-pump sends MQ to vfm, which triggers the image compression workflow if the file is an image.
  • Since v0.0.8
    • Users can only share files using vfolder, field file_info.user_group and table file_sharing are deprecated.
  • Since v0.1.3, fantahsea has been merged into vfm codebase, see Fantahsea Migration.
  • Since v0.1.17, file tag functionality is removed.

Maintenance

Calculate size of all directories recursively, bubbling up to the root:

curl -X POST "http://localhost:8086/compensate/dir/calculate-size"

Compensate thumbnail generations, those that are images/videos (guessed by names) are processed to generate thumbnails:

curl -X POST "http://localhost:8086/compensate/thumbnail"

Schema Migration

Everytime the schema is changed, a new SQL script for that specific version is maintained at internal/schema/scripts. The migration is automatically handled by github.com/curtisnewbie/svc.

Doc

Updates

About

Virtual File Manager

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages