Skip to content

Infomaniak/kpaste

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

775 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infomaniak paste

License Github issues Github fork Github stars dependencies devdependencies

Infomaniak Paste is a 100% secure solution for transferring your encrypted messages to all your contacts.

The data are encrypted and decrypted directly in your Internet browser via the 256-bit AES protocol using the Galois Counter mode.

install

export VITE_WEB_COMPONENT_ENDPOINT="https://web-components.storage.infomaniak.com/next/init.js"
export VITE_WEB_COMPONENT_API_ENDPOINT="https://welcome.infomaniak.com"
export VITE_SHOP_ENDPOINT="https://shop.infomaniak.com"
nvm use 19
npm i

build dev

npm start

build prod

npm run build

k8s

folder kubernetes

docker

folder docker

cypress test

see cypress folder

CI

  • linter
  • dependency check
  • cypress
  • docker image (nginx)
  • docker image check

precommit hook

there is a precommit hook based on eslint check

common errors

localhost don't work because of https

this plugin automatically enables HTTPS for Vite development servers by generating self-signed SSL certificates.

npm install -D @vitejs/plugin-basic-ssl\n

in vite.config.ts

add BasicSsl :

import basicSsl from '@vitejs/plugin-basic-ssl'

defineConfig plugin :

  plugins: [
    react(),
    basicSsl({
      name: 'test',
      domains: ['*.custom.com'],
      certDir: '/Users/.../.devServer/cert'
    })
  ],

About

Infomaniak paste

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •