Git Product home page Git Product logo

longtweet.io's Introduction

Donate to the ACLU | Shutdown ICE


Hi there 👋😄,

My name is Rico Kahler (he/him) and I build consumer-facing websites and apps as well as developer-facing tools.

I care deeply about UX, DX, performance, a11y, and SEO. I specialize in the tooling + React space and also work with serverless architectures and infrastructures using platforms like Vercel and frameworks like Serverless.

Most of my open source these days revolves around Next.js and Sanity.

Checkout my projects 👇 or say hi if you feel like it.

💛 JavaScript

✔️ Next.js

🌶 Sanity

💻 Apps

⚛️ React

  • hacker-ui — a work-in-progress component library
  • flair — a work-in-progress CSS-in-JS lib for React
  • hocify — converts hooks to HOCs for compatibility with class-based components.
  • react-mounting-transition — helps you add transitions to components you dynamically mount to the DOM

longtweet.io's People

Contributors

dependabot[bot] avatar ricokahler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tregsthedev

longtweet.io's Issues

Hashtags behavior

Longtweet is a separate service from twitter but it's tempting to put hash tags into the body of the longtweet. In those cases the hash tags should pre-populate in the tweet that contains the link.

  • populate the tweet with hashtags from the longtweet body
  • linkify hashtags in the longtweet body so they they go to a search page on twitter
  • linkify@ mentions

Migrate to serverless

I've been recently learning the serverless framework and it's clear to me that longtweet should use it. It'll greatly improve the CI/CD and enable automatic updates. This is little work item for myself to get that done but if you'd like to contribute, let me know!

Translations

Longtweet serves globally so I think it would be very beneficial to have translations. This is new to me so it'll take some research on my end but I think it'll make a big difference once done.

Move Database Connector to outside of handler.

const dynamodb = new DynamoDB();

You could pull the creation of your DynamoDB client object to the outside of the handler.

This can be helpful because the code inside the handler runs every time the function is invoked, and the code outside only runs on cold starts. So, you could save on creating a new DB client is subsequent calls if they are happening when the function is warm. (A function goes cold in ~300 seconds I think)

I can fork and make a PR if you like, just don't have the time today

Here is a relevant post about it from the AWS docs: link

I recommend something along the lines of:

var dynamodb = new DynamoDB()
const handler: LambdaHandler = async (event) => {
...
//const dynamodb = new DynamoDB();

 const result = await dynamodb
...

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.