Project NOMAD is an offline-first knowledge and education server. Wikipedia, thousands of books, courses, maps, and optional local AI, all running on hardware you own with no internet required.
TypeScript
// Helper hook to show error notifications
import { useNotifications } from '../context/NotificationContext';
const useErrorNotification = () => {
const { addNotification } = useNotifications();
const showError = (message: string) => {
addNotification({ message, type: 'error' });
};
return { showError };
};
export default useErrorNotification;