An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# 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:

- 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.