Changes to randomcommits.scroll.pub

root
root
21 days ago
Deleted index-copy.scroll
index-copy.scroll
Changed around line 0
- buildHtml
- baseUrl https://randomcommits.scroll.pub
- metaTags
- editButton /edit.html
- title Random Commits Generator
- style.css
- body.html
- script.js
ffff:152.59.143.145
ffff:152.59.143.145
21 days ago
created index-copy.scroll
index-copy.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://randomcommits.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Random Commits Generator
+ style.css
+ body.html
+ script.js
root
root
21 days ago
Initial commit
body.html
Changed around line 1
+
+

Random Commits Generator

+

Generate random commits in your GitHub repository from a specified date range.

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Made with ❤️ by DeepSeek

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://randomcommits.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Random Commits Generator
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "776a66a5-eba8-422d-b02b-5f9009022322",
+ "object": "chat.completion",
+ "created": 1735708918,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nrandomcommits.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://randomcommits.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Random Commits Generator\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

Random Commits Generator

\n

Generate random commits in your GitHub repository from a specified date range.

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

Made with ❤️ by DeepSeek

\n
\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n background-color: #f4f4f9;\n color: #333;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n}\n\nheader {\n text-align: center;\n margin-bottom: 2rem;\n}\n\nheader h1 {\n font-size: 2.5rem;\n color: #2c3e50;\n}\n\nheader p {\n font-size: 1.2rem;\n color: #7f8c8d;\n}\n\nmain {\n background: #fff;\n padding: 2rem;\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n width: 100%;\n max-width: 500px;\n}\n\nform {\n display: flex;\n flex-direction: column;\n}\n\nlabel {\n margin-bottom: 0.5rem;\n font-weight: bold;\n}\n\ninput {\n margin-bottom: 1rem;\n padding: 0.5rem;\n border: 1px solid #ddd;\n border-radius: 4px;\n font-size: 1rem;\n}\n\nbutton {\n padding: 0.75rem;\n background-color: #3498db;\n color: #fff;\n border: none;\n border-radius: 4px;\n font-size: 1rem;\n cursor: pointer;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: #2980b9;\n}\n\n#result {\n margin-top: 1rem;\n font-size: 1rem;\n color: #27ae60;\n}\n\nfooter {\n margin-top: 2rem;\n text-align: center;\n font-size: 0.9rem;\n color: #7f8c8d;\n}\n\n@media (max-width: 600px) {\n main {\n padding: 1rem;\n }\n\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('commitForm').addEventListener('submit', async function(event) {\n event.preventDefault();\n \n const token = document.getElementById('token').value;\n const repo = document.getElementById('repo').value;\n const startDate = document.getElementById('startDate').value;\n const endDate = document.getElementById('endDate').value;\n\n const resultDiv = document.getElementById('result');\n resultDiv.textContent = 'Generating commits...';\n\n try {\n const response = await fetch(`https://api.github.com/repos/${repo}/commits`, {\n method: 'POST',\n headers: {\n 'Authorization': `token ${token}`,\n 'Content-Type': 'application/json'\n },\n body: JSON.stringify({\n start_date: startDate,\n end_date: endDate\n })\n });\n\n if (response.ok) {\n resultDiv.textContent = 'Commits generated successfully!';\n } else {\n const errorData = await response.json();\n resultDiv.textContent = `Error: ${errorData.message}`;\n }\n } catch (error) {\n resultDiv.textContent = 'An error occurred while generating commits.';\n }\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 274,
+ "completion_tokens": 1056,
+ "total_tokens": 1330,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 274
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # randomcommits.scroll.pub
+ Website generated by DeepSeek from prompt: Hi deepseek write a code to create a random commits(5-10) in github repository from a given date 01-012025 to 31-12-2025 using github tokens
script.js
Changed around line 1
+ document.getElementById('commitForm').addEventListener('submit', async function(event) {
+ event.preventDefault();
+
+ const token = document.getElementById('token').value;
+ const repo = document.getElementById('repo').value;
+ const startDate = document.getElementById('startDate').value;
+ const endDate = document.getElementById('endDate').value;
+
+ const resultDiv = document.getElementById('result');
+ resultDiv.textContent = 'Generating commits...';
+
+ try {
+ const response = await fetch(`https://api.github.com/repos/${repo}/commits`, {
+ method: 'POST',
+ headers: {
+ 'Authorization': `token ${token}`,
+ 'Content-Type': 'application/json'
+ },
+ body: JSON.stringify({
+ start_date: startDate,
+ end_date: endDate
+ })
+ });
+
+ if (response.ok) {
+ resultDiv.textContent = 'Commits generated successfully!';
+ } else {
+ const errorData = await response.json();
+ resultDiv.textContent = `Error: ${errorData.message}`;
+ }
+ } catch (error) {
+ resultDiv.textContent = 'An error occurred while generating commits.';
+ }
+ });
style.css
Changed around line 1
+ body {
+ font-family: 'Arial', sans-serif;
+ background-color: #f4f4f9;
+ color: #333;
+ margin: 0;
+ padding: 0;
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ min-height: 100vh;
+ }
+
+ header {
+ text-align: center;
+ margin-bottom: 2rem;
+ }
+
+ header h1 {
+ font-size: 2.5rem;
+ color: #2c3e50;
+ }
+
+ header p {
+ font-size: 1.2rem;
+ color: #7f8c8d;
+ }
+
+ main {
+ background: #fff;
+ padding: 2rem;
+ border-radius: 8px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+ width: 100%;
+ max-width: 500px;
+ }
+
+ form {
+ display: flex;
+ flex-direction: column;
+ }
+
+ label {
+ margin-bottom: 0.5rem;
+ font-weight: bold;
+ }
+
+ input {
+ margin-bottom: 1rem;
+ padding: 0.5rem;
+ border: 1px solid #ddd;
+ border-radius: 4px;
+ font-size: 1rem;
+ }
+
+ button {
+ padding: 0.75rem;
+ background-color: #3498db;
+ color: #fff;
+ border: none;
+ border-radius: 4px;
+ font-size: 1rem;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+ }
+
+ button:hover {
+ background-color: #2980b9;
+ }
+
+ #result {
+ margin-top: 1rem;
+ font-size: 1rem;
+ color: #27ae60;
+ }
+
+ footer {
+ margin-top: 2rem;
+ text-align: center;
+ font-size: 0.9rem;
+ color: #7f8c8d;
+ }
+
+ @media (max-width: 600px) {
+ main {
+ padding: 1rem;
+ }
+
+ header h1 {
+ font-size: 2rem;
+ }
+
+ header p {
+ font-size: 1rem;
+ }
+ }