1
1
mirror of https://github.com/neosubhamoy/neodlp-website.git synced 2026-06-21 04:43:44 +05:30

(chore): initial MVP release

This commit is contained in:
2025-05-13 09:49:26 +05:30
Verified
commit 76cf1d3d41
46 changed files with 15065 additions and 0 deletions
+68
View File
@@ -0,0 +1,68 @@
---
import AllDownloadsSection from '@/components/AllDowloadsSection';
import Main from '@/layouts/main.astro';
// Default fallback data in case fetch fails
let data = {
version: "0.0.0",
notes: "### Unable to fetch latest release information\n\nPlease check back later or visit our [GitHub repository](https://github.com/neosubhamoy/neodlp) for the latest releases.",
pub_date: new Date().toISOString(),
platforms: {
"darwin-x86_64": {
signature: "",
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_x64.app.tar.gz"
},
"darwin-aarch64": {
signature: "",
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_aarch64.app.tar.gz"
},
"windows-x86_64": {
signature: "",
url: "https://github.com/neosubhamoy/neodlp/releases/download/v0.0.0/NeoDLP_0.0.0_x64-setup.exe"
}
}
};
try {
const response = await fetch("https://github.com/neosubhamoy/neodlp/releases/latest/download/latest.json");
data = await response.json();
// Add additional custom platform objects
const baseUrl = "https://github.com/neosubhamoy/neodlp/releases/download/v" + data.version + "/";
const additionalPlatforms = {
"darwin-x86_64-dmg": {
signature: "",
url: baseUrl + `NeoDLP_${data.version}_x64.dmg`
},
"darwin-aarch64-dmg": {
signature: "",
url: baseUrl + `NeoDLP_${data.version}_aarch64.dmg`
},
"windows-x86_64-msi": {
signature: "",
url: baseUrl + `NeoDLP_${data.version}_x64_en-US.msi`
},
"linux-x86_64-deb": {
signature: "",
url: baseUrl + `NeoDLP_${data.version}_amd64.deb`
},
"linux-x86_64-rpm": {
signature: "",
url: baseUrl + `NeoDLP-${data.version}-1.x86_64.rpm`
},
"linux-x86_64-aur": {
signature: "",
url: `https://aur.archlinux.org/cgit/aur.git/snapshot/neodlp.tar.gz`
}
};
// Merge additional custom platforms with the original data
data.platforms = { ...data.platforms, ...additionalPlatforms };
} catch (error) {
console.error("Error fetching the latest release information:", error);
}
---
<Main title="All Downloads - NeoDLP">
<AllDownloadsSection release={data} client:load />
</Main>