Codeshare.app A mininal code bin sharing app, I wanted a simple but powerful for devs pastebin so, I created this small tool using monaco editor, I've made is as frictionless as possible, kept the UI similar to VS Code.
- Keyboard shortcuts
- Diff editor
- Refactor (lot of code repeated, didn't think it through) - make common and reuse components and composables
- Sharable diff editor
- File icons (feels like a lot of work)
- Password protected bins (simple password based middleware)
TURSO_DB_TOKEN - Database token
TURSO_DB_URL - Database url
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Start the development server on http://localhost:3000
:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run preview
- Visitor count
- Snippets created count