1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00
immich/web
Matthias Rupp 65daf342df
feat(web): Global map showing all assets with geo information (#2355)
* First crude implementation of the global asset map in web

* Use single DOM element for all markers

* Minor layout changes

* Refactor

* Add asset viewer

* Add API endpoint that returns only assets with location information (Thanks @EPP100)

* Remove sidebar icon flip

* Add dark theme support

* Center map to most recent asset

* Allow cluster viewing

* Fix linter errors

* Add newlines

* Fix ts errors

* Fix eslint error

* Run prettier

* Server code style

* Fix openapi mobile code generation issues

* Map markers test

* fix: Support video thumbnails

* Update API

* Review suggestions

* Review suggestions

* Linter error

* Chage mapMarker endpoint to map-marker

* Clean up leaflet imports
2023-05-05 20:33:30 -05:00
..
__mocks__ feat(web): theme/locale preferences and improve SSR (#1832) 2023-02-22 11:53:08 -06:00
src feat(web): Global map showing all assets with geo information (#2355) 2023-05-05 20:33:30 -05:00
static feat(web): immich as webapp, add apple icons and manifest file (#2310) 2023-04-23 20:30:38 -05:00
.dockerignore Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
.eslintignore Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
.eslintrc.cjs Fix web lint issues 2022-09-08 17:30:49 +02:00
.gitignore Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
.npmrc Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
.prettierignore feat(web): More localisation (#1441) 2023-01-27 23:57:25 -06:00
.prettierrc Add ablum feature to web (#352) 2022-07-15 23:18:17 -05:00
babel.config.cjs Add web test setup (#597) 2022-09-07 05:20:19 -05:00
Dockerfile fix(server): Revert alpine version to fix Sharp dependencies not installed correctly (#2172) 2023-04-05 02:57:30 +00:00
entrypoint.sh fix(web): remove protocol header (#2068) 2023-03-24 07:20:06 -05:00
how-to-scroll-like-google.md Feature - Implemented virtual scroll on web (#573) 2022-09-04 08:34:39 -05:00
jest.config.mjs feat(web): make assets cachable (#1724) 2023-02-10 16:01:35 -06:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
package-lock.json feat(web): Global map showing all assets with geo information (#2355) 2023-05-05 20:33:30 -05:00
package.json feat(web): Global map showing all assets with geo information (#2355) 2023-05-05 20:33:30 -05:00
postcss.config.cjs Use cookies for client requests (#377) 2022-07-26 12:28:07 -05:00
README.md Add web interface with admin functionality (#167) 2022-05-21 02:23:55 -05:00
svelte.config.js feat(web): Update to latest version of SvelteKit (#705) 2022-09-16 23:13:22 -05:00
tailwind.config.cjs feat(web) dark mode (#867) 2022-10-26 11:10:48 -05:00
tsconfig.json Add web test setup (#597) 2022-09-07 05:20:19 -05:00
vite.config.js chore: run web (only) with remote backend (#2196) 2023-04-07 20:44:56 -05:00

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm init svelte

# create a new project in my-app
npm init svelte my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.