Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaochaos committed Apr 5, 2024
0 parents commit 741d674
Show file tree
Hide file tree
Showing 137 changed files with 18,170 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["next/core-web-vitals", "prettier"],
"plugins": ["only-warn"]
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts


.idea
.eslintcache
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist
node_modules
.next
build
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"tabWidth": 2,
"useTabs": false
}
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<h1 align="center">QRBTF</h1>

<p align="center">
Website: <a href="https://qrbtf.com" target="_blank">qrbtf.com</a>
| <a href="https://discord.gg/V9CNuqYfte" target="_blank">Discord server</a>
</p>
<p align="center">
The world's first and best AI & parametric QR code generator.
By <a href="https://latentcat.com" target="_blank">Latent Cat</a>.
</p>

<p align="center">
<img src="public/assets/resources/qrbtf-hero.jpg">
<img src="public/assets/resources/qrcodes.jpg">
</p>

## News

- **03/19/2024**<br />
The website has been completely rebuilt using Next.js, integrating AI and parametric parts, supporting English and Chinese, SSR, and lazy loading components. Contributions to i18n in other languages are welcome!

## Features

- **AI part**
- Original models trained on a large number of images.
- Extremely fast and high quality inference.
- **Parametric part**
- Open source.
- Various styles with no backend required.
- Support for SVG format.

Articles:

- [如何制作一个漂亮的二维码 (Chinese)](https://mp.weixin.qq.com/s/_Oy9I9FqPXhfwN9IUhf6_g)
- [AI 生成可扫码图像 — 新 ControlNet 模型展示 (Chinese)](https://mp.weixin.qq.com/s/i4WR5ULH1ZZYl8Watf3EPw)
- [ControlNet for QR Code](https://www.reddit.com/r/StableDiffusion/comments/141hg9x/controlnet_for_qr_code/)

## Usage

1. Open [qrbtf.com](https://qrbtf.com).
2. Enter a URL or text.
3. Select a style.
4. Adjust parameters.
5. Download for `SVG` `JPG` or `SVG` format.

## React Component

See [CPunisher / react-qrbtf](https://github.com/cpunisher/react-qrbtf) for more information.

## Authors

- [ciaochaos](https://github.com/ciaochaos)
- [CPunisher](https://github.com/CPunisher)
- More members at [Latent Cat](https://latentcat.com).

## Contact

- [E-mail](mailto://[email protected]) for cooperation consultation.
- [Discord server](https://discord.gg/V9CNuqYfte) for community communication and support.

## License

[GNU General Public License v3.0](LICENSE)
17 changes: 17 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "zinc",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
}
3 changes: 3 additions & 0 deletions crowdin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
files:
- source: /messages/en.json
translation: /messages/%locale%.json
3 changes: 3 additions & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// Use type safe message keys with `next-intl`
type Messages = typeof import("./messages/en.json");
declare interface IntlMessages extends Messages {}
Loading

0 comments on commit 741d674

Please sign in to comment.