diff --git a/public/assets/images/deployapp-thumb.jpg b/public/assets/images/services/deployapp-thumb.jpg
similarity index 100%
rename from public/assets/images/deployapp-thumb.jpg
rename to public/assets/images/services/deployapp-thumb.jpg
diff --git a/public/assets/images/services/kubernetes-edge.png b/public/assets/images/services/kubernetes-edge.png
new file mode 100644
index 0000000..93b9aaf
Binary files /dev/null and b/public/assets/images/services/kubernetes-edge.png differ
diff --git a/public/assets/node-js.jpg b/public/assets/images/services/node-js.jpg
similarity index 100%
rename from public/assets/node-js.jpg
rename to public/assets/images/services/node-js.jpg
diff --git a/public/assets/images/services/stt-streaming.png b/public/assets/images/services/stt-streaming.png
new file mode 100644
index 0000000..3c0912e
Binary files /dev/null and b/public/assets/images/services/stt-streaming.png differ
diff --git a/public/assets/images/wiregurd-thumb.jpg b/public/assets/images/services/wiregurd-thumb.jpg
similarity index 100%
rename from public/assets/images/wiregurd-thumb.jpg
rename to public/assets/images/services/wiregurd-thumb.jpg
diff --git a/src/components/BuyServices/STTStreaming.jsx b/src/components/BuyServices/STTStreaming.jsx
new file mode 100644
index 0000000..c1ce815
--- /dev/null
+++ b/src/components/BuyServices/STTStreaming.jsx
@@ -0,0 +1,114 @@
+import React, { useState } from 'react';
+import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from '../ui/card';
+import { Button } from '../ui/button';
+import { useIsLoggedIn } from '../../lib/isLoggedIn';
+import Loader from "../ui/loader";
+import { Loader2 } from "lucide-react";
+import { Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle } from "../ui/dialog";
+const PRICE_CONFIG = [
+ {purchaseType: 'loose', price: 2000, minute: 10000},
+ {purchaseType: 'bulk', price: 1000, minute: 10000}
+];
+export default function STTStreaming(){
+ const USER_API_URL = 'https://host-api.cs1.hz.siliconpin.com/v1/users/';
+ const [purchaseType, setPurchaseType] = useState();
+ const [amount, setAmount] = useState();
+ const [dataError, setDataError] = useState();
+ const [isProcessing, setIsProcessing] = useState(false);
+ const handlePurchaseType = (type) => {
+ const selected = PRICE_CONFIG.find(item => item.purchaseType === type);
+ setAmount(type === 'bulk' ? selected.price : type === 'loose' ? selected.price : '')
+ setPurchaseType(type);
+ }
+
+ const handlePurchase = async () => {
+ // Validate inputs
+ if (!purchaseType) {
+ setDataError('Please select a Plan');
+ return;
+ }
+
+ setIsProcessing(true);
+ setDataError(null);
+
+ try {
+ const formData = new FormData();
+ formData.append('service', 'STT Streaming API');
+ formData.append('serviceId', 'sttstreamingapi');
+ formData.append('cycle', 'monthly');
+ formData.append('amount', amount.toString());
+ formData.append('service_type', 'streaming_api');
+ const response = await fetch(`${USER_API_URL}?query=initiate_payment`, {
+ method: 'POST',
+ body: formData, // Using FormData instead of JSON
+ credentials: 'include'
+ });
+
+ if (!response.ok) {
+ throw new Error(`HTTP error! status: ${response.status}`);
+ }
+
+ const data = await response.json();
+
+ if (data.success) {
+ // Redirect to payment success page with order ID
+ window.location.href = `/success?service=streaming_api&orderId=${data.order_id}`;
+ } else {
+ throw new Error(data.message || 'Payment initialization failed');
+ }
+ } catch (error) {
+ console.error('Purchase error:', error);
+ setDataError(error.message || 'An error occurred during purchase. Please try again.');
+ } finally {
+ setIsProcessing(false);
+ }
+ };
+ if(!purchaseType){
+
+
{dataError}
+
+ }
+ return(
+ <>
+
+
+
+
+ STT Streaming API
+ Real-time Speech-to-Text (STT) streaming that converts spoken words into accurate, readable text
+
+
+
+
+
+
+ {['Setup Charge 5000', '10000 Min INR 2000 in Loose Plan', '10000 Min INR 1000 in Bulk Plan', 'Real-time transcription with high accuracy', 'Supports multiple languages', 'Custom vocabulary for domain-specific terms', 'Integrates easily with video/audio streams', 'Secure and scalable API access', 'Live subtitle overlay options'].map((feature, index) => (
+
diff --git a/src/pages/services/index.astro b/src/pages/services/index.astro
index bc007d2..84f5a81 100644
--- a/src/pages/services/index.astro
+++ b/src/pages/services/index.astro
@@ -1,6 +1,6 @@
---
import Layout from '../../layouts/Layout.astro';
-import { ServiceCard } from '../../components/ServiceCard';
+import {ServiceCard} from '../../components/ServiceCard';
// Page-specific SEO metadata
const pageTitle = "Hosting Services | SiliconPin";
@@ -12,7 +12,7 @@ const services = [
{
title: 'VPN (WireGuard)',
description: 'WireGuard is much better than other solutions like open VPN Free VPN. as WireGuard is the best we provide WireGuard VPN',
- imageUrl: '/assets/images/wiregurd-thumb.jpg',
+ imageUrl: '/assets/images/services/wiregurd-thumb.jpg',
features: ["600 GB bandwidth", "WireGuard® protocol", "Global server locations", "No activity logs"],
learnMoreUrl: '/services/vpn',
buyButtonText: 'Buy VPN',
@@ -20,7 +20,7 @@ const services = [
},{
title: 'Deploy an App',
description: 'WordPress, Joomla, Drupal, PrestaShop, Wiki, Moodle, Directus, PocketBase, StarAPI and more.',
- imageUrl: '/assets/images/deployapp-thumb.jpg',
+ imageUrl: '/assets/images/services/deployapp-thumb.jpg',
features: [ 'WordPress', 'Joomla', 'Drupal', 'PrestaShop', 'Wiki', 'Moodle', 'Directus', 'PocketBase', 'StarAPI' ],
learnMoreUrl: '/services/deploy-an-app',
buyButtonText: '',
@@ -56,16 +56,25 @@ const services = [
{
title: "Node.js Hosting",
description: "Optimized cloud hosting for Node.js applications with automatic scaling.",
- imageUrl: "/assets/node-js.jpg",
+ imageUrl: "/assets/images/services/node-js.jpg",
features: ["Express", "NestJS", "Koa", "Socket.io", "PM2", "WebSockets", "Serverless", "TypeScript", "GraphQL"],
learnMoreUrl: "/services/nodejs-hosting",
buyButtonText: "",
buyButtonUrl: ""
},
+ {
+ title: 'STT Streaming (API Services)',
+ description: 'Real-time Speech-to-Text (STT) streaming that converts spoken words into accurate, readable text. Ideal for live events, webinars, customer support, and accessibility solutions.',
+ imageUrl: '/assets/images/services/stt-streaming.png',
+ features: ['Setup Charge 5000', '10000 Min INR 2000 in Loose Plan', '10000 Min INR 1000 in Bulk Plan', 'Real-time transcription with high accuracy', 'Supports multiple languages', 'Custom vocabulary for domain-specific terms', 'Integrates easily with video/audio streams', 'Secure and scalable API access', 'Live subtitle overlay options'],
+ learnMoreUrl: '',
+ buyButtonText: 'Purchase',
+ buyButtonUrl: '/services/stt-streaming'
+ },
{
title: 'Kubernetes (K8s)',
description: 'Enterprise-grade Kubernetes clusters for container orchestration at scale.',
- imageUrl: 'https://images.unsplash.com/photo-1551731409-43eb3e517a1a?q=80&w=2000&auto=format&fit=crop',
+ imageUrl: '/assets/images/services/kubernetes-edge.png',
features: [ 'Fully managed K8s clusters', 'Auto-scaling and load balancing', 'Advanced networking options', 'Persistent storage solutions', 'Enterprise support available'],
learnMoreUrl: '/services/kubernetes',
buyButtonText: '',
diff --git a/src/pages/services/stt-streaming.astro b/src/pages/services/stt-streaming.astro
new file mode 100644
index 0000000..4a94206
--- /dev/null
+++ b/src/pages/services/stt-streaming.astro
@@ -0,0 +1,7 @@
+---
+import Layout from "../../layouts/Layout.astro"
+import STTStreaming from "../../components/BuyServices/STTStreaming"
+---
+
+
+
\ No newline at end of file
diff --git a/src/pages/tmp.astro b/src/pages/tmp.astro
new file mode 100644
index 0000000..6d1b1f8
--- /dev/null
+++ b/src/pages/tmp.astro
@@ -0,0 +1,100 @@
+---
+import Layout from "../layouts/Layout.astro";
+---
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/web-tools/annyang-js.astro b/src/pages/web-tools/annyang-js.astro
new file mode 100644
index 0000000..6608b29
--- /dev/null
+++ b/src/pages/web-tools/annyang-js.astro
@@ -0,0 +1,200 @@
+---
+import Layout from "../../layouts/Layout.astro"
+---
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/web-tools/articulate.astro b/src/pages/web-tools/articulate.astro
new file mode 100644
index 0000000..ec1c441
--- /dev/null
+++ b/src/pages/web-tools/articulate.astro
@@ -0,0 +1,168 @@
+---
+import Layout from "../../layouts/Layout.astro"
+---
+
+
+
+
+
+
+
Real-Time Transcription
+
Using Articulate.js
+
+
+
+
+
+
+
+ Ready to start
+
+
+
+
+
+
+
Your transcription will appear here...
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Click "Start" and begin speaking. Transcription will appear in real-time.
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/web-tools/deep-speech.astro b/src/pages/web-tools/deep-speech.astro
new file mode 100644
index 0000000..c2af2eb
--- /dev/null
+++ b/src/pages/web-tools/deep-speech.astro
@@ -0,0 +1,73 @@
+---
+import Layout from "../../layouts/Layout.astro";
+---
+
+
DeepSpeech Real-Time Transcription
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/web-tools/transcribe.astro b/src/pages/web-tools/transcribe.astro
new file mode 100644
index 0000000..4cbeb3b
--- /dev/null
+++ b/src/pages/web-tools/transcribe.astro
@@ -0,0 +1,70 @@
+---
+import Layout from "../../layouts/Layout.astro"
+---
+
+
+
Voice Recognition Demo
+
+
+
+
+
+
diff --git a/src/pages/web-tools/vosk.astro b/src/pages/web-tools/vosk.astro
new file mode 100644
index 0000000..8f02ad7
--- /dev/null
+++ b/src/pages/web-tools/vosk.astro
@@ -0,0 +1,248 @@
+---
+import Layout from "../../layouts/Layout.astro"
+---
+
+
+
+
🎙️ Speech to Text
+
+
+
+
+
+
+
+
+
+
+
+ Ready to start
+
+
+
+
+ Transcribed text will appear here...
+
+
+
+
+
+
diff --git a/src/pages/web-tools/web-speech.astro b/src/pages/web-tools/web-speech.astro
new file mode 100644
index 0000000..4adde88
--- /dev/null
+++ b/src/pages/web-tools/web-speech.astro
@@ -0,0 +1,100 @@
+---
+import Layout from "../../layouts/Layout.astro";
+---
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/web-tools/whisper-cpp.astro b/src/pages/web-tools/whisper-cpp.astro
new file mode 100644
index 0000000..0a78a1e
--- /dev/null
+++ b/src/pages/web-tools/whisper-cpp.astro
@@ -0,0 +1,276 @@
+---
+import Layout from "../../layouts/Layout.astro"
+---
+
+
+
+
+
Whisper.cpp STT Streaming
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Ready to start recording...
+
+
+
+
+
+
+
+
+
+
+
+
Note: This interface connects to a whisper.cpp server for processing. Audio is streamed in real-time.