SvelteKit + Skeleton UI app to easily summarize large text files with OpenAI.
Go to file
Silas dc12f6c58e
add license
2023-04-10 09:55:04 -04:00
.vscode add chat and about page, style everything, let user upload a file and have server return string array of the file's text contents chunked by 4k characters 2023-04-08 19:30:34 -04:00
src display error in alert for debugging 2023-04-10 00:34:25 -04:00
static Initial commit 2023-04-08 16:33:51 -04:00
tests Initial commit 2023-04-08 16:33:51 -04:00
.eslintignore Initial commit 2023-04-08 16:33:51 -04:00
.eslintrc.cjs Initial commit 2023-04-08 16:33:51 -04:00
.gitignore Initial commit 2023-04-08 16:33:51 -04:00
.npmrc try adding font awesome pro 2023-04-09 18:15:34 -04:00
.prettierignore Initial commit 2023-04-08 16:33:51 -04:00
.prettierrc Initial commit 2023-04-08 16:33:51 -04:00
LICENSE.md add license 2023-04-10 09:55:04 -04:00
README.md update README.md 2023-04-10 09:52:56 -04:00
package-lock.json reset package lock 2023-04-09 17:55:53 -04:00
package.json get urls working with mozilla's readability library 2023-04-09 17:50:42 -04:00
playwright.config.ts Initial commit 2023-04-08 16:33:51 -04:00
postcss.config.cjs Initial commit 2023-04-08 16:33:51 -04:00
svelte.config.js add vercel adapter 2023-04-08 19:49:15 -04:00
tailwind.config.cjs add chat and about page, style everything, let user upload a file and have server return string array of the file's text contents chunked by 4k characters 2023-04-08 19:30:34 -04:00
tsconfig.json Initial commit 2023-04-08 16:33:51 -04:00
vite.config.ts Initial commit 2023-04-08 16:33:51 -04:00

README.md

Developing

Create a .env file in the root of the project with the following:

OPENAI_API_KEY="your-secret-key"
FONTAWESOME_NPM_AUTH_TOKEN="your-secret-key"

Optionally, you can remove the .npmrc file and the fontawesome packages. For some reason Vercel refuses to use the free NPM registries for fontawesome, so you can choose a different icon file/library for the trash can on the main screen if you don't have a paid Font Awesome account.

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.