All Projects → zws-im → Zws

zws-im / Zws

Licence: apache-2.0
Shorten URLs using invisible spaces.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Zws

Pg chameleon
MySQL to PostgreSQL replica system
Stars: ✭ 274 (-64.87%)
Mutual labels:  database-migrations, postgres
Posthog
🦔 PostHog provides open-source product analytics that you can self-host.
Stars: ✭ 5,488 (+603.59%)
Mutual labels:  heroku, postgres
Devlopr Jekyll
Build and Deploy your Static Site 🚀 using this beautiful Jekyll Framework/Theme built for Creatives
Stars: ✭ 309 (-60.38%)
Mutual labels:  heroku, hacktoberfest
throw-me
A url shortener made with nextjs and postgresql database operated with Prisma
Stars: ✭ 34 (-95.64%)
Mutual labels:  url-shortener, prisma
Passwordpusher
🔐 PasswordPusher is an application to securely communicate passwords over the web. Passwords automatically expire after a certain number of views and/or time has passed.
Stars: ✭ 484 (-37.95%)
Mutual labels:  heroku, hacktoberfest
boilerplate
Fullstack boilerplate using Typescript, React, Node & GraphQL
Stars: ✭ 738 (-5.38%)
Mutual labels:  postgres, prisma
Deno Nessie
A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Stars: ✭ 381 (-51.15%)
Mutual labels:  hacktoberfest, postgres
Prisma
Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite & MongoDB (Preview)
Stars: ✭ 18,168 (+2229.23%)
Mutual labels:  prisma, postgres
Graphql Engine
Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
Stars: ✭ 24,845 (+3085.26%)
Mutual labels:  hacktoberfest, postgres
Check postgres
Nagios check_postgres plugin for checking status of PostgreSQL databases
Stars: ✭ 438 (-43.85%)
Mutual labels:  hacktoberfest, postgres
graphql-to-sql
GraphQL model to SQL
Stars: ✭ 13 (-98.33%)
Mutual labels:  postgres, prisma
Shlink
The definitive self-hosted URL shortener
Stars: ✭ 727 (-6.79%)
Mutual labels:  url-shortener, hacktoberfest
migrant lib
Embeddable migration management
Stars: ✭ 22 (-97.18%)
Mutual labels:  postgres, database-migrations
Yii2 Migration
Yii 2 Migration Creator And Updater
Stars: ✭ 262 (-66.41%)
Mutual labels:  hacktoberfest, database-migrations
Prisma Docs Generator
Prisma generator for automatically generating documentation reference from the Prisma schema.
Stars: ✭ 91 (-88.33%)
Mutual labels:  prisma, hacktoberfest
Parse Server
API server module for Node/Express
Stars: ✭ 19,165 (+2357.05%)
Mutual labels:  hacktoberfest, postgres
Urlhub
URL shortener web application based on the Laravel PHP Framework.
Stars: ✭ 217 (-72.18%)
Mutual labels:  url-shortener, hacktoberfest
Azurlshortener
An simple and easy Url Shortener
Stars: ✭ 247 (-68.33%)
Mutual labels:  url-shortener, hacktoberfest
Tilex
Today I Learned
Stars: ✭ 418 (-46.41%)
Mutual labels:  heroku, hacktoberfest
Tenanti
[Package] Multi-tenant Database Schema Manager for Laravel
Stars: ✭ 525 (-32.69%)
Mutual labels:  hacktoberfest, database-migrations

Zero Width Shortener (ZWS)

Number of shortened URLs Number of visited URLs ZWS version

Shorten URLs with invisible spaces.

Or, configure your own instance to use any other kinds of characters.

Contributors

Code Contributors

This project exists thanks to all the people who contribute.

Special thanks to Jaex for integrating ZWS into ShareX.

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

Status page

A status page for the official zws.im instance of ZWS is available at status.zws.im.

Self-hosting

Heroku

Deploy to Heroku

Running an instance of ZWS on Heroku is the easiest way to self-host. You can also stay totally within the free limits of both the web process and the Heroku Postgres database. Note that the Hobby Dev (free) plan of Heroku Postgres has a row limit of 10,000, which might not be enough for your use case. Consider using the API key feature of ZWS to restrict access to your instance.

Docker Compose

  1. Clone the repository
  2. Copy db.example.env to db.env and fill in the values
  3. Copy example.env to .env and update the DATABASE_URL environment variable to match the values in db.env
  4. Run docker volume create --name=zws-postgres-storage
  5. Run docker-compose up -d (this will automatically apply database migrations)

Database migrations

After you create an app using the above button you'll need to run the database migrations before shortening any URLs. These are done automatically, but manual usage may be required when upgrading versions.

This can be done easily through Docker Compose by running the following commands:

docker volume create --name=zws-postgres-storage
docker-compose up migration

Even if your database isn't being run through Docker Compose you'll still need to create the volume and start the db service. You can delete the volume right after. If you know a better way to do this, please open a pull request!

Heroku Postgres

If you are hosting your instance on Heroku, migrations are automatically applied. If you need to manually apply migrations or are only using Heroku for your database you'll need the credentials for your database:

  1. Get the Heroku Postgres connection URI from
  2. Create a .env file and enter in the connection URI

Example:

DATABASE_URL=postgresql://johndoe:[email protected]:5432/mydb?schema=public

Afterward you can run the migration commands shown above.

Badges

ZWS instances expose two routes that implement the Shields endpoint schema:

Image Route Description Example
Number of shortened URLs /stats/shields/urls Number of shortened URLs https://img.shields.io/endpoint?url=https://api.zws.im/stats/shields/urls
Number of visited URLs /stats/shields/visits Number of visited URLs https://img.shields.io/endpoint?url=https://api.zws.im/stats/shields/visits
ZWS version /stats/shields/version ZWS version https://img.shields.io/endpoint?url=https://api.zws.im/stats/shields/version
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].