百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

blueprintue-self-hosted-edition

> 编程语言
开源

如果您想为自己的公司主办一个 blueprintUE 网站,这非常有用。

176 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

如果您想为自己的公司主办一个 blueprintUE 网站,这非常有用。

blueprintUE self-hosted edition

Minimum requirements

  • >= PHP 8.4
  • >= MySQL 8 or >= MariaDB 10.6
  • >= SQLite for rate limit

How to install?

Docker Image

Registry Image
Docker Hub blueprintue/blueprintue-self-hosted-edition
GitHub Container Registry ghcr.io/blueprintue/blueprintue-self-hosted-edition

Read docker-examples about documentation and docker-compose file example.

FTP / localhost

Download zip file from last release or run a composer install to have vendor folder.

  1. copy folders app, storage, vendor and paste outside of the public folder of your server
  2. copy folder content www and paste inside the public folder of your server
  3. copy dump-with-anonymous-user.sql or dump-without-anonymous-user.sql and paste file in your database
  4. copy .env.template and paste file outside of the public folder of your server
  5. fill values in .env.template file with what you need (database and email)
  6. rename .env.template to .env (see Configuration explanations)
  7. done

The public folder means what your http server can show you, usually it is called is www or public_html

Don't forget to add PHP permissions to read/write in folders storage, www/medias and where you have .env file for cache.
You can disable cache for .env by removing line $env->enableCache(); in www/index.php.

What's the difference between blueprintUE and blueprintUE self-hosted edition?

blueprintUE self-hosted edition is like blueprintUE but without

  • "What is it?" section on the homepage
  • blog and tools section
  • OAuth for Facebook, Google and Twitter
  • metadatas for OpenGraph and Twitter card
  • external links in footer
  • page "conditions générales d’utilisation"
  • blueprintUE logo replaced with an image
  • background images and fonts
  • OEmbed

GDPR

Because GDPR you will need to:

  • fill contact email (in .env file)
  • fill page privacy policy (in /app/views/www/pages/privacy_policy.php)
  • fill page terms of service (in /app/views/www/pages/terms_of_service.php)

Configuration explanations

.env file

Database

Parameter Mandatory Type Default value Specific values Description
DATABASE_DRIVER YES string mysql | pgsqlite | sqlite database engine used
DATABASE_HOST YES string host
DATABASE_USER YES string user
DATABASE_PASSWORD YES string password
DATABASE_NAME YES string database name
DATABASE_PERSISTENT_CONNECTION NO bool false use persistent connection for database, only for e2e tests

Session

Parameter Mandatory Type Default value Specific values Description
SESSION_DRIVER NO string default default | database session driver used
SESSION_ENCRYPT_KEY NO string if empty there is no encryption
SESSION_GC_MAXLIFETIME NO int 3600 * 24 session's lifetime before deletion by garbage collector
SESSION_LIFETIME NO int 0 cookie's lifetime for session
SESSION_PATH NO string / cookie's path for session
SESSION_HTTPS NO bool true session cookie will be only accessible on https
SESSION_SAMESITE NO string Strict None | Lax | Strict security policies on how cookies are shared, Lax is mandatory for Twitter OAuth
SESSION_REMEMBER_NAME NO string remember_token cookie's name for remember login
SESSION_REMEMBER_LIFETIME NO int 3600 * 24 * 30 cookie's lifetime for remember login
SESSION_REMEMBER_PATH NO string / cookie's path for remember login
SESSION_REMEMBER_HTTPS NO bool true remember cookie will be only accessible on https
SESSION_REMEMBER_SAMESITE NO string Strict None | Lax | Strict security policies on how cookies are shared, Lax is mandatory for Twitter OAuth

Host

Parameter Mandatory Type Default value Description
HOST YES string hostname (e.g. blueprintue-self-hosted-edition.test)
HTTPS YES bool use for detect scheme (http or https)

Site

Parameter Mandatory Type Default value Description
SITE_NAME YES string blueprintUE self-hosted edition name of the site, used for email/description (e.g. blueprintUE self-hosted edition)
SITE_BASE_TITLE NO string use for complete the title tag
SITE_DESCRIPTION NO string use for description tag in home page

Anonymous user

Parameter Mandatory Type Default value Description
ANONYMOUS_ID NO int user_id for all anonymous blueprints pasted

Mail

PHPMailer is used as library for sending mails.
You can use msmtp as service docker for smtp relay and set smtp authentication inside.

Parameter Mandatory Type Default value Description
MAIL_USE_SMTP NO bool false set PHPMailer to use SMTP
MAIL_SMTP_HOST NO string localhost SMTP host
MAIL_SMTP_PORT NO int 25 SMTP port
MAIL_USE_SMTP_AUTH NO bool false for SMTP authentication
MAIL_USE_SMTP_TLS NO bool false set to true if you need TLS like Gmail or any mail provider
MAIL_SMTP_USER NO string user for SMTP authentication
MAIL_SMTP_PASSWORD NO string password for SMTP authentication
MAIL_FROM_ADDRESS YES string email display for sending emails (register and reset password)
MAIL_FROM_NAME NO string name display for sendings emails (register and reset password)
MAIL_CONTACT_TO YES string email receiver for the contact page
MAIL_HEADER_LOGO_PATH YES string blueprintue-self-hosted-edition_logo-full.png header image in emails (complete by HOST parameter)

Rate Limit

SQLite is mandatory for that feature.
We store in a separate database called rate_limit.db at ROOT level.
Inside there is a table rate_limit with 2 fields: id and time.
id is a sha512 of ip + salt + action.

We have 2 levels:

  • IP: check how many times a single IP (no fingerprint) can execute an action
  • Global: check how many times the website (all IPs combined) can execute an action

Default values are:

  • contact form: 1 mail sent per 30 minutes for 1 IP

  • contact form: 10 mails sent per 30 minutes for the website

  • forgot form: 1 mail sent per 30 minutes for 1 IP

  • forgot form: 10 mails sent per 30 minutes for the website

  • login form: 3 login success per 1 minute for 1 IP

  • login form: 30 login success send per 1 minute for the website

  • login form error: 5 login error per 5 minutes for 1 IP

  • login form error: 3 login error per 15 minutes for 1 account

  • register form: 1 mail sent per 30 minutes for 1 IP

  • register form: 10 mails sent per 30 minutes for the website

| Parameter | Mandatory | Type | Default value | Description | |-------------------------------------

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

PHP

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言