https://github.com/AlistGo/alist-replit
alist on replit
https://github.com/AlistGo/alist-replit
Last synced: about 1 month ago
JSON representation
alist on replit
- Host: GitHub
- URL: https://github.com/AlistGo/alist-replit
- Owner: AlistGo
- Created: 2022-04-10T10:07:23.000Z (about 3 years ago)
- Default Branch: v3
- Last Pushed: 2023-04-16T13:21:18.000Z (almost 2 years ago)
- Last Synced: 2025-01-06T20:10:21.111Z (3 months ago)
- Language: Shell
- Size: 12.7 KB
- Stars: 335
- Watchers: 6
- Forks: 355
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - AlistGo/alist-replit - alist on replit (Shell)
README
# alist-replit
The fastest way to deploy the alist to `repl.it` is to click the `run on repl.it` button below.
## Database
You may need to use another remote MySQL/Postgres database as local sqlite3 is public for everyone. Some Free MySQL/Postgres Databases:- https://db4free.net/
- https://remotemysql.com/
- https://www.freesqldatabase.com/
- https://planetscale.com/
- https://bit.io/
- https://www.elephantsql.com/
- https://scalingo.com/
- http://cloud.yugabyte.com/How to change the database?
> Switch to `secrets` tab then edit `System environment variables`.You can also edit raw json:
> ```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/
> ```json
> {
> "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.