Flask app templates

Lazy templates deliver simplified app development for Flask. Lazy is a revolutionary software development tool that turns the traditional Flask development process on its head. Using Lazy AI, developers can create Flask apps using just prompts, freeing themselves from the complex and time-consuming coding processes.

Start coding for free

FALLBACK | Flask, HTML, JS and Tailwind Based Website

This is a good starting point for styled website. It has a header, footer. Has Tailwind and Flowbite loaded so you can build nice looking pages from here.

Flask
HTML

FALLBACK LATEST 1 THEME | Flask, HTML, JS and Tailwind Based Website

This is a good starting point for styled website. It has a header, footer. Has Tailwind and Flowbite loaded so you can build nice looking pages from here.

Flask
HTML

Job Search Website

A customisable one-page job search website with a search bar and a search button that displays UI cards of matching jobs. You need to have a (free) account on https://rapidapi.com/ to get the API key required for this to work.

React JS
Python
Flask
HTML
CSS

To-Do App

A great starting point for a feature-rich To-do List app. This skeleton supports adding, editing, deleting, and prioritizing tasks with due dates and reminders. It's built with Flask and SQLAlchemy, ensuring easy database management. The responsive UI is powered by Tailwind CSS, making it user-friendly and visually appealing. Perfect for creating a robust task management system with potential for further enhancements like project management and collaboration tools.

Flask

FALLBACK | Flask, HTML, JS and Tailwind Based Website

This is a good starting point for styled website. It has a header, footer. Has Tailwind and Flowbite loaded so you can build nice looking pages from here.

Flask
HTML

CSV Deduper

A webpage that dedupes a CSV based on the values in the first column and allows for downloading.

Python
Flask

Discord bot using slash commands in python

Just a cute /ping bot

Discord
Python
Flask

Notes App With Database

This app allows users to create their own notes. User can create , edit , delete and view their notes and can access them using database.

SQL
Flask

Login and Registration

This powerful app skeleton is a good starting place for apps that require login and registration

Laravel
Fast API
Flask

A bot that answers questions about data

Ask questions about your database via a chat bot. This chatbot connects to a SQLITE database, generates queries for it based on the schema and then runs the queries printing the response all in a nicely styled chat UI. This template is pre-loaded with sample data (car parts) to play around with - here are the sample data columns that you can query: part_number, part_name, price, units_left_in_stock, manufacturer .

Python
Flask

WebGen

WebGen: A web development app that combines front-end and back-end skills to generate code based on user requests.

React JS
Python
Flask
HTML
CSS

Customisable Signup/Login Page with User Database

This app allows users to sign up with a username and password, stores the information in a database, and displays a personalized greeting upon signing in.

Python
Flask
SQL

FALLBACK | Flask, HTML, JS and Tailwind Based Website

This is a good starting point for styled website. It has a header, footer and Tailwind loaded so you can build nice looking pages from here.

Flask
HTML

Flask, HTML, JS and Bootstrap Based Website

This is a good starting point for styled website. It has a header, footer and Bootstrap loaded so you can build nice looking pages from here.

Flask
HTML

AsciiArtify

AsciiArtify: Convert images into ascii art.

Python
Flask

Snake Game

A powerful app skeleton for a browser based snake game

React JS
Python
Flask

SK1 | Basic Flask Website with HTML and JS

This skeleton is ideal for developers looking to integrate Python, HTML, and JavaScript seamlessly into a single application using Flask such as admin pages, web games, web apps, etc. It facilitates the creation of web-based applications with embedded client-side scripts. This setup is perfect for building full-stack web applications that require interactive elements on the front end while leveraging Python's robust backend capabilities. This skeleton is not a good choice for a backend app.

Python
HTML
Flask

GitHub Webhook Example

This is a Python Flask API application that handles GitHub webhooks that have been setup for a GitHub repository. The app listens to and receives incoming JSON data from GitHub on it's endpoint `github/webhook/`, and prints it for the user to see. The JSON data can then be stored or further processed as required. The app URL will be used in the webhook setup on GitHub.

Python
Flask
GitHub

Get & Read Email with GMail API

This Python script uses Flask to create a web application that connects to the Gmail API and retrieves the user's unread emails. The script defines two routes: "/" displays the user's unread emails, and "/oauth2callback" is the OAuth 2.0 callback URI. Following api keys need to be set as environment secrets to authenticate with google api: 1. CLIENT_ID 2. CLIENT_SECRET 3. REDIRECT_URI

Python
Flask
Gmail

Add Chatbot to a Website

A chat interface where users can chat with an AI using the llm ability package on Lazy. This Flask website is meant to simulate a store with dummy data and an AI assistant that a user can talk to about anything using the chat floating button on the bottom right of the page. The chatbox maintains chat history and generates replies with the context of the chat.

Flask
Python

Pacman Game

A Flask API serving a Pacman game with a maze, ghosts, and a yellow circle - Pacman, that can be controlled using arrow keys.

Flask
Python

What Should I Do

This Flask application serves a decision form page and analyzes decisions based on user input. Upon receiving form submission via the /analyze route, it extracts goals, preferences, and constraints provided by the user. Using the llm_prompt function from the abilities module, it generates a detailed prompt for analyzing the decision. The application then renders the decision form page with the analysis result displayed. Additionally, it utilizes the StandaloneApplication class from gunicorn.app.base to configure and run the Flask app as a standalone Gunicorn application. Made by BaranDev[https://github.com/BaranDev]

Flask

Firebase Authentication with Flask Backend

This application integrates Firebase authentication with a Flask backend. The firebaseconfig.js file initializes Firebase using the provided configuration fetched from the backend. It exports the initialized Firebase app and authentication object. The signedin.js file handles sign-in functionality on the client-side. It retrieves user information from session storage upon page load, displays it, and redirects to the sign-in page if the information is not found. It also handles sign-in and sign-out actions, making requests to the backend for authentication. The backend then interacts with Firebase to authenticate users, store user data in session, and handle sign-out requests. Made by BaranDev[https://github.com/BaranDev]

Flask

Scrape Data from PDF using Python & Flask

This scraper tool extracts text from PDF files and displays it on a webpage. Built with Python and Flask. Upon running, users receive a link to access the website. Upload a text-based PDF, hit submit, and view the extracted data on an HTML page.

Python
Flask

Create Repository from Template using GitHub API

This app utilizes Flask for the backend and JavaScript with Octokit for the frontend. It allows users to browse GitHub repositories tagged with 'template-repository', displaying them with options to create new repositories from selected templates. The Flask backend serves the HTML template, passing along a GitHub token securely. The frontend fetches repositories from GitHub, displaying them dynamically and enabling users to create new repositories based on selected templates, all while maintaining a modern and responsive user interface. Made by BaranDev[https://github.com/BaranDev]

Flask

Search Code Repository using GitHub API by Name or User

This application is a GitHub Code Search tool, employing Flask for the backend and JavaScript with the Octokit library for the frontend. Users can input search queries, and the application fetches results from GitHub's code repository using the GitHub API. The Flask backend handles the API requests, while the JavaScript frontend dynamically displays the search results in a table format. The application provides a user-friendly interface for efficiently searching and browsing code hosted on GitHub. You can search by name or by user by customizing this template. Made by BaranDev[https://github.com/BaranDev]

Flask

Get (List) All Repositories using GitHub API

This application utilizes Flask for the backend to fetch GitHub repositories of a specified user or organization. The frontend is built with HTML, CSS, and JavaScript to provide a simple user interface for inputting the GitHub username or organization. Upon submission, the backend fetches the repositories using the GitHub API and renders the results dynamically on the frontend. Users can also reset the table to clear the displayed repositories. Additionally, error handling is implemented to handle cases where no repositories are found or there is an issue with the GitHub API token. Made by BaranDev[https://github.com/BaranDev]

Flask
HTML
CSS

Prompt Generator Template

This application employs Flask for the backend and JavaScript for the frontend. It enables users to generate custom prompts by providing details and selecting a prompt type. The backend receives the user input, constructs a prompt, and sends it to a language model (LLM) for further processing. The generated prompt is then returned to the frontend and displayed for the user. The interface allows users to copy the generated prompt for their use. Additionally, error handling ensures smooth operation even in case of failures during prompt generation. Made by BaranDev[https://github.com/BaranDev]

Flask

Stripe API Testing

This application utilizes Flask for the backend and JavaScript with Stripe API for the frontend. It allows users to test various Stripe functionalities such as adding a card to a customer, creating a charge, and retrieving customer details. The backend interacts with the Stripe API using the stripe library, while the frontend provides a simple form for users to input their Stripe API secret and an optional customer ID. Upon submitting the form, the frontend sends a POST request to the backend, which then executes the specified tests and returns the results to be displayed on the page. Made by BaranDev[https://github.com/BaranDev]

Flask
Stripe

Make Your Own Tetris Game

This application combines Flask for the backend with JavaScript for the frontend to create a Tetris game. The Tetris game logic is implemented in JavaScript, including functions for drawing the game board, handling player movements, and managing game mechanics such as scoring and piece rotation. The Flask backend serves the HTML template and provides endpoints for fetching URLs for background music and start screen music. The HTML template includes elements for displaying the Tetris game canvas, as well as buttons for starting the game and toggling music. Additionally, it allows users to adjust the volume of the background music using a range input. Made by BaranDev[https://github.com/BaranDev]

Flask

Make Your Own Tic Tac Toe Game

This application is a simple Tic-Tac-Toe game implemented using Flask for the backend and JavaScript for the frontend. It offers two gameplay modes: against the computer and two players. The frontend provides a grid-based game board where players can make moves by clicking on cells. The backend serves the HTML template and handles requests, while the frontend logic manages game state, including checking for wins, draws, and resetting the game. Additionally, the application includes a menu for selecting game modes and a button to return to the menu or reset the current game. Made by BaranDev[https://github.com/BaranDev]

Flask

Online ZIP to PDF Converter

This application utilizes Flask for the backend and JavaScript for the frontend to convert a ZIP file containing PDFs into downloadable PDFs with corresponding download links. Users upload a ZIP file through a form, triggering a POST request to the backend. The backend extracts the PDF files from the uploaded ZIP, generates download links for each PDF, and returns the links as a table to the frontend. The frontend then displays the table with the download links for each PDF file. Made by BaranDev[https://github.com/BaranDev]

Flask

Connect Payout with Stripe API

This app uses the Stripe API to create payouts for Connect Stripe Accouts and allows users to modify the payout schedule. It includes a Flask web service with an endpoint for this purpose. The backend makes API calls to create a transfer of funds and update the payout schedule using the Stripe API and the submitted form data.

Flask
Stripe
Python

Create Product using Stripe API

This app uses the Stripe API to create a product with it's price. It includes a Flask web service with an endpoint for this purpose. The backend makes API calls to create a product and its price object using the Stripe API and the submitted form data.

Flask
Stripe
Python

Create Charge with Stripe API

This app uses the Stripe API to create a charge. It includes a Flask web service with an endpoint for this purpose. The backend makes an API call to create a charge using the Stripe API and the submitted form data.

Flask
Stripe
Python

Get Customer Subscriptions using Stripe API

This app uses the Stripe API to get all active customer subscriptions. It includes a Flask web service with an endpoint for this purpose. The backend makes an API call to get all active customer subscriptions using the Stripe API. The app displays the list. This app can be customized to also get Stripe subscriptions by customer id.

Flask
Stripe
Python

Get Products with Prices using Stripe API

This app uses the Stripe API to get all products with prices. It includes a Flask web service with an endpoint for this purpose. The backend makes an API call to get all products with prices using the Stripe API. The app displays the list.

Flask
Stripe
Python

Set Default Payment Method in Stripe API

This app uses the Stripe API to set a default payment method for customers. It includes a Flask web service with an endpoint to create the default payment method. The backend makes an API call to set the payment method using the Stripe API. The app displays whether the API call was successful or not after submission.

Stripe
Flask
Python

Create Price with Stripe API

This app uses the Stripe API to create price objects for users. It includes a Flask web service with an endpoint to create a price object. The backend makes an API call to create the price object using the Stripe API. The app displays the price ID after submission.

Flask
Stripe
Python

Create Payment Method with Stripe API

This app uses the Stripe API to create payment methods for users. It includes a Flask web service with an endpoint to create a payment method. The backend makes an API call to create the payment method using the Stripe API. The app displays the payment method ID in an alert after submission. The app allows for the use of test tokens to create payment methods using test cards.

Flask
Stripe
Python

You might be interested

Check Stripe Subscription Status with API

This app is a Stripe API integration that allows users to check their customers subscription status. Users can access the app through a web interface where they can enter their customer email address. The app will then make an API call to Stripe to retrieve the subscription status and display it on the same page. The app requires the user to set the 'STRIPE_API_KEY' in the Env Secrets tab for authentication with the Stripe API.

Fast API Endpoint for Automatic Tweet Posting in Twitter

This app is a fast API endpoint that will automatically post a tweet provided via the API to a company's Twitter account. Can be used in your product to promote certain things happening, for example a product community member does something and you tweet automatically about it. Ideal for automatic tweets posting for company updates. Steps: 1. Sign up for a developer account on https://developer.twitter.com/ (you have to log in with the company's Twitter handle) 2. There's a free option (even though they are pushing the $100 per month basic option you don't need that to get started and for small volumes) 3. Navigate to projects and apps 4. From the consumer keys section copy the API key and Secret into Env Secrets tab in Lazy (make sure variable names are correct) 5. Generate an Access Token and Secret and copy them into Env Secrets tab in Lazy (make sure variable names are correct) THESE MUST HAVE READ AND WRITE ACCESS OTHERWISE IT WON'T WORK 6. Generate a bearer token and add to env secrets 7. Use the Fast API docs page to test app and try to post using the API endpoint or make a sample request directly. 8. Check your Twitter for the post appearing and voila!

Get Channel ID via YouTube API

A FastAPI application to find YouTube channel ID. By simply providing a video URL, users can retrieve information about the video's channel, including the channel ID and channel name. The app leverages the YouTube API to fetch this data, requiring users to set a YOUTUBE_API_KEY in the environment variables for it to function correctly.

Email Sender Pro

An app that generates and sends emails using a language model, allowing users to preview and customize the content and subject before sending.

Discord Ticketbot Template

A simple Discord Ticketbot for your Discord Support Department. This Template and Bot is fully customizable but already build so that you can use it right away. You need a bot token from https://discord.com/developers/applications for your bot to work. These are the steps needed to get your token: "1. 🌐 Go to the Discord Developer Portal. 🌐\n" + "2. 🆕 Create a new application and navigate to the 'Bot' section. 🤖\n" + "3. 📋 Under the 'TOKEN' section, click 'Reset Token' to get your Discord bot token and confirm by clicking 'Yes, do it'. 🔑\n" + "4. 🤖 If your bot will have any ability to read/reply to messages, then under the 'BOT' section, enable the slider titled 'Message Content Intent' ✅" + "5. 🔐 Set the 'DISCORD_BOT_TOKEN' in the Env Secrets tab with your bot token from step 3. 🔐\n" + "For bot permissions, it's recommended to start with basic permissions and adjust as needed for your app's functionality.🚀") If you encounter any bugs, please tell Lazy to fix them and report them on the Official Lazy AI Discord to @D4vidG4merLP. Credits: @meow - the Discord bot slash command template @mrlazy.notlazy - supporting me And the Biggest Thank you. You for using this template ❤️

Discord Join and Leave Bot

This bot is designed to display join and leave messages. It requires environment variables (DISCORD_TOKEN) and channel IDs to function properly. Please provide the DISCORD_TOKEN in the Env Secrets tab. To setup this Discord join and leave bot and receive a token, you need to create a new application in the Discord developer portal, add a bot to that application, and then copy the bot's token.

Home
/
Flask