Klip: Kutt like it's perfect. An easy to use self-hosted URL shortener. https://uwu.ryukyu/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

75 lines
1.7 KiB

  1. # App port to run on
  2. PORT=3000
  3. # The domain that this website is on
  4. SITE_NAME="Klip"
  5. # The domain that this website is on
  6. DEFAULT_DOMAIN="localhost:3000"
  7. # Generated link length
  8. LINK_LENGTH=6
  9. # Postgres database credential details
  10. DB_HOST=localhost
  11. DB_PORT=5432
  12. DB_NAME=postgres
  13. DB_USER=
  14. DB_PASSWORD=
  15. DB_SSL=false
  16. # ONLY NEEDED FOR MIGRATION !!1!
  17. # Neo4j database credential details
  18. NEO4J_DB_URI="bolt://localhost"
  19. NEO4J_DB_USERNAME=neo4j
  20. NEO4J_DB_PASSWORD=BjEphmupAf1D5pDD
  21. # Redis host and port
  22. REDIS_HOST="127.0.0.1"
  23. REDIS_PORT=6379
  24. REDIS_PASSWORD=
  25. # The daily limit for each user
  26. USER_LIMIT_PER_DAY=50
  27. # Create a cooldown for non-logged in users in minutes
  28. # Set 0 to disable
  29. NON_USER_COOLDOWN=0
  30. # Max number of visits for each link to have detailed stats
  31. DEFAULT_MAX_STATS_PER_LINK=5000
  32. # Enable support for custom domains
  33. CUSTOM_DOMAIN_ENABLED=false
  34. # Use HTTPS for links with custom domain
  35. CUSTOM_DOMAIN_USE_HTTPS=false
  36. # IP address to direct custom domains to
  37. CUSTOM_DOMAIN_IP=
  38. # A passphrase to encrypt JWT. Use a long and secure key.
  39. JWT_SECRET=securekey
  40. # Admin emails so they can access admin actions on settings page
  41. # Comma seperated
  42. ADMIN_EMAILS=
  43. # Google Cloud API to prevent from users from submitting malware URLs.
  44. # Get it from https://developers.google.com/safe-browsing/v4/get-started
  45. GOOGLE_SAFE_BROWSING_KEY=
  46. # Your email host details to use to send verification emails.
  47. # More info on http://nodemailer.com/
  48. # Mail from example "Klip <support@klip.example>". Leave empty to use MAIL_USER
  49. MAIL_HOST=
  50. MAIL_PORT=
  51. MAIL_SECURE=true
  52. MAIL_USER=
  53. MAIL_FROM=
  54. MAIL_PASSWORD=
  55. # The email address that will receive submitted reports.
  56. REPORT_EMAIL=
  57. # Support email to show on the app
  58. CONTACT_EMAIL=