ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.
Python astracloudflarecontrol-panelcyberpaneldnsfablehosting-control-panelhosting-panelkimi-k3server-managementserverkitubuntu-web-panelwebserver
import { createContext } from 'react';
// The managed-profile context value. Kept in its own module so the
// provider (a component file) and useManagedProfile (the hook) share one
// context object without either exporting across the react-refresh boundary.
const ManagedProfileContext = createContext({
loading: true,
profile: null,
active: false,
lapsed: false,
capabilities: [],
hiddenSidebarIds: new Set(),
capabilityLabel: () => null,
cardForPath: () => null,
isControlHeld: () => false,
reload: () => {},
});
export default ManagedProfileContext;