Amal Shaji
Amal Shaji
Follow
Follow
home
Website
7 posts
@amal_ytics
@amalshaji
Sponsor & Support
Amal Shaji
Sponsor this blog
Hello traveller
Recent articles
Portr: open-source self-hosted tunnel designed for teams
Mar 31, 2024
Portr is an open-source, self-hosted tunnel designed for teams. It lets you expose your local http/tcp connections to the public internet. It uses SSH remote port forwarding under the hood to tunnel connections. https://github.com/amalshaji/portr F...
Generating migrations for gorm with Atlas
Sep 18, 2023
For those unfamiliar with gorm, it is the most popular orm for Go, which lets you define Go structs and work with SQL databases(sqlite, PG, MySQL etc.). Here is an example, type User struct { gorm.Model Name string } db.First(&user, "10") //...
Replacing fastapi's default api docs with elements
Sep 8, 2023
By default, fastapi comes with swagger for API testing and redoc for API documentation. Let's replace them with elements, a pretty API documentation tool. Turn off the defaults Turn off the default documentation by setting it to None app = FastAPI( ...
Changing the default clickhouse server response format to JSON
Jul 16, 2023
The clickhouse http interface uses TSV(tab separated) as the default response format. CREATE TABLE users (uid Int16, name String, age Int16) ENGINE=Memory; INSERT INTO users VALUES (1231, 'John', 33); INSERT INTO users VALUES (6666, 'Ksenia', 48); I...
Recent Sponsors
Be the first one to sponsor Amal Shaji
Become a sponsor