Giter Club home page Giter Club logo

filecodebox's Introduction

口令传送箱

解决问题

很多时候,我们都想将一些文件或文本传送给别人,或者跨端传递一些信息,但是我们又不想为了分享,而去下载一些七里八里端软件,这时候,我们就可以使用口令传送箱。

主要特色

  • 轻量简洁,Fastapi+sqlite3
  • 拖拽,复制粘贴上传
  • 文件口令传输,生成二维码
  • 分享文件:多种上传方式供你选择
  • 分享文本:直接复制粘贴直接上传
  • 防爆破:错误五次拉黑十分钟
  • 完全匿名:不记录任何信息
  • 无需注册:无需注册,无需登录
  • Sqlite3数据库:无需安装数据库
  • 可以加get参数code,这样打开就会读取取件码如:http://xxx.com?code=12345
  • 管理面板:简单列表页删除违规文件
  • 口令使用次数,口令有效期,二维码分享

更新记录

2022年12月10日 01:56:43

  1. 管理面板已新增,一如既往的极简,只有删除
  2. 二维码图片(调用的网络接口,如果离线环境将无法使用,一切为了极简)

2022年12月10日 21:10:00

  1. 取件码有效期,取件码使用次数
  2. 优化代码逻辑
  3. 限制上传文件大小
  4. 完善配置参数

2022年12月10日 23:50:00

  1. 修复取件不显示码的问题

系统截图

取件

取件 取件

寄件

取件 取件

管理面板

取件 取件

部署教程

https://www.yuque.com/lxyo/work/zd0kvzy7fofx6w7v

部署方式

先拉取代码,然后修改main.py文件,将里面写了注释的可以根据需求改一下

服务端部署

  1. 安装Python3
  2. 拉取代码,解压缩
  3. 安装依赖包:pip install -r requirements.txt
  4. 运行 uvicorn main:app --host 0.0.0.0 --port 12345
  5. 然后你自己看怎么进程守护吧

宝塔部署

  1. 安装宝塔Python Manager
  2. 然后你自己看着填吧

Docker部署

docker build --file Dockerfile --tag filecodebox .
docker run -d -p 12345:12345 --name filecodebox filecodebox

免责声明

本项目开源仅供学习使用,不得用于商业用途以及任何违法用途,否则后果自负,与本人无关。

filecodebox's People

Contributors

vastsa avatar

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.