This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main; | |
import server.HttpServerBuilder; | |
import youtube.YoutubeBuilder; | |
import java.util.UUID; | |
public class YoutubeDownloader { | |
public static void main(String[] args) throws Exception { | |
new HttpServerBuilder().create(8080).context("/download/", exchange -> new YoutubeBuilder().setURL(exchange.getRequestURI().toString().replace("/download/", "")).setOut(UUID.randomUUID().toString()).buildRequest().execute().sendAsHTTP(exchange)).asyncExecutor().build(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter_screenutil/flutter_screenutil.dart'; | |
import 'package:hosting/src/widget/web_announcement.dart'; | |
import 'package:hosting/src/widget/web_divider.dart'; | |
import 'package:hosting/src/widget/web_feautures.dart'; | |
import 'package:hosting/src/widget/web_footer.dart'; | |
import 'package:hosting/src/widget/web_introduction.dart'; | |
import 'package:hosting/src/widget/web_pricing.dart'; | |
import 'package:hosting/src/widget/web_navigation_bar.dart'; | |
import 'package:hosting/src/widget/web_video_player.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:asset_cache/asset_cache.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter_screenutil/flutter_screenutil.dart'; | |
import 'package:hosting/main.dart'; | |
import 'package:hosting/src/util/physics.dart'; | |
import 'package:hosting/src/util/screen_util.dart'; | |
import 'package:hosting/src/widget/web_announcement.dart'; | |
import 'package:hosting/src/widget/web_divider.dart'; | |
import 'package:hosting/src/widget/web_feautures.dart'; | |
import 'package:hosting/src/widget/web_footer.dart'; |