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 .
Not all apps require sophisticated code and many only require some interaction from inputs and run similarly to the interactions that would exist in a shell terminal. This powerful app skeleton can be suitable for these apps. Examples: * app that does some processing and just prints results or sends it to some server or storage. * app that does some data crunching, either from user input or from external sources and then posts something on other platforms. * app that transforms the data in some way and outputs it using some libs.
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.
This is a FastAPI application that interacts with the Google Calendar API to create events. It requires three environment secrets: CLIENT_ID, CLIENT_SECRET, and REDIRECT_URI. The application has three main endpoints: POST /create_event: This endpoint accepts a dictionary representing an event and attempts to create this event on the primary calendar of the authenticated user. GET /oauth2callback: This endpoint handles the OAuth2 callback from Google. If no code is provided, it redirects the user to the Google authorization page. If a code is provided, it exchanges the code for an access token and stores the token. GET /clear_credentials: This endpoint clears the stored credentials. Please note that the application must be authenticated with Google before events can be created. This is done by accessing the /oauth2callback endpoint and following the Google authorization process.
This application provides Fast API endpoints to get videos all videos from a YouTube channel using Youtube API. The end points are "channel/videos" to get videos using channel id and "channel/videos/by-url" to get videos using YouTube channel url. The videos’ details such as ID, title, description, link, and published date are returned in a structured format. The application requires the ‘YOUTUBE_API_KEY’ to be set in the environment variables to authenticate the requests to the YouTube Data API.
An app that retrieves the Facebook user ID using the Facebook API. No specific permissions are required to make this api call. This app uses the FastAPI to create an endpoint to call the Facebook API for getting a logged-in user's id. A facebook access token will be needed to make the API call.
An app for fetching a post's comments using the Facebook API. The permission scopes you will need are `pages_read_engagement`, `pages_manage_metadata` and `pages_read_user_content`. This app uses the FastAPI to create an endpoint to call the Facebook API for getting a post's comments according to the post id and access token we provide the app. Using this app, we can retrieve and analyze comments on Facebook posts using the Facebook API.
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]
This is a FastAPI application that calculates the distance between two geographical points using the Google Maps API. Users input latitude and longitude of both points, and the app returns the distance. It requires a Google Maps API key stored in an environment variable ‘GOOGLE_MAPS_API_KEY’.
This application is a web server built with FastAPI. It provides an endpoint /get_location that fetches location data based on latitude and longitude using the Google Maps API. When a POST request is made to the /get_location endpoint with latitude and longitude as form data, the application returns the location data in JSON format. The application requires a Google Maps API key to function. This key should be provided via the environment variable GOOGLE_MAPS_API_KEY
This application is a FastAPI web server that provides an endpoint to fetch the geographical coordinates (latitude and longitude) of a given address. The endpoint /get_address_coordinates accepts an address as input and uses the Google Maps Geocoding API to fetch the corresponding coordinates. The application requires a Google Maps API key to function. This key should be provided via the environment variable GOOGLE_MAPS_API_KEY
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.
This app is provides fast api endpoint and is designed to fetch trending videos from YouTube based on keywords provided by the user. It utilizes the YouTube Data API v3 to search for videos that are currently trending in the US region. The app requires a valid YouTube API key, which must be set as an environment variable named `YOUTUBE_API_KEY`. The response includes detailed information about each video, including a direct link to the video on YouTube.
This app creates a GitHub repository using a template repository with user-defined environment variables. The user can add the template repository name and repository owner details as environment variables. They can also add the custom name they would like to give the new repository created from the template. The app uses FastAPI for making the api call to Github endpoints.
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]
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]
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]
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]
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]
The app includes two main functionalities: 1. A POST endpoint `/bulk_update_inventory` that allows bulk updating of inventory levels for products in a Shopify store. It requires a JSON payload with the store URL, location ID, and a list of inventory updates. 2. A GET endpoint `/fetch_inventory_levels` that retrieves the inventory levels for a specific location in a Shopify store. It requires the store URL and location ID as query parameters. For the app to function correctly, please ensure the following environment variable is set in the Env Secrets tab: - `SHOPIFY_ADMIN_API_TOKEN`: This is the Shopify admin API token used for authenticating requests to the Shopify GraphQL API.
The Phone Number Lookup with Twilio API app allows users to input a phone number using a command line prompt. The app validates phone numbers in international format and uses the Twilio API to fetch information such as carrier and country. If a phone number is not found, the app outputs that the number does not exist. The app has been updated to use the latest Twilio API endpoints and handle any errors that may occur.
This app uses Selenium to navigate directly to the specified YouTube channel URL, goes to the "Videos" tab, scrolls down until a specified number of videos are found, retrieves the list of these videos on the channel, and prints the collected video data in the console. The app also handles errors during the extraction of videos and prints the progress of the number of videos data that is being collected throughout the app lifecycle. The app requires the user to provide the URL of the YouTube channel and the maximum number of videos to collect data from in the console.
The Website Stats App is a bot that provides detailed statistics about a given website. It visits the website, determines its load time, status, and security level. The app also handles errors for incorrect URLs, notifies the user if the website processing is taking some time, and alerts the user if the website is down or not reachable. Additionally, the app automatically posts updates on a Discord channel every 7 hours. If Discord credentials and channel ID for Discord are present, it will use that. The environment variables required for this app are: DISCORD_WEBHOOK_URL, and WEBSITE_URL.
This app fetches Jira issues that had status change in the last week, calculates the count of issues in different issue types, further breaks down each issue type by issue status, prepares a summary for it in form of a table using tabulate, posts the summary in a Slack channel, and schedules the app to run every time the server is started and then every week afterwards. The app requires the following environment variables to be set: - `JIRA_SERVER`: The URL of your Jira server. - `JIRA_USERNAME`: Your Jira username. - `JIRA_API_TOKEN`: Your Jira API token. - `JIRA_PROJECT_NAME`: The name of your Jira project. - `SLACK_TOKEN`: Your Slack token. - `CHANNEL_ID`: The ID of the Slack channel where the summary will be posted.
To integrate a custom Stripe checkout page in Webflow, you need both a backend and a frontend. This template enables you to quickly set up the backend service. It is compatible with any price point you have established through the Stripe API. After adding the API key and directing the backend service to the price ID, you can activate the backend service by clicking the test button. Then, by integrating the Stripe frontend code into a Webflow page, you instantly create a custom payment page in Webflow. This method can be used to set up various types of payment pages in Webflow, including one-time payments and subscriptions.
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.
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!
Lazy apps can be helpful in the Dev Tools category by providing developers with tools and features that automate repetitive tasks, streamline workflows, and increase productivity. Here are a few ways lazy apps can be beneficial:
Overall, lazy apps in the Dev Tools category aim to simplify and automate various aspects of the development process, allowing developers to be more efficient and productive.