IT WON'T WORK ANYMORE, PLEASE CONSIDER BUYING A HACKER PLAN INSTEAD.
repl.uptime
repl.uptime is a Go package that keeps your Replit (repl) project continuously uptimed, ensuring 24/7 availability with no rest. It is a Go version inspired by the npm package repl.uptime.
Usage
To use repl.uptime, follow these two simple steps:
- Create an
uptime.json
file with your desired options. For example:
{
"debug": false,
"api": true,
"port": "3000",
"path": "/"
}
- Import the package in your Go code and call
replup.Uptime()
in your main()
function:
package main
import (
"github.com/abdlmutii/repl.uptime"
)
func main() {
replup.Uptime()
}
Installation
To install the repl.uptime library, follow these steps:
- Open your command line interface and run the following command:
go get github.com/abdlmutii/repl.uptime
- Import the library in your Go code using the import statement:
import "github.com/abdlmutii/repl.uptime"
License and Credits
repl.uptime is licensed under the MIT License. See the LICENSE file for details.
Credits go to Abdlmu'tii for creating the Go version of repl.uptime and to Shuruhatik for maintaining the original npm package and the uptime API.
Contact
For any inquiries or help, you can reach us:
Feel free to contact us with any questions, suggestions, or issues you may have.