Code Monkey home page Code Monkey logo

flet-tiktoka-studio's Introduction

A boilerplate for building Software-as-Service (SAAS)

Deploy Flet app as a web app and view it in a browser. Package it as a standalone desktop app for Windows, macOS and Linux. Install it on mobile as PWA or view via Flet app for iOS and Android.

if you are a python guy and looking for a saas solution ,take a look at this

Flet enables developers to easily build realtime web, mobile and desktop apps in Python. No frontend experience required.


Logo Logo

✨ Free Pure python Flet based multi-platfform desktop APP template for SaaS startups ✨

Everything you need to build a great multi-platfform desktop APP for your idea.

View Demo . Report Bug . Request Feature

Table Of Contents

Features

  • User account sign up, sign in, password reset, all through asynchronous email confirmation.
  • Form generation.
  • Error handling.
  • HTML macros and layout file.
  • "Functional" file structure.
  • Python 3.x compliant.
  • Asynchronous AJAX calls.
  • Administration panel.
  • Logging.
  • Stripe subscriptions. (WIP)
  • RESTful API for payments.
  • Simple RESTful API to communicate with your app.

🤓 Getting Started

# run dep install
$ pip install -r requirments.txt

# run the main
python main.py


Hint:

🚀 One click package to app

windows ubuntu macos

AppVeyor CI pipeline to build Flet app desktop package

github action CI pipeline to build Flet app desktop package

iphone

https://github.com/SKbarbon/fpyo2ipa

1- Create a flet dist folder from your main script.

its recomended to make the dist from a flet v0.6.1 or v0.6.2, because this is the version the package have been tested with.
flet publish main.py
2- create a python virtual environment.

python3 -m venv venv

3- activate venv 

source  /Users/wenke/github/flet-tiktoka-studio/venv/bin/activate

install this package.

pip install fpyo2ipa --upgrade
4- use this build tool.

python3 -m fpyo2ipa.build

check the app

All work done! Your app is in the pyo2ipadist/build/pyo2ipadist/iOS/xcode! To run a simulator, use: $ cd pyo2ipadist $ briefcase run iOS

raise ImportError(

ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: urllib3/urllib3#2168

(venv) (base) wenke@wenkedeMac-mini pyo2ipadist % pip install 'urllib3<2.0'

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting urllib3<2.0 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/7b/f5/890a0baca17a61c1f92f72b81d3c31523c99bec609e60c292ea55b387ae8/urllib3-1.26.15-py2.py3-none-any.whl (140 kB) Installing collected packages: urllib3 Successfully installed urllib3-1.26.15 (venv) (base) wenke@wenkedeMac-mini pyo2ipadist % briefcase run iOS

can simulate and can start app but app got blank

android

Be sure that Android Studio is installed and setuped.

https://github.com/SKbarbon/fpyo2apk

1- Publish your flet script into flet-pyodide dist. Use this command for that:

flet publish main.py 2- Create a python virtual environment (highly recommended):

python3 -m venv venv

3- Install fpyo2apk package:

pip install fpyo2apk --upgrade

4- Start building your Android App project.

Make sure that your dist folder is in the current cmd's folder, and make sure that you are done with Android Studio setup. python3 -m fpyo2apk.build

$ cd fpyo2apkdist $ briefcase create Android $ briefcase build Android $ briefcase run Android

🧰 Built With

https://github.com/ndonkoHenri/Python-Desktop-Notifications/tree/master

🤲🏻 Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Create individual PR for each suggestion.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

😎 Acknowledgements

Big thanks to authors of these libraries:

✨ Contributors

Thanks goes to these wonderful people (emoji key):


Felipe Morais

💻

wanghaisheng

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

📝 License

Distributed under the MIT License. See LICENSE for more information.

flet-tiktoka-studio's People

Contributors

wanghaisheng avatar nbilbo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.