r/flask Sep 06 '24

Show and Tell First website

55 Upvotes

Hi everyone, I have created my first website and wanted to share it with you all
It is a website for my brother who owns his own carpentry business.
https://ahbcarpentry.com/

I used plain js, css, html and of course flask.

I hope you like it

Any criticism is appreciated

r/flask Oct 02 '24

Show and Tell I created a Flask-based Blog App with Tons of Features! 🔥

88 Upvotes

Hey r/flask!

I just wanted to share a fun little project I’ve been working on – FlaskBlog! It’s a simple yet powerful blog app built with Flask. 📝

What’s cool about it?

  • Admin panel for managing posts
  • Light/Dark mode (because who doesn’t love dark mode?)
  • Custom user profiles with profile pics
  • Google reCAPTCHA v3 to keep the bots away
  • Docker support for easy deployment
  • Multi-language support: 🇬🇧 English, 🇹🇷 Türkçe, 🇩🇪 Deutsch, 🇪🇸 Español, 🇵🇱 Polski, 🇫🇷 Français, 🇵🇹 Português, 🇺🇦 Українська, 🇷🇺 Русский, 🇯🇵 日本人, 🇨🇳 中国人
  • Mobile-friendly design with TailwindCSS
  • Post categories, creation, editing, and more!
  • Share posts directly via X (formerly Twitter)
  • Automated basic tests with Playwright
  • Time zone awareness for all posts and comments
  • Post banners for more engaging content
  • Easily sort posts on the main page
  • Detailed logging system with multi-level logs
  • Secure SQL connections and protection against SQL injection
  • Sample data (users, posts, comments) included for easy testing

You can check it out, clone it, and get it running in just a few steps. I learned a ton while building this, and I’m really proud of how it turned out! If you’re into Flask or just looking for a simple blog template, feel free to give it a try.

Would love to hear your feedback, and if you like it, don’t forget to drop a ⭐ on GitHub. 😊

🔗 GitHub Repo
📽️ Preview Video

Thanks for checking it out!

Light UI

Dark UI

r/flask Jul 23 '24

Show and Tell Anyone here created a full project that is live and generating revenue only with Flask HTML, without a frontend framework like React? Could you show us your project, please?

24 Upvotes

Hi everyone,

I'm curious if anyone here has successfully built and deployed a full project using only Flask and HTML templates, without relying on frontend frameworks like React, Angular, or Vue. I'm particularly interested in seeing examples of projects that are currently live and generating revenue.

If you've done this, could you share your project with us? I'm interested in understanding your approach and any tips you might have for someone considering a similar path.

Thanks in advance!

r/flask Sep 09 '24

Show and Tell My first flask app

16 Upvotes

As an avid sports lover, I've often faced the challenge of finding training partners, especially after relocating to a new city. This inspired me to create Sport CoTrain, a platform where fellow sports lovers can connect, post their activities, and find co-trainers.

I've built this app using Flask and basic HTML, keeping it simple yet functional. While it's still in its early stages, I'm excited to share it with the community and would greatly appreciate your feedback.

Sport CoTrain aims to solve a common problem for active individuals, making it easier to maintain an engaging workout routine and meet like-minded people. I'm looking forward to hearing your thoughts and suggestions to improve the app.

Thank you all for your time and potential input!

Link to app: https://sportcotrain.com/

r/flask Oct 22 '24

Show and Tell Personal portfolio

16 Upvotes

I made my personal portfolio using flask, I am serving a blog and resource sharing there. Just wanted to show it to the world, theres a link to a flask ecommerce template there under resources if someone wants to take a look! Also feedback is welcome silverboi.me https://silverboi.me

r/flask Nov 23 '24

Show and Tell I created free internet clipboard in Flask (for file transfers across devices)

12 Upvotes

I made it because we needed to share files in university computers & WhatsApp login was taking too long.... So needed a faster approach that does not require login..

Link: Internet Clipboard.

r/flask Sep 10 '24

Show and Tell Calorie Counter Website

Thumbnail caloriecounter.pythonanywhere.com
5 Upvotes

Just a quick site I scratched up to help me watch how many calories I’m consuming. Works just how I hoped it would!

I hope others can get some use from it too!

r/flask Jul 25 '24

Show and Tell I've made a To-Do app

67 Upvotes

I made a to-do app using Flask and JavaScript. I know it's not a big deal, but I'm proud of it anyway. This is the GitHub link if anyone is interested:

https://github.com/ITSHAYDER/To-do-app-Flask

r/flask 21d ago

Show and Tell I have launched my App to generate Podcasts with AI that I have built with Flask

0 Upvotes

Honestly, developing this whole project has been quite an odyssey. I started with a bit of a crazy idea after seeing what NoteBookLM was but I felt that it was a bit short with its capabilities, like not being able to use custom voices that only work in English or not being able to accept article or Web URLs to make Podcasts, so I decided to start my project called PodcastAI Studio and it has been quite a journey since I started playing with the LLMs I was going to use or the TTS with the ability to clone voices and deliver a good result, it was quite a journey and I also thought about other people wanting to create or build on this whole system so I decided to create some APIs for developers, also a library that works as an API client and now I'm here making this Reddit post telling all this XD, I hope you like the whole experience and I leave you the links to my App and the API documentation along with some images

App: https://www.podcastai.tech/

API Docs: https://www.podcastai.tech/api/docs

r/flask Sep 15 '24

Show and Tell I created my first ever API using flask

37 Upvotes

I've been tinkering with Python for a few years as a hobby (I'm in product management, not a developer).

Recently, I decided to create my first API using Flask. I wanted something very simple but fun, so I took inspiration from the classic Chuck Norris joke API that's been around forever.

Here's what I did:

  1. GET joke script: I built a Python script to hit the Chuck Norris random joke endpoint, save to SQLite, and check for duplicates as I insert new jokes. The script hits the endpoint every 0.5 seconds, going through dedupe/save logic while ignoring dupes. I let it run overnight and ended up with 9000+ jokes in my DB! TY chucknorris.io!
  2. New Chuck Norris API: I chose Flask (since I know it best) along with SQLite DB to build the endpoint. I also created a Chuck Norris-themed documentation page that I had chatGPT spice it up a but with some Chuck Norris inspired humor. Probably a little overboard but it was fun.

You can check out my first API here: http://cnichols1734.pythonanywhere.com

Let me know what you all think! I'm pretty excited about how it turned out, especially given that this is my first real API project. Any feedback or suggestions would be awesome!

r/flask Oct 17 '24

Show and Tell I created an app to animate stock performance

13 Upvotes

https://reddit.com/link/1g616sq/video/peq1orw0qdvd1/player

A few weeks ago, I saw a post that shows a screen recording of their Robinhood account. The pnl movement animation felt more engaging than a static chart, and it really stood out for me.

So I built a tool to animate stock performance chart: animatestock.com

This simple app basically animates data in a line chart. It also gives you flexibility in customizing the chart to your liking. You can also use it for things like net worth, savings, or even # of your social media followers, etc.

Let me know if you find it useful in anyway. Appreciate it!

r/flask Sep 27 '24

Show and Tell I created a free web app that turns your boring sentences into satirical masterpieces!

Post image
37 Upvotes

Hey Folks!

I recently built a project called SatirifyMe using Flask, and I wanted to share it. The app transforms ordinary sentences into satirical, often absurd rephrases—like turning “I am on the way” into “The horses are galloping at precarious speeds, perhaps I may arrive soon.”

This is my first side project and it was an exciting challenge learning how to handle input/output and managing backend logic with Flask. There were definitely a lot of roadblocks along the way, especially deployment for the first time, but it was a great learning experience.

Check it out here: https://satirifyme.com/

Backend: Flask Frontend: HTML/CSS Hosting: Running on Heroku

I’d love to hear any feedback, suggestions, or tips from those who have more experience with Flask, Thanks for checking it out!

r/flask 1d ago

Show and Tell Working Project: Flask Packages

2 Upvotes

Hello! I've been working on a project firstly names "Flask Packages" (much like Django Packages) the idea is to provide useful information related to projects in the Flask ecosystem, other than to show the project I wanted to ask what information you consider relevant to show in each project, i'm thinking something like this

  • Project:

    • PyPi/Conda api basic information
    • Some sort of "I'm currently using this" button (meh, i don't really want to go the popularity contest road, but it seems logical)
    • Downloads (same as above)
  • Code:

    • repo related information (commit grap, cosed/open issues, etc)
    • Coverage/Tests results?
    • Colaborators?

For now my idea is to categorize each project and then add tags to group them in a way what's useful ("Authorization","Database","Templates", etc)
The repo is at https://github.com/mariofix/limelight in case anyone want to send a pr or start a discussion there.

Let me know what you think (excuse the bootstrap skeleton).
Cheers!

r/flask Sep 06 '24

Show and Tell My first flask project, a code sharing app

Thumbnail snippy-share.vercel.app
8 Upvotes

This is my first flask project. It's a simple website which allows you to input code and then generate a url for it which can then be shared with others.

I've many plans popping up for features I can add to it, such as a search feature to search code snippets using title, adding various themes, etc.

URL: https://snippy-share.vercel.app/ GitHub: https://github.com/Kavoyaa/SnippyShare

I'd be happy to receive suggestions/criticisms :)

r/flask May 09 '24

Show and Tell Made Using Flask

Thumbnail australiancitizenshiptests.com
46 Upvotes

Hi guys

people ask regularly if flask is good enough to make apps so I thought I’d share a real world app I made using flask. It’s just an app.py rendering the appropriate templates

It‘s linked here, you guys can test it out and see how you like it.

Flask mySQL Tailwind Stripe and Zaprite APIs for payments

Nothing else, quite simple really. I hope this can inspire newcomers who ask if flask can be used.

Cheers Jogi

r/flask 13d ago

Show and Tell NGL Like project updates.

4 Upvotes

A small update from my NGL like project built with flask and react with following feature.

- Reset password
- New profile & settings design
- Added an email

You can try:
https://stealthmessage.vercel.app/

Send me a message:
https://stealthmessage.vercel.app/secret/c3aec79d0c

Code:
https://github.com/nordszamora/Stealth-Message.git

Send me your feedback:)

r/flask Sep 29 '24

Show and Tell Major Update: Easily Secure Your Flask Apps with secure.py

19 Upvotes

Hi Flask developers,

I'm excited to announce a major update to secure.py, a lightweight library that makes adding essential HTTP security headers to your Flask applications effortless. This latest version is a complete rewrite designed to simplify integration and enhance security for modern web apps.

Managing headers like Content Security Policy (CSP) and HSTS can be tedious, but they're crucial for protecting against vulnerabilities like XSS and clickjacking. secure.py helps you easily add these protections, following best practices to keep your apps secure.

Why Use secure.py with Flask?

  • Quick Setup: Apply BASIC or STRICT security headers with just one line of code.
  • Full Customization: Adjust headers like CSP, HSTS, X-Frame-Options, and more to suit your app's specific needs.
  • Seamless Integration: Designed to work smoothly with Flask's request and response cycle.

How to Integrate secure.py in Your Flask App:

Middleware Example:

```python from flask import Flask, Response from secure import Secure

app = Flask(name) secure_headers = Secure.with_default_headers()

@app.after_request def add_security_headers(response: Response): secure_headers.set_headers(response) return response ```

Single Route Example:

```python from flask import Flask, Response from secure import Secure

app = Flask(name) secure_headers = Secure.with_default_headers()

@app.route("/") def home(): response = Response("Hello, world") secure_headers.set_headers(response) return response ```

With secure.py, enhancing your Flask app's security is straightforward, allowing you to focus on building features without worrying about the intricacies of HTTP security headers.

GitHub: https://github.com/TypeError/secure

I'd love to hear your feedback! Try it out in your projects and let me know how it works for you or if there are features you'd like to see.

Thanks, and happy coding!

r/flask Aug 05 '24

Show and Tell I made a quick-start template for Flask apps called Create Flask App

52 Upvotes

Hey everyone!

I made this project called Create Flask App to help you quickly set up and scale your Flask applications. It comes with user authentication (register, login, logout), profile management, and a basic admin page, all styled with Bootstrap 5.3.3. By default, it uses SQLite3, but you can easily configure it to use your preferred database.

Check it out, give it a star if you like it, and let me know what features you'd love to see next and/or feel free to contribute. Your feedback and suggestions would be awesome!

I will keep working on it, adding new features and improvements.

👉 Create Flask App on GitHub

Thanks for checking it out!

r/flask Aug 26 '24

Show and Tell I just finished working on my biggest coding project, and It's for creating content using automation!

6 Upvotes

I've been working for the last two months on my SaaS for creating content, and I would like to get your opinion guys, that'll mean a lot to me!

It uses moviepy under the hood, (Backend) to process videos and edit, and Flask to serve user data, I've build it as an API, to give other users access to integrate it to their software in the future! but for now I'm focusing on getting the first version of it out! As they say: If you're not embarrassed by the First version of your product, you’ve launched too late.

Link: https://oclipia.com

r/flask 15d ago

Show and Tell Flask Karaoke App Spoiler

2 Upvotes

Not good at UI and everything but was able to make this one working. Also not a dev just curious on what Flask can do.

https://www.karaoke-anywhere.com

r/flask Oct 31 '24

Show and Tell Upify - quickly deploy Flask apps to the cloud for free

15 Upvotes

I see a lot of posts in here asking about where to deploy Flask or where to deploy it for free. You can deploy your app to serverless environments, so that it’s not taking up resources if it’s not being used, which should be good for most projects since they don’t get that much traffic. Both AWS Lambda and GCP Cloud Run offer free tiers that should be more than enough for most people to host multiple apps.

Upify is an open source CLI tool, written in Go that makes deploying a Flask app to serverless very easy. It just creates configs and wrappers on top of your existing app. Basically, you have to set up creds for the provider, run a few commands, and you should get back a URL that you can call.

https://github.com/codeupify/upify

https://reddit.com/link/1ggjs87/video/r7tuf4bbk4yd1/player

r/flask Nov 05 '24

Show and Tell Introducing jinpro -- Vue/React like components, all in Flask and Jinja

6 Upvotes

Hey all! Longtime lurker here.

I always really enjoyed the syntax of custom components in Vue, React, and other .JS frameworks, but hated the overhead of those frameworks, and also don't really like Javascript that much (if I did, I'd learn Node.js).

I checked high and low for something that did what I want, but the only one is a library called JinjaX -- and no matter how many times I read the documentation, it simply did not work on my machine. No errors, just... didn't do anything.

So, I write a really simple and small preprocessor that allows for this kind of behavior. In essence, you create a file (like Button.jinja) and define what arguments it takes. Then, in your jinja templates for other pages, you call it like an HTML tag -- <Button color="red">Click ME!</Button>.

Finally, rather than using the built-in render_template function, you use the JinjaProcessor.render function, which behaves exactly like Jinja's render_template -- except it looks for those capital-letter tags, renders them into HTML with the template context, and then renders the whole page. It also works recursively, so components can call on other components (like a PageLayout calling on a Navbar).

It's available on github and PyPI (through pip).

jinpro on PyPI

jinpro on GitHub

If you have any questions, you can find my email on PyPI (I don't check this reddit hardly ever).

Thanks all! Enjoy.

r/flask 27d ago

Show and Tell Flask with HTMX Example

12 Upvotes

Thanks to the holidays I've managed to find the time to get heads down with learning a few new things and I'm sharing this latest example of converting the Flask blog tutorial project into a single page application with HTMX.

This was more challenging than I thought it would be, mostly because my templates became increasingly more difficult to read as time passed. This example could be cleaned up more with the use of macros, but I thought it would be best to keep most of the original code intact to compare this with the source example better.

My biggest takeaway from this project was the concept of out-of-band swaps for updating other parts of the HTML outside of the original target.

HTMX is a great tool and I'm happy to see it getting more traction.

r/flask 19d ago

Show and Tell Updating my App to generate Podcasts with support for 16 languages

1 Upvotes

In recent days I have been working to support 16 languages ​​in PodcastAI Studio so that everyone can listen to their Podcasts in their native language and this extends to the API, with which we have included a TTS for anyone who wants to generate high-quality audio :b

App: https://www.podcastai.tech/

API docs: https://www.podcastai.tech/api/docs

r/flask Sep 28 '24

Show and Tell A simple example of a Dockerized Flask application using Ngrok to expose the local server to the internet, with a proxy integration to help mitigate potential Ngrok connection issues.

Thumbnail
github.com
14 Upvotes