Coder Social home page Coder Social logo

just-imgs's Introduction

Just-Imgs

图床管理前端,Vite + Vue3 + TS,对接 Cloudflare Worker + R2 使用;

安装 / 调试 / 构建

  • 执行 install 操作会自动生成 .env.dev.local.env.local,分别用于本地调试和打包构建;
  • 下载 Worker 项目,设置相应的变量文件用于上传图片时的验证鉴权;
    • 调试运行时端口号会随机变更,需要修改至 vite 配置内;
  • 用户名密码会保存在浏览器 localStorage 中;
  • --------------
  • Worker 可以直接执行 npm run deploy 进行部署,前端这边可以打包后传 GitHub Pages 或者 Cloudflare Pages;
    • 部署至 Cloudflare Pages 时需要设置 VITE_CF_WORKER_URL=http://Worker 服务地址/NODE_VERSION=18.16.1 两个环境变量;
  • 吐槽:见过几个项目带 netlify.toml 了,然而就没感觉没啥存在感;

截图

001.png

002.png

just-imgs's People

Contributors

wdssmq avatar dependabot[bot] avatar dundunha 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.