https://github.com/paripsky/freshlinks
https://github.com/paripsky/freshlinks
deno fresh preact
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/paripsky/freshlinks
- Owner: paripsky
- License: mit
- Created: 2024-03-05T06:53:55.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-22T10:52:32.000Z (almost 2 years ago)
- Last Synced: 2025-02-10T22:35:47.534Z (11 months 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
[](https://opensource.org/licenses/MIT)


#
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.