Picuang

本地存储图床,使用SpringBoot开发,RESTful前后端分离,面向用户的网络图床服务。 免费用于自用、商用图床,自由修改 | 中文文档,配置简单,不依赖数据库 | URL图片转存功能 | 历史记录功能 | 支持选择、拖拽、粘贴上传 | 自动生成img标签、Markdown标签 | 上传频率限制

APACHE-2.0 License

Stars
141
Committers
4

Picuang

📌 SpringBoothttps://pic.stackoverflow.wiki 🔧 🔖 PicuangApache 2.0/~~~~

🎨

Picuang``WEBPicuangjpg/`jpeg`/`png`/`svg`/`gif`/`bmp`/`ico`/`tiff`PicuangPicuang

Picuang````()``

  • Picuang
  • URL``HTML``Markdown
  • URLPicuangPicuang
  • IP/
  • IPIP
  • Picuang

🌐

Intellij IDEA

Thymeleaf Spring Boot

JQuery Bootstrap Axios

🔍

~

📄

PicuangIDEAMavenwaruploadImagesUploadController.java

String path = ClassUtils.getDefaultClassLoader().getResource("").getPath() + "static/uploadImages/";

PicuangThymeleafstatic

✅ /

  • PicuangTomcatwarTomcat
  • PicuangCloneIntellij IDEAMaven - packagewarwartarget

⬆️

  • uploadImages config.ini
  • Picuang

application.properties

#Picuang
//
spring.servlet.multipart.max-file-size=20MB
//
spring.servlet.multipart.max-request-size=20MB
#Picuang

🚨

Tomcat TomcatNginxPicuang

  1. Tomcatcontext.xml

conf/context.xml``</Context>

<Resources cachingAllowed="true" cacheMaxSize="100000" />
  1. Tomcatserver.xml

conf/server.xml``Connector

maxPostSize="209715200"
  1. Nginx

location / {

client_max_body_size 100m;

💚

Picuang 
Picuang 
PR
Related Projects