jbilcke-hf HF Staff commited on
Commit
523275c
·
1 Parent(s): a3d40b4

fix tikslop.com

Browse files
DEPLOYMENT.md CHANGED
@@ -1,5 +1,5 @@
1
 
2
- ## Deploying tikslop to https://tikslop.at
3
 
4
  Note: this document is meant for tikslop administrators only, not the general public.
5
 
@@ -98,13 +98,13 @@ The application automatically determines the WebSocket URL:
98
  - No configuration needed for deployment
99
 
100
  2. **Native Platforms**:
101
- - Production: Automatically uses `wss://tikslop.at/ws` when built with production flag
102
  - Development: Uses `ws://localhost:8080/ws` by default
103
  - Custom: Can override with `API_WS_URL` environment variable (highest priority)
104
 
105
  #### Production Native Build
106
 
107
- For production builds (connecting to tikslop.at):
108
  ```bash
109
  flutter build apk --dart-define=CONFIG_PATH=assets/config/tikslop.yaml --dart-define=PRODUCTION_MODE=true
110
  ```
 
1
 
2
+ ## Deploying tikslop to https://tikslop.com
3
 
4
  Note: this document is meant for tikslop administrators only, not the general public.
5
 
 
98
  - No configuration needed for deployment
99
 
100
  2. **Native Platforms**:
101
+ - Production: Automatically uses `wss://tikslop.com/ws` when built with production flag
102
  - Development: Uses `ws://localhost:8080/ws` by default
103
  - Custom: Can override with `API_WS_URL` environment variable (highest priority)
104
 
105
  #### Production Native Build
106
 
107
+ For production builds (connecting to tikslop.com):
108
  ```bash
109
  flutter build apk --dart-define=CONFIG_PATH=assets/config/tikslop.yaml --dart-define=PRODUCTION_MODE=true
110
  ```
README.md CHANGED
@@ -1,14 +1,14 @@
1
  ---
2
- title: "#tikslop"
3
  emoji: 🍿
4
  colorFrom: red
5
  colorTo: red
6
  sdk: docker
7
  app_file: api.py
8
  pinned: true
9
- short_description: The Latent Video Platform
10
  models:
11
- - mistralai/Mistral-7B-Instruct-v0.3
12
  - Lightricks/LTX-Video
13
  app_port: 8080
14
  disable_embedding: false
@@ -19,14 +19,14 @@ hf_oauth_scopes:
19
  ---
20
 
21
 
22
- # #tikslop
23
 
24
  ## Configuration
25
 
26
  ### WebSocket Connection
27
  - **Web Platform**: Automatically connects to the host serving the page (adapts to both HTTP/HTTPS)
28
  - **Native Platforms**:
29
- - Production: Uses `wss://tikslop.at/ws` when built with `--dart-define=PRODUCTION_MODE=true`
30
  - Development: Uses `ws://localhost:8080/ws` by default
31
  - Custom: Set `API_WS_URL` during build with `--dart-define=API_WS_URL=ws://your-server:port/ws` (highest priority)
32
 
@@ -47,7 +47,7 @@ This allows for new ways of consuming AI generated content, such as collaborativ
47
 
48
  # Where can I use it?
49
 
50
- #tikslop is not ready yet: this is an experimental side project and the [platform](https://tikslop.at), code and documentation will be in development for most of 2025.
51
 
52
  # Why can't I use it?
53
 
 
1
  ---
2
+ title: "TikSlop"
3
  emoji: 🍿
4
  colorFrom: red
5
  colorTo: red
6
  sdk: docker
7
  app_file: api.py
8
  pinned: true
9
+ short_description: The 100% Latent Video App
10
  models:
11
+ - microsoft/Phi-3-mini-128k-instruct
12
  - Lightricks/LTX-Video
13
  app_port: 8080
14
  disable_embedding: false
 
19
  ---
20
 
21
 
22
+ # TikSlop
23
 
24
  ## Configuration
25
 
26
  ### WebSocket Connection
27
  - **Web Platform**: Automatically connects to the host serving the page (adapts to both HTTP/HTTPS)
28
  - **Native Platforms**:
29
+ - Production: Uses `wss://tikslop.com/ws` when built with `--dart-define=PRODUCTION_MODE=true`
30
  - Development: Uses `ws://localhost:8080/ws` by default
31
  - Custom: Set `API_WS_URL` during build with `--dart-define=API_WS_URL=ws://your-server:port/ws` (highest priority)
32
 
 
47
 
48
  # Where can I use it?
49
 
50
+ #tikslop is not ready yet: this is an experimental side project and the [platform](https://tikslop.com), code and documentation will be in development for most of 2025.
51
 
52
  # Why can't I use it?
53
 
build/web/.last_build_id CHANGED
@@ -1 +1 @@
1
- 00a0a70792b04bcd7ca08cb0a04b422c
 
1
+ 5dc8a8cb6cf2f7ccca92108709817010
build/web/flutter_bootstrap.js CHANGED
@@ -39,6 +39,6 @@ _flutter.buildConfig = {"engineRevision":"382be0028d370607f76215a9be322e5514b263
39
 
40
  _flutter.loader.load({
41
  serviceWorkerSettings: {
42
- serviceWorkerVersion: "3718327370"
43
  }
44
  });
 
39
 
40
  _flutter.loader.load({
41
  serviceWorkerSettings: {
42
+ serviceWorkerVersion: "1756368063"
43
  }
44
  });
build/web/flutter_service_worker.js CHANGED
@@ -3,12 +3,12 @@ const MANIFEST = 'flutter-app-manifest';
3
  const TEMP = 'flutter-temp-cache';
4
  const CACHE_NAME = 'flutter-app-cache';
5
 
6
- const RESOURCES = {"flutter_bootstrap.js": "fe60adda51a3823633b786075b6d10eb",
7
  "version.json": "68350cac7987de2728345c72918dd067",
8
  "tikslop.png": "570e1db759046e2d224fef729983634e",
9
  "index.html": "820eb02576e6d66488611f1b19e15b63",
10
  "/": "820eb02576e6d66488611f1b19e15b63",
11
- "main.dart.js": "2c8a8ae55422254bad36b497dd408761",
12
  "tikslop.svg": "26140ba0d153b213b122bc6ebcc17f6c",
13
  "flutter.js": "83d881c1dbb6d6bcd6b42e274605b69c",
14
  "favicon.png": "c8a183c516004e648a7bac7497c89b97",
 
3
  const TEMP = 'flutter-temp-cache';
4
  const CACHE_NAME = 'flutter-app-cache';
5
 
6
+ const RESOURCES = {"flutter_bootstrap.js": "338eac55fbb783e3cf3910142f73b19d",
7
  "version.json": "68350cac7987de2728345c72918dd067",
8
  "tikslop.png": "570e1db759046e2d224fef729983634e",
9
  "index.html": "820eb02576e6d66488611f1b19e15b63",
10
  "/": "820eb02576e6d66488611f1b19e15b63",
11
+ "main.dart.js": "21ebc8127c44833620cc95fd08158166",
12
  "tikslop.svg": "26140ba0d153b213b122bc6ebcc17f6c",
13
  "flutter.js": "83d881c1dbb6d6bcd6b42e274605b69c",
14
  "favicon.png": "c8a183c516004e648a7bac7497c89b97",
build/web/index.html CHANGED
@@ -156,7 +156,7 @@
156
  </script>
157
 
158
  <!-- Add version parameter for cache busting -->
159
- <script src="flutter_bootstrap.js?v=1747138236" async></script>
160
 
161
  <!-- Add cache busting script -->
162
  <script>
 
156
  </script>
157
 
158
  <!-- Add version parameter for cache busting -->
159
+ <script src="flutter_bootstrap.js?v=1747138526" async></script>
160
 
161
  <!-- Add cache busting script -->
162
  <script>
build/web/main.dart.js CHANGED
@@ -88431,7 +88431,7 @@ case 2:return A.w(o.at(-1),r)}})
88431
  return A.y($async$xP,r)},
88432
  yP(){var s=0,r=A.z(t.H),q=1,p=[],o=this,n,m,l,k,j,i,h,g
88433
  var $async$yP=A.A(function(a,b){if(a===1){p.push(b)
88434
- s=q}while(true)switch(s){case 0:j=A.dM("https://tikslop.at",0,null)
88435
  i=t.N
88436
  h=A.a9I(j.gwa(),i,i)
88437
  i=o.r
 
88431
  return A.y($async$xP,r)},
88432
  yP(){var s=0,r=A.z(t.H),q=1,p=[],o=this,n,m,l,k,j,i,h,g
88433
  var $async$yP=A.A(function(a,b){if(a===1){p.push(b)
88434
+ s=q}while(true)switch(s){case 0:j=A.dM("https://tikslop.com",0,null)
88435
  i=t.N
88436
  h=A.a9I(j.gwa(),i,i)
88437
  i=o.r
lib/screens/video_screen.dart CHANGED
@@ -265,7 +265,7 @@ class _VideoScreenState extends State<VideoScreen> {
265
  void _shareVideo() async {
266
 
267
  // For non-web platforms
268
- final uri = Uri.parse("https://tikslop.at");
269
  final params = Map<String, String>.from(uri.queryParameters);
270
 
271
  // Ensure title and description are in the URL parameters
 
265
  void _shareVideo() async {
266
 
267
  // For non-web platforms
268
+ final uri = Uri.parse("https://tikslop.com");
269
  final params = Map<String, String>.from(uri.queryParameters);
270
 
271
  // Ensure title and description are in the URL parameters
lib/services/websocket_api_service.dart CHANGED
@@ -82,8 +82,8 @@ class WebSocketApiService {
82
  const isProduction = bool.fromEnvironment('PRODUCTION_MODE', defaultValue: false);
83
 
84
  if (isProduction) {
85
- // Production default is tikslop.at
86
- const productionUrl = 'wss://tikslop.at/ws';
87
  debugPrint('WebSocketApiService: Using production WebSocket URL: $productionUrl');
88
  return productionUrl;
89
  } else {
 
82
  const isProduction = bool.fromEnvironment('PRODUCTION_MODE', defaultValue: false);
83
 
84
  if (isProduction) {
85
+ // Production default is tikslop.com
86
+ const productionUrl = 'wss://tikslop.com/ws';
87
  debugPrint('WebSocketApiService: Using production WebSocket URL: $productionUrl');
88
  return productionUrl;
89
  } else {