Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

1.2 KB
Raw Blame
/** Curated Unsplash landscapes — the no-API-key fallback the Unsplash tab shows
 *  by default (and when `searchUnsplash` isn't wired). URLs are built from
 *  stable photo IDs via the images.unsplash.com CDN. */

import type { UnsplashPhoto } from "../types";

const IDS = [
  "1506744038136-46273834b3fb", "1469474968028-56623f02e42e",
  "1470071459604-3b5ec3a7fe05", "1447752875215-b2761acb3c5d",
  "1441974231531-c6227db76b6e", "1465146344425-f00d5f5c8f07",
  "1518173946687-a4c8892bbd9f", "1472214103451-9374bd1c798e",
  "1433086966358-54859d0ed716", "1426604966848-d7adac402bff",
  "1501785888041-af3ef285b470", "1506905925346-21bda4d32df4",
];

const cdn = (id: string, w: number, q: number) =>
  `https://images.unsplash.com/photo-${id}?auto=format&fit=crop&w=${w}&q=${q}`;

// High-res by default — these double as desktop wallpapers, so `regular` (the
// value a pick stores) is full-screen sized, not a 1080 thumbnail.
export const CURATED_UNSPLASH: UnsplashPhoto[] = IDS.map((id) => ({
  id,
  regular: cdn(id, 2560, 82),
  thumb: cdn(id, 400, 60),
  full: cdn(id, 3840, 85),
  width: 2560,
  height: 1600,
  alt: "Landscape",
  photographer: "Unsplash",
  photographerUrl: "https://unsplash.com",
  source: `https://unsplash.com/photos/${id}`,
}));