< > API Source Code
CutLink is a simple and straightforward URL shortener web application built using Flutter Web. This project provides an easy-to-use interface for creating shortened URLs quickly.
- Simple Interface: Clean, no-frills design focused on functionality
- Fast URL Shortening: Generate short URLs with minimal clicks
- Cross-Platform: Works on all modern web browsers
- Framework: Flutter Web
- Language: Dart
- State Management: GetX
- HTTP Client: Dio
Ensure the following tools are installed:
git clone https://github.com/andresilvase/cutlink-app.git
cd cutlink-app- Get dependencies:
flutter pub get- Run the web app in debug mode:
flutter run -d chrome- Build for production:
flutter build webflutter run -d chrome: Starts development serverflutter build web: Creates production buildflutter test: Run testsflutter analyze: Run static analysis
- Home Screen: Single input field for URL with submit button
- Result View: Shows shortened URL with copy option
For production deployment, you can host the built web files on:
- AWS Amplify
- AWS S3
Configuration file example (.env):
API_URL=https://api.cutli.inkRemember to update the web/index.html with your application details and any required meta tags.
Note: This is a web-only Flutter application optimized for URL shortening functionality. The build size has been optimized for web deployment by disabling unnecessary Flutter features.