Code Monkey home page Code Monkey logo

alist-replit's Introduction

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.

alist-replit's People

Contributors

amakerlife avatar kahnnn avatar xhofe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

alist-replit's Issues

使用该服务请注意隐私安全

若按照免费计划,其生成的数据库是公开的,为了安全请务必连接到其他私人数据库。

此外该服务唤醒速度较慢。
image

报错

failed get storage: can't find storage with rawPath: /

How to use a database in replit?

Hello, I have a question here, how to get alist to find the database address from the replit variable? If I edit the config.json file directly and fill in the database address, then others can also connect to the database based on the database address of config.json, which is very insecure, but I have not found a way to make alist look for the database address in the replit environment variable. Please let me know, thanks

GG了

Screenshot_2023-02-16-07-48-59-629_mark.via.jpg

修一下呗,佬

已经不能导入了

This repository possibly violates our Terms of Service. Contact support if you believe this is a mistake

一键部署后报错

填的数据库设置跟render上的alist一模一样, 多了一个DB_SLL_MODE
错误如下
failed to connect database:x509: certificate is not valid for any names, but wanted to match db4free.net
换了个数据库
failed to connect database:x509: certificate signed by unknown authority
这是要自己设置证书吗? 小白求个教程

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.