Git Product home page Git Product logo

net-snip's Introduction

使用PyWebIO打造的网络剪辑板

使用SQLite保存的英文单词作为密钥。数据库使用PostgreSQL,方便部署到云服务

包含密码访问,自动保存,支持MarkDown格式。

安装

pip install -r requirements.txt

Test

python network_snip.py

运行

python index.py

使用

打开浏览器访问http://localhost:8080

Docker

Build

docker build -t nickdlk/net-snip:latest .

Run

docker run -d -p 8080:8080 nickdlk/net-snip:latest

Docker Compose

docker-compose up -d

设置容器自动更新

docker run -d \
    --name watchtower \
    -v /var/run/docker.sock:/var/run/docker.sock \
    containrrr/watchtower \
    net_snip

TODO

  1. 支持MarkDown格式
  2. 支持密码访问
  3. 支持自动保存
  4. 支持查看历史记录
  5. 支持上传文件,下载文件,文件限制大小
  6. 系统初始化/重置,清空数据库数据
  7. 安全加固,密码加密保存,文本/文件加密保存,同ip限制创建和访问
  8. 增加分享超时时间
  9. 增加查看次数
  10. Vercel部署
  11. Dockerfile,Docker Compose
  12. 定时清理
  13. 分享连接,二维码分享,支持分享只读链接,对key进行加密分享
  14. 优化页面布局
  15. 支持删除文件,下载次数统计
  16. 支持输入key和生成key
  17. 生成短链
  18. 多端编写同步更新
  19. GitHub Action 自动打包Docker

部署

Vercel

Deploy with Vercel

net-snip's People

Contributors

nickdlkk avatar

Watchers

 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.