Skip to content

A Lightweight Go server that can host files and give unique url which you can access from anywhere.

Notifications You must be signed in to change notification settings

dwivedi-ritik/file-hoster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A File Hosting server written in Go

A lightweight file hosting server that can host your file.

$ curl -F "data=@yourfilename" 

this will respond with the unique url.

$ curl -JO "url"

Install

  • if you are on linux machine just run setup.sh.
  • setup will create a database directory at $HOME/.config/filehost/database.db.
  • and add alias to your default shell.
  • or you can build using below commands
$ go build -o filehost main.go

run command filehost in your shell or filehost & for running in background.

TODOS

  • URL Shortner.
  • Once file retrived it should be delete.
  • Set Download count limit.
  • Making it more structured.

About

A Lightweight Go server that can host files and give unique url which you can access from anywhere.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published