A Svelte web application for searching and exploring Qlik Cloud analytics content. Connect to your Qlik Cloud tenant to search across dimensions, measures, and expressions in all your applications.
# Clone the repository
git clone https://github.com/sm-qlik/analytics-notebook-svelte.git
cd analytics-notebook-svelte
# Install dependencies
npm install
Start the development server:
npm run dev
Open http://localhost:3000 in your browser.
Create a production build:
npm run build
Preview the production build locally:
npm run preview
The app is configured for static deployment (e.g., GitHub Pages).
Deploy to GitHub Pages:
npm run publish
This runs npm run build followed by npm run deploy, which uses gh-pages to publish the build directory.
your-tenant.us.qlikcloud.com or your-tenant.eu.qlikcloud.com| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run preview |
Preview production build |
npm run check |
Run Svelte type checking |
npm run check:watch |
Run type checking in watch mode |
npm run format |
Format code with Prettier |
npm run lint |
Check code formatting |
npm run publish |
Build and deploy to GitHub Pages |
npm test |
Run unit tests with Vitest (watch mode) |
npm run test:unit |
Run unit tests with Vitest |
src/
├── lib/
│ ├── assets/ # Static assets (favicon, logos, images)
│ ├── components/ # Svelte UI components (search, filters, displays, indicators)
│ ├── stores/ # Svelte stores for state management (authentication)
│ ├── utils/ # Utility functions (Qlik auth, engine API, table helpers)
│ └── index.ts # Library exports
├── routes/ # SvelteKit routes (pages, layouts, OAuth callback)
└── app.* # App configuration files (CSS, TypeScript types, HTML template)