mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 07:55:18 +00:00

* feat: initialize website project * feat: add initial homepage with download links * feat: initial download page * fix: linux icon color * feat: add mobile nav and github star button * feat: add older and nightly downloads page * feat: add supporters and footer * feat: add author details in about page * feat: add darkmode toggle for website * feat: add playstore and flathub download buttons and contribution button * feat: add blogs support * feat: remove netlify deploy config and add cloudflare config and favicons + manifest * chore: add robots.txt * feat: add spotube logo in navbar and fix build errors * chore: add gap
15 lines
293 B
TypeScript
15 lines
293 B
TypeScript
import type { PageLoad } from './$types';
|
|
import { Octokit } from '@octokit/rest';
|
|
|
|
const github = new Octokit();
|
|
export const load: PageLoad = async () => {
|
|
const { data: releases } = await github.repos.listReleases({
|
|
owner: 'KRTirtho',
|
|
repo: 'spotube'
|
|
});
|
|
|
|
return {
|
|
releases
|
|
};
|
|
};
|