A modern, clean, and user-friendly interface for browsing and testing Falcon API endpoints.
- 🌓 Light/Dark Mode: Toggle between light and dark themes with automatic preference saving
- 🔍 Smart Search: Quickly find endpoints by name or description
- 📱 Responsive Design: Works perfectly on desktop, tablet, and mobile devices
- 🔄 API Status Indicators: Visual indicators showing the status of each endpoint (ready, error, update)
- 📋 Copy to Clipboard: One-click copying of API endpoints and responses
- 📊 JSON Highlighting: Beautifully formatted JSON responses with syntax highlighting
- 📝 Detailed Parameter Forms: Clearly labeled input fields with tooltips for parameter descriptions
- Web server (Apache, Nginx, etc.)
- Modern web browser
-
Clone this repository to your web server:
git clone https://github.com/FlowFalcon/falcon-api-ui.git
-
Configure your API endpoints in
settings.json(see Configuration section below) -
Access the UI through your web server (e.g.,
https://your-domain.com/falcon-api-ui/)
All API endpoints and categories are configured in the settings.json file. The structure is as follows:
{
"name": "Falcon-Api",
"version": "v1.2",
"description": "Simple and easy to use API.",
"bannerImage": "/src/banner.jpg",
"header": {
"status": "Online!"
},
"apiSettings": {
"creator": "FlowFalcon",
"apikey": ["falcon-api"]
},
"categories": [
{
"name": "Category Name",
"image": "/api/placeholder/800/200",
"items": [
{
"name": "Endpoint Name",
"desc": "Endpoint description",
"path": "/api/endpoint?param=",
"status": "ready", // Can be "ready", "error", or "update"
"params": {
"param": "Description of the parameter"
}
}
]
}
]
}To add a new endpoint:
- Find the appropriate category in the
categoriesarray or create a new one - Add a new object to the
itemsarray with the following properties:name: Display name of the endpointdesc: Brief description of what the endpoint doespath: The API path, including any query parametersstatus: Status of the endpoint ("ready","error", or"update")params: Object containing parameter names as keys and descriptions as values
Example:
{
"name": "User Info",
"desc": "Get user information by ID",
"path": "/api/user?id=",
"status": "ready",
"params": {
"id": "User ID number"
}
}You can customize the colors by modifying the CSS variables in the styles.css file:
:root {
--primary-color: #4361ee;
--secondary-color: #3a86ff;
--accent-color: #4cc9f0;
/* Additional color variables... */
}Change the banner image by updating the bannerImage property in settings.json:
{
"bannerImage": "/path/to/your/banner.jpg"
}- Chrome (latest)
- Firefox (latest)
- Safari (latest)
- Edge (latest)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Font Awesome for icons
- Bootstrap for layout components
- Inter Font for typography
Created with ❤️ by FlowFalcon
