albertwoo / Memory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Memory

show case

This is a web service to explorer videos and images, it is based on dotnet 8 and can run on many platforms.

Run below command to check what you can do with scripts automatically:

dotnet fsi build.fsx -- -h

Require dotnet 8 sdk

Dev

Requires

  • dotnet 8 sdk
  • nodejs 20 or above if you want to rebuild the style

Open terminal and run

dotnet fsi build.fsx -- -p dev --styles --platform win64

You can create appsettings.Development.json and override related fields (in appsettings.json) according to your needs.

Publish

dotnet fsi build.fsx -- -p publish --platform win64

Then go to the publish/xxx folder, you can copy and paste to related platform's files to run.

You can create appsettings.Production.json and override related fields (in appsettings.json) according to your needs.

Tag memory by face

  • Configure the FamiliarFacesFolder in the settings
  • Put images with only one face to the folder, the file name will be used as the tag. You can name it like some name.png
  • You can have same tag for multple similar faces, naming convention is: name.jpg, name_2.jpg, name_3.jpg.

Currently only support win.x64, linux.arm64, ubuntu.20.04.x64

appsettings.xxx.json

You can create this file to override some settings.

  • Version

    Sometimes, you want to reset the cache for the browser after you delete the local cache or db and want to rebuild all the memories, you can upgrade this property.

  • Theme

    Set your own theme, all the theme can be found in this file.

  • Users

    This fields can help you to set initial users with some password which can be reset by the specific user in the login page. Service will only pick new users from this list when start, it will never change or delete any existing users.

  • FFmpegBinFolder

    Use ffmpeg to process videos, so we need do download related files (-shared) from github release page.

    Download related platform's files and locate to the bin folder.

    When you use the dotnet fsi build.fsx, you can specify some options to download it automatically for you when you develop or publish.

About


Languages

Language:F# 56.0%Language:CSS 37.8%Language:C# 6.0%Language:JavaScript 0.2%