immich/web
Elliot Lee 81e2b18531
Add support for many missing raw formats (#2834)
* Allow upload of AVIF and x-canon-cr2 mime types

* Allow generic RAW file mime type image/x-dcraw

* Another place to uploading avif and cr2

* Determine mime type for .avif and .cr2 files correctly

* Update asset-upload.config.spec.ts for CR2 and AVIF files

* More changes for AVIF & CR2 files

Found some other places where avif and cr2 should be mentioned.

* Merge in upstream changes

* Allow uploading and using most of the formats that libraw supports

* Add raw files to allowable mobile uploads

* Update asset-upload.config.spec.ts

Fix errant commas.

* Update asset-utils.ts

Remove duplicate entry in hash table.

* Fix missing k25 mime type in server upload check.
Fix prettier formatting message in web file-uploader.

* fix test

---------

Co-authored-by: Elliot Lee <sopwith@gmail.com>
Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
2023-06-19 21:10:29 -05:00
..
__mocks__ feat(web): theme/locale preferences and improve SSR (#1832) 2023-02-22 11:53:08 -06:00
src Add support for many missing raw formats (#2834) 2023-06-19 21:10:29 -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 chore(web): switch to eslint-plugin-svelte package (#2467) 2023-05-18 10:43:09 -05: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 chore(deps): update web (#2806) 2023-06-16 12:45:05 -05: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 chore(web): fade between thumbhash and thumbnail (#2856) 2023-06-19 16:21:06 -05:00
package.json chore(web): fade between thumbhash and thumbnail (#2856) 2023-06-19 16:21:06 -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 fix(web): layout spacing when zooming (#2452) 2023-05-17 10:44:15 -05:00
tsconfig.json chore(web): improve type checking (#2644) 2023-06-02 08:55:08 -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.