+
Skip to content

Simple online paste bin written in Golang, provides both API and webpage styled by Semantic-UI

Notifications You must be signed in to change notification settings

CornWorld/HadInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HadInfo

Simple online paste bin written in golang, provides both api and webpage styled by Semantic-UI

Screenshots

console homePage addPastePage viewPastePage

Webpages

Note: The webpages should be put into ./page

  • View paste page /v/<pasteId>
  • Add paste page /add

TODO

  • Support more meta info
  • Add user system
  • Add input check
  • Refine the webpage

Config

HadInfo will read the hadInfo.ini in the running folder.
But it could be change anyway by command arg config.

Usage:

./hadInfo -config ./anotherConfig.ini

Config file content example (also the default value):

[db]
host = localhost
port = 5432
user = postgres
password = hadInfo
sslMode = disable
name = hadInfo

About

Simple online paste bin written in Golang, provides both API and webpage styled by Semantic-UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载