https://github.com/kj415j45/worker-log
Online Log Service.
https://github.com/kj415j45/worker-log
cloud-native-api cloud-native-applications cloudflare-workers file-sharing free hosting logger logging serverless
Last synced: 10 months ago
JSON representation
Online Log Service.
- Host: GitHub
- URL: https://github.com/kj415j45/worker-log
- Owner: kj415j45
- License: mit
- Created: 2023-08-17T09:46:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-05-19T01:15:03.000Z (11 months ago)
- Last Synced: 2025-06-11T23:08:25.210Z (10 months ago)
- Topics: cloud-native-api, cloud-native-applications, cloudflare-workers, file-sharing, free, hosting, logger, logging, serverless
- Language: TypeScript
- Homepage: https://log.kj415j45.space
- Size: 126 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Online Log Service
This project provides a simple way to log messages to a remote server. It is intended to be used in a development environment where you want to log messages from your application to a remote server. But you don't want to setup a full blown logging system like logstash or graylog.
It is not recommended to use this in a production environment, as it does not provide some key feature that they have. All depends on you.
## Run without setup
This project has a public deployment at [Cloudflare Workers](https://log.kj415j45.space/). API document can be found at [openapi.json](./openapi.json).
Notes: Official deployment is not guaranteed to be available at all time. And configured with 1 day expiry cleaning up. It is recommended to setup your own deployment if you needed more reliability.
## Setup your own
At your Cloudflare account, create a new worker and a D1 database named `log`.
Create the `wrangler.toml` file at repository's root with your own configuration, the [example file](./wrangler.toml.example) could help you configure it.
Then you can deploy it with wrangler. Run `npm run deploy`. Check [wrangler's documents](https://developers.cloudflare.com/workers/wrangler/commands/#deploy) for more details.
## LICENSE
[MIT](./LICENSE)