/alist-replit

alist on replit

Primary LanguageShell

alist-replit

The fastest way to deploy the alist to repl.it is to click the run on repl.it button below.

Run on Repl.it

Database

You may need to use another remote MySQL/Postgres database as local sqlite3 is public for everyone. Some Free MySQL/Postgres Databases:

How to change the database?

Switch to secrets tab then edit System environment variables.You can also edit raw json:

{
  "DB_TYPE":"mysql",
  "DB_HOST":"sql.com",
  "DB_PORT":"3306",
  "DB_USER":"alist",
  "DB_PASS":"password",
  "DB_NAME":"alist",
  "DB_TABLE_PREFIX":"alist_",
  "DB_SSL_MODE":"true"
}

The secrets is private so you don't need to worry about leaking your data.

Sample Config https://bit.io/

{
  "DB_TYPE": "postgres",
  "DB_HOST": "db.bit.io",
  "DB_PORT": "5432",
  "DB_USER": "user",
  "DB_PASS": "password",
  "DB_NAME": "user/alist",
  "DB_TABLE_PREFIX": "alist_",
  "DB_SSL_MODE": "require"
}

Password

The initial password is randomly generated, and you can get it by checking the console logs.