Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frione/js-css-feature-announces
https://github.com/frione/js-css-feature-announces
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/frione/js-css-feature-announces
- Owner: FriOne
- Created: 2023-12-04T09:04:29.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-18T16:05:22.000Z (about 1 year ago)
- Last Synced: 2024-10-15T04:45:24.713Z (3 months ago)
- Language: TypeScript
- Size: 161 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# I CAN USE
Service provides updates about features that passes a condition (for now it is 3 percent global availability).
This repo contains two parts: script to update data and get feature that pass a condition, and also NextJS app to show these updates.## Getting Started
Before you start, create `.env.local` from `.env.example`
The project uses MongoDB, I have plans to add dev docker images, but now you need to install it locally.
So, you need to set `MONGODB_URI` variable inside `.env.local`.First part is a [Next.js](https://nextjs.org/) project, to start development run:
```bash
npm run dev
```The second one is a console app that is made with [yargs](https://www.npmjs.com/package/yargs).
```bash
npx ts-node scripts updateUsageData --help
```
To send telegram notifications set `BOT_API_TOKEN` and `TELEGRAM_CHAT_ID` variables: