Changes to audioscribe1.scroll.pub

root
root
20 days ago
Initial commit
body.html
Changed around line 1
+
+

AudioScribe

+

Convert audio to text and summarize content effortlessly.

+
+
+
+
+

Upload Your Audio File

+
+
+
+
+
+

Results

+
+
+
+
+
+
+
+

AudioScribe - Your audio transcription and summarization tool.

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://audioscribe.scroll.pub
+ metaTags
+ editButton /edit.html
+ title AudioScribe - Convert Audio to Text & Summarize
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "1b185389-7787-4e3d-a2c4-4e9c9122f439",
+ "object": "chat.completion",
+ "created": 1735787036,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\naudioscribe.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://audioscribe.scroll.pub\nmetaTags\neditButton /edit.html\ntitle AudioScribe - Convert Audio to Text & Summarize\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

AudioScribe

\n

Convert audio to text and summarize content effortlessly.

\n
\n\n
\n
\n

Upload Your Audio File

\n \n \n
\n\n
\n

Results

\n \n \n
\n
\n
\n\n
\n

AudioScribe - Your audio transcription and summarization tool.

\n
\n---style.css---\n:root {\n --primary-color: #4a90e2;\n --secondary-color: #50e3c2;\n --background-color: #f5f7fa;\n --text-color: #333;\n --border-radius: 8px;\n}\n\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n background-color: var(--background-color);\n color: var(--text-color);\n margin: 0;\n padding: 0;\n line-height: 1.6;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background-color: var(--primary-color);\n color: white;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\nheader p {\n margin: 0.5rem 0 0;\n font-size: 1.2rem;\n}\n\nmain {\n padding: 2rem;\n max-width: 800px;\n margin: 0 auto;\n}\n\n.upload-section, .results-section {\n background: white;\n padding: 1.5rem;\n border-radius: var(--border-radius);\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-bottom: 2rem;\n}\n\nh2 {\n margin-top: 0;\n color: var(--primary-color);\n}\n\ninput[type=\"file\"] {\n display: block;\n margin: 1rem 0;\n padding: 0.5rem;\n border: 2px solid var(--primary-color);\n border-radius: var(--border-radius);\n width: 100%;\n}\n\nbutton {\n background-color: var(--primary-color);\n color: white;\n border: none;\n padding: 0.75rem 1.5rem;\n border-radius: var(--border-radius);\n cursor: pointer;\n font-size: 1rem;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: var(--secondary-color);\n}\n\ntextarea {\n width: 100%;\n height: 150px;\n padding: 0.5rem;\n border: 2px solid var(--primary-color);\n border-radius: var(--border-radius);\n margin: 1rem 0;\n resize: vertical;\n}\n\n#summaryOutput {\n margin-top: 1rem;\n padding: 1rem;\n background-color: var(--background-color);\n border-radius: var(--border-radius);\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: var(--primary-color);\n color: white;\n margin-top: 2rem;\n}\n\n@media (max-width: 600px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n main {\n padding: 1rem;\n }\n\n button {\n width: 100%;\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('convertBtn').addEventListener('click', function() {\n const fileInput = document.getElementById('audioFile');\n if (fileInput.files.length === 0) {\n alert('Please select an audio file.');\n return;\n }\n\n const file = fileInput.files[0];\n const reader = new FileReader();\n\n reader.onload = function(e) {\n // Simulate conversion process\n setTimeout(() => {\n document.getElementById('textOutput').value = \"This is a simulated transcription of the audio file. In a real application, this would be replaced with the actual transcribed text.\";\n }, 1000);\n };\n\n reader.readAsDataURL(file);\n});\n\ndocument.getElementById('summarizeBtn').addEventListener('click', function() {\n const text = document.getElementById('textOutput').value;\n if (text.trim() === '') {\n alert('Please convert an audio file to text first.');\n return;\n }\n\n // Simulate summarization process\n setTimeout(() => {\n document.getElementById('summaryOutput').innerHTML = \"

This is a simulated summary of the transcribed text. In a real application, this would be replaced with the actual summarized content.

\";\n }, 1000);\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 250,
+ "completion_tokens": 1168,
+ "total_tokens": 1418,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 250
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # audioscribe1.scroll.pub
+ Website generated by DeepSeek from prompt: I want to create a website for converting audio files to text and summarizing the content
script.js
Changed around line 1
+ document.getElementById('convertBtn').addEventListener('click', function() {
+ const fileInput = document.getElementById('audioFile');
+ if (fileInput.files.length === 0) {
+ alert('Please select an audio file.');
+ return;
+ }
+
+ const file = fileInput.files[0];
+ const reader = new FileReader();
+
+ reader.onload = function(e) {
+ // Simulate conversion process
+ setTimeout(() => {
+ document.getElementById('textOutput').value = "This is a simulated transcription of the audio file. In a real application, this would be replaced with the actual transcribed text.";
+ }, 1000);
+ };
+
+ reader.readAsDataURL(file);
+ });
+
+ document.getElementById('summarizeBtn').addEventListener('click', function() {
+ const text = document.getElementById('textOutput').value;
+ if (text.trim() === '') {
+ alert('Please convert an audio file to text first.');
+ return;
+ }
+
+ // Simulate summarization process
+ setTimeout(() => {
+ document.getElementById('summaryOutput').innerHTML = "

This is a simulated summary of the transcribed text. In a real application, this would be replaced with the actual summarized content.

";
+ }, 1000);
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #4a90e2;
+ --secondary-color: #50e3c2;
+ --background-color: #f5f7fa;
+ --text-color: #333;
+ --border-radius: 8px;
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ margin: 0;
+ padding: 0;
+ line-height: 1.6;
+ }
+
+ header {
+ text-align: center;
+ padding: 2rem;
+ background-color: var(--primary-color);
+ color: white;
+ }
+
+ header h1 {
+ margin: 0;
+ font-size: 2.5rem;
+ }
+
+ header p {
+ margin: 0.5rem 0 0;
+ font-size: 1.2rem;
+ }
+
+ main {
+ padding: 2rem;
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ .upload-section, .results-section {
+ background: white;
+ padding: 1.5rem;
+ border-radius: var(--border-radius);
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ margin-bottom: 2rem;
+ }
+
+ h2 {
+ margin-top: 0;
+ color: var(--primary-color);
+ }
+
+ input[type="file"] {
+ display: block;
+ margin: 1rem 0;
+ padding: 0.5rem;
+ border: 2px solid var(--primary-color);
+ border-radius: var(--border-radius);
+ width: 100%;
+ }
+
+ button {
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 0.75rem 1.5rem;
+ border-radius: var(--border-radius);
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background-color 0.3s ease;
+ }
+
+ button:hover {
+ background-color: var(--secondary-color);
+ }
+
+ textarea {
+ width: 100%;
+ height: 150px;
+ padding: 0.5rem;
+ border: 2px solid var(--primary-color);
+ border-radius: var(--border-radius);
+ margin: 1rem 0;
+ resize: vertical;
+ }
+
+ #summaryOutput {
+ margin-top: 1rem;
+ padding: 1rem;
+ background-color: var(--background-color);
+ border-radius: var(--border-radius);
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 600px) {
+ header h1 {
+ font-size: 2rem;
+ }
+
+ header p {
+ font-size: 1rem;
+ }
+
+ main {
+ padding: 1rem;
+ }
+
+ button {
+ width: 100%;
+ padding: 1rem;
+ }
+ }