Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paripsky/freshlinks
https://github.com/paripsky/freshlinks
deno fresh preact
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/paripsky/freshlinks
- Owner: paripsky
- License: mit
- Created: 2024-03-05T06:53:55.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-22T10:52:32.000Z (8 months ago)
- Last Synced: 2024-10-16T11:25:33.212Z (30 days ago)
- Topics: deno, fresh, preact
- Language: TypeScript
- Homepage: https://freshlinks.deno.dev
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![GitHub deployments](https://img.shields.io/github/deployments/paripsky/freshlinks/Production?label=Production%20build)
![Static Badge](https://img.shields.io/badge/Fresh-yellow?logo=deno&label=Deno)# FreshLinks
FreshLinks is a short link generator with analytics, built using Fresh and Deno.
## 🍋 What is FreshLinks?
FreshLinks allows you to easily generate short links for URLs along with
analytics to track their usage. It's built on Fresh, a web framework for Deno,
providing a modern and efficient development experience.## 🛠️ How to Run in Development
To run FreshLinks in development mode, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/paripsky/FreshLinks.git
```2. Navigate to the project directory:
```bash
cd FreshLinks
```3. Create a `.env` file in the root directory and set the following environment
variables:
```
GITHUB_CLIENT_ID=your_github_client_id
GITHUB_CLIENT_SECRET=your_github_client_secret
```4. Start the development server:
```bash
deno task start
```## 🚧 How to Build
To build FreshLinks, simply run:
```bash
deno task build
```## 🔑 GitHub OAuth Setup
To enable GitHub authentication, you need to set up a GitHub OAuth App. Follow
the instructions
[here](https://docs.github.com/en/developers/apps/creating-an-oauth-app).## 🌟 Resources
- [Fresh](https://fresh.deno.dev/)
- [Deno Deploy](https://deno.com/deploy)
- [Deno KV](https://deno.com/kv)## 📝 License
This project is licensed under the MIT License - see the [LICENSE](LICENSE.md)
file for details.