diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..6f5e950 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,191 @@ +## GITATTRIBUTES FOR WEB PROJECTS +# +# These settings are for any web project. +# +# Details per file setting: +# text These files should be normalized (i.e. convert CRLF to LF). +# binary These files are binary and should be left untouched. +# +# Note that binary is a macro for -text -diff. +###################################################################### + +## AUTO-DETECT +## Handle line endings automatically for files detected as +## text and leave all files detected as binary untouched. +## This will handle all files NOT defined below. +* text=auto + +## SOURCE CODE +*.bat text eol=crlf +*.coffee text +*.css text +*.htm text +*.html text +*.inc text +*.ini text +*.js text +*.json text +*.jsx text +*.less text +*.od text +*.onlydata text +*.php text +*.pl text +*.py text +*.rb text +*.sass text +*.scm text +*.scss text +*.sh text eol=lf +*.sql text +*.styl text +*.tag text +*.ts text +*.tsx text +*.xml text +*.xhtml text + +## DOCKER +*.dockerignore text +Dockerfile text + +## DOCUMENTATION +*.markdown text +*.md text +*.mdwn text +*.mdown text +*.mkd text +*.mkdn text +*.mdtxt text +*.mdtext text +*.txt text +AUTHORS text +CHANGELOG text +CHANGES text +CONTRIBUTING text +COPYING text +copyright text +*COPYRIGHT* text +INSTALL text +license text +LICENSE text +NEWS text +readme text +*README* text +TODO text + +## TEMPLATES +*.dot text +*.ejs text +*.haml text +*.handlebars text +*.hbs text +*.hbt text +*.jade text +*.latte text +*.mustache text +*.njk text +*.phtml text +*.tmpl text +*.tpl text +*.twig text + +## LINTERS +.csslintrc text +.eslintrc text +.htmlhintrc text +.jscsrc text +.jshintrc text +.jshintignore text +.stylelintrc text + +## CONFIGS +*.bowerrc text +*.cnf text +*.conf text +*.config text +.browserslistrc text +.editorconfig text +.gitattributes text +.gitconfig text +.htaccess text +*.npmignore text +*.yaml text +*.yml text +browserslist text +Makefile text +makefile text + +## HEROKU +Procfile text +.slugignore text + +## GRAPHICS +*.ai binary +*.bmp binary +*.eps binary +*.gif binary +*.ico binary +*.jng binary +*.jp2 binary +*.jpg binary +*.jpeg binary +*.jpx binary +*.jxr binary +*.pdf binary +*.png binary +*.psb binary +*.psd binary +*.svg text +*.svgz binary +*.tif binary +*.tiff binary +*.wbmp binary +*.webp binary + +## AUDIO +*.kar binary +*.m4a binary +*.mid binary +*.midi binary +*.mp3 binary +*.ogg binary +*.ra binary + +## VIDEO +*.3gpp binary +*.3gp binary +*.as binary +*.asf binary +*.asx binary +*.fla binary +*.flv binary +*.m4v binary +*.mng binary +*.mov binary +*.mp4 binary +*.mpeg binary +*.mpg binary +*.ogv binary +*.swc binary +*.swf binary +*.webm binary + +## ARCHIVES +*.7z binary +*.gz binary +*.jar binary +*.rar binary +*.tar binary +*.zip binary + +## FONTS +*.ttf binary +*.eot binary +*.otf binary +*.woff binary +*.woff2 binary + +## EXECUTABLES +*.exe binary +*.pyc binary \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/suggestion.yaml b/.github/ISSUE_TEMPLATE/suggestion.yaml new file mode 100644 index 0000000..7352448 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/suggestion.yaml @@ -0,0 +1,33 @@ +name: Suggestion +description: Help us improve with suggestions +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this suggestion form! + - type: input + id: suggestion + attributes: + label: Link to suggestion (github, demo link, blog url etc.) + description: Please share a link to your suggestion + placeholder: https://... + validations: + required: true + + - type: input + id: type + attributes: + label: type + description: Please share a link to your suggestion + placeholder: tool, official, community, paid, free, component library etc. + validations: + required: true + + - type: textarea + id: description + attributes: + label: Describe your suggestion + description: How and why is your suggestion useful to this community? 🤔 + placeholder: I wish to see resource here because it is used for... + validations: + required: true diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..eaf23b1 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,45 @@ +name: lint +on: + pull_request: + push: + branches: + - main + +jobs: + awesome-lint: + strategy: + fail-fast: false + matrix: + files: + - "readme.md" + runs-on: ubuntu-latest + steps: + - name: "checkout repo" + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: asdf_install + uses: asdf-vm/actions/install@v1 + - name: "linting: ${{ matrix.files }}" + run: npx -y awesome-lint ${{ matrix.files }} + awesome-bot: + strategy: + fail-fast: false + matrix: + files: + - "readme.md" + runs-on: ubuntu-latest + steps: + - name: "checkout repo" + uses: actions/checkout@v2.0.0 + with: + fetch-depth: 0 + - name: "setup ruby" + uses: ruby/setup-ruby@v1 + with: + ruby-version: 3.0.1 + bundler-cache: true + - name: "install awesome-bot" + run: gem install awesome_bot + - name: "linting: ${{ matrix.files }}" + run: awesome_bot --allow 404 --allow-redirect ${{ matrix.files }} \ No newline at end of file diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..9d47683 --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +nodejs 21.6.0 diff --git a/readme.md b/readme.md index 0acd7e4..e179706 100644 --- a/readme.md +++ b/readme.md @@ -1,3 +1,4 @@ +
Reflex Logo Reflex Logo @@ -6,6 +7,8 @@ ![versions](https://img.shields.io/pypi/pyversions/reflex.svg) [![Documentation](https://img.shields.io/badge/Documentation%20-Introduction%20-%20%23007ec6)](https://reflex.dev/docs/getting-started/introduction) [![Discord](https://img.shields.io/discord/1029853095527727165?color=%237289da&label=Discord)](https://discord.gg/T5WSbC2YtQ) +[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) +![Awesome Linting](https://github.com/itsmeadarsh2008/awesome-reflex/actions/workflows/lint.yaml/badge.svg)
Reflex is an open-source framework for building full-stack web applications entirely in pure Python. @@ -15,6 +18,7 @@ With Reflex, you can build anything from small data science projects to large, m ## 📚 Contents +- [📚 Contents](#-contents) - [🛠️ Example Apps and Templates](#️-example-apps-and-templates) - [Official Templates](#official-templates) - [Not a long-list of apps](#not-a-long-list-of-apps) @@ -31,8 +35,6 @@ With Reflex, you can build anything from small data science projects to large, m - [📦 Component Libraries](#-component-libraries) - [🔐 Databases and Authentication](#-databases-and-authentication) - [🔗 Checkout/Social media links](#-checkoutsocial-media-links) -- [🤝 Contributing](#-contributing) - - [Contributors](#contributors) - [📜 License](#-license) ## 🛠️ Example Apps and Templates @@ -66,8 +68,6 @@ A repo of complete Reflex examples can be found [here.](https://github.com/refle - [How Reflex works](https://reflex.dev/docs/getting-started/how-reflex-works/) - [Getting Started](https://reflex.dev/docs/getting-started/introduction/) -- [Table Component](https://reflex.dev/blog/2024-06-28-using-table-component/) -- [Custom Components](https://reflex.dev/blog/2024-04-16-custom-components/) ## External Resources @@ -97,10 +97,8 @@ A repo of complete Reflex examples can be found [here.](https://github.com/refle ### Videos - [Building an AI chat app with Reflex](https://www.youtube.com/watch?v=ITOZkzjtjUA) -- [6 hour reflex tutorial](https://www.youtube.com/watch?v=ITOZkzjtjUA) - [Animated Sidebar Menu](https://youtu.be/jQMsWL0g0jc?list=PLDHA4931gtc7wHBDGQOYlmcpZm7qyici7) -- [Web App UI (One)](https://youtu.be/uBx2T7ltQK0?list=PLDHA4931gtc7wHBDGQOYlmcpZm7qyici7) -- [Web App UI (Two)](https://youtu.be/uBx2T7ltQK0?list=PLDHA4931gtc7wHBDGQOYlmcpZm7qyici7) +- [Web App UI](https://youtu.be/uBx2T7ltQK0?list=PLDHA4931gtc7wHBDGQOYlmcpZm7qyici7) - [Data Table Automation](https://youtu.be/j8ZX6bRynZ8?list=PLDHA4931gtc7wHBDGQOYlmcpZm7qyici7) - [Login UI](https://youtu.be/FnEXy6we_5k?list=PLDHA4931gtc7wHBDGQOYlmcpZm7qyici7) - [Web Auth Trailer](https://youtu.be/P5rBlAzoxP0?list=PLDHA4931gtc7wHBDGQOYlmcpZm7qyici7) @@ -177,14 +175,6 @@ A repo of complete Reflex examples can be found [here.](https://github.com/refle -## 🤝 Contributing - -[Contributions of any kind welcome, just follow the guidelines](contributing.md)! - -### Contributors - -[Thanks goes to these contributors](https://github.com/reflex-dev/awesome-reflex/graphs/contributors)! - ## 📜 License Reflex is licensed under Apache 2.0!