Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add engine / interface for short URLs #340

Open
cycomachead opened this issue Jan 23, 2025 · 0 comments
Open

Add engine / interface for short URLs #340

cycomachead opened this issue Jan 23, 2025 · 0 comments

Comments

@cycomachead
Copy link
Member

This will probably be an epic but should be fairly easy...

New Models:
redirects, redirect_data

redirects

  • short_code
  • destination
  • created_at / updated_ad
  • last_edited_by_id (user id FK)
  • id

redirect_data

  • redirect_id
  • accessed_at --> timestamp array
  • page_title?

UI:

  • new/edit redirect pages
  • redirects table
    • Page Title, short url, destination, click count, user name, edit button
  • no show page at first, but eventually a graph of click data.
  • Import page
    • should accept a CSV
    • TBD: How should historical clicks be factored in?

Config:

  • list valid domains
  • list root redirects for each domain

UX enhancements:

  • ensure the redirect action is incredibly fast. Use a background job to update page views
  • Add copy URL buttons
  • Add a button to generate a short URL
  • Support multiple domains?
  • Create an API route (static token?) just for creating URLs
  • Create a user role for redirects if we want to allow others to use this?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant