Skip to content

Commit

Permalink
added sfsu page
Browse files Browse the repository at this point in the history
  • Loading branch information
jewlexx committed Dec 19, 2024
1 parent d6ab537 commit 8b0624f
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
7 changes: 6 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { NextConfig } from 'next';
import createMdx from '@next/mdx';

const nextConfig: NextConfig = {
images: {
Expand All @@ -11,4 +12,8 @@ const nextConfig: NextConfig = {
}
};

export default nextConfig;
const withMdx = createMdx({
extension: /\.mdx?$/
});

export default withMdx(nextConfig);
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"start": "next start"
},
"dependencies": {
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/mdx": "^15.1.1",
"@types/mdx": "^2.0.13",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106"
Expand Down
5 changes: 5 additions & 0 deletions src/app/projects/sfsu/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import SFSU from '$/lib/projects/sfsu.md';

export default function Page() {
return <SFSU />;
}
36 changes: 36 additions & 0 deletions src/lib/projects/sfsu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
featured: true
emoji:
title: Stupid Fast Scoop Utils
description: Super fast replacements and additions to scoop commands written in Rust
pubDate: Oct 28 2022
repo: winpax/sfsu
heroImage: https://repository-images.githubusercontent.com/558838965/5a08ad32-112c-42a7-b0b8-212270cd30ce
shields:
- alt: Github Workflow Status
src: https://img.shields.io/github/actions/workflow/status/winpax/sfsu/build.yml
- alt: dependency status
href: https://deps.rs/repo/github/winpax/sfsu
src: https://deps.rs/repo/github/winpax/sfsu/status.svg
- alt: GitHub all releases
src: https://img.shields.io/github/downloads/winpax/sfsu/total
- alt: GitHub
src: https://img.shields.io/github/license/winpax/sfsu
- alt: Scoop version (extras bucket)
src: https://img.shields.io/scoop/v/sfsu?bucket=extras
download:
src: github
infoExtractor: /sfsu-(?<arch>.+).exe/
os:
- windows
arch:
- x64
- x86
- arm64
---

Super **⚡ fast ⚡** replacements and additions to [Scoop](https://scoop.sh) commands written in the [Rust programming language](https://www.rust-lang.org/).

It can override the existing [Scoop](https://scoop.sh) install for all commands that it has, using the [hooks](https://github.com/winpax/sfsu#hook).

More in depth benchmarking information can be found in the [benchmarking section of the README](https://github.com/winpax/sfsu#benchmarks-1), but to summarize, it is multiple [orders of magnitude](https://g.co/kgs/KqoK2G) faster than default [Scoop](https://scoop.sh).
27 changes: 27 additions & 0 deletions src/lib/projects/sprinkles.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
emoji:
title: Sprinkles
description: A Rust based abstraction layer for Scoop.
pubDate: May 20 2024
repo: winpax/sprinkles
heroImage: https://cordor.dev/api/og?title=Sprinkles&image=https%3A%2F%2Fcordor.dev%2Femojis%2Fsparkles.svg&backgroundColor=rgba(0%2C0%2C0%2C0)
profileImage: https://cordor.dev/emojis/sparkles.svg
shields:
- alt: Github Workflow Status
src: https://img.shields.io/github/actions/workflow/status/winpax/sprinkles/build.yml
- alt: dependency status
href: https://deps.rs/repo/github/winpax/sprinkles
src: https://deps.rs/crate/sprinkles-rs/latest/status.svg
- alt: Crates.io Total Downloads
src: https://img.shields.io/crates/d/sprinkles-rs
href: https://crates.io/crates/sprinkles-rs
- alt: License
src: https://img.shields.io/crates/l/sprinkles-rs
- alt: Crates.io MSRV
src: https://img.shields.io/crates/msrv/sprinkles-rs
href: https://crates.io/crates/sprinkles-rs
---

Sprinkles is a library for interacting with [Scoop](https://scoop.sh), the Windows package manager, from [Rust](https://www.rust-lang.org/) code.

It provides a high-level API for interacting with [Scoop](https://scoop.sh), such as installing, updating, and removing packages.
7 changes: 7 additions & 0 deletions src/mdx-components.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type { MDXComponents } from 'mdx/types';

export function useMDXComponents(components: MDXComponents): MDXComponents {
return {
...components
};
}

0 comments on commit 8b0624f

Please sign in to comment.