2024-09-30 01:11:42 -05:00
2024-09-30 01:06:57 -05:00
2024-09-08 07:15:43 -05:00
2024-09-04 22:33:20 -05:00
2024-09-30 00:40:54 -05:00
2024-09-30 00:40:54 -05:00
2024-09-30 00:40:54 -05:00
2024-09-30 01:11:42 -05:00
2024-09-30 00:40:54 -05:00

Filething

dependencies:

  • bun
  • go

Getting started

To run filething, run

bun --cwd=./ui install
bun --bun --cwd=./ui run generate
go build -tags netgo -ldflags=-s
DB_HOST=localhost:5432 DB_NAME=filething DB_USER=postgres STORAGE_PATH=data ./filething

Or if you want to run filething with SSR (you will need node on the target server), run

bun --cwd=./ui install
bun --bun --cwd=./ui run build
go build -tags netgo,ssr -ldflags=-s
DB_HOST=localhost:5432 DB_NAME=filething DB_USER=postgres STORAGE_PATH=data ./filething

Contributing

To run filething in dev mode with a hot reloading Ui server and auto rebuilding backend server, run

DB_HOST=localhost:5432 DB_NAME=filething DB_USER=postgres STORAGE_PATH=data CompileDaemon --build="go build -tags netgo,dev -ldflags=-s" --command=./filething --exclude-dir=data/ --exclude-dir=ui/ --graceful-kill
Description
Languages
Vue 68%
Go 26.7%
TypeScript 2.9%
CSS 1.6%
JavaScript 0.7%
Other 0.1%