Code Monkey home page Code Monkey logo

markdown-videos's Introduction

Hi there, I'm Jรธrgen - aka Snailedlt ๐Ÿ‘‹

ABOUT ME

I'm a Software Developer , It-Consultant and Eternal Student!

  • ๐ŸŒฑ Iโ€™m currently learning NextJS and Payload CMS.
  • โšก Fun fact: I love snowskating (ask me about it), snowboarding, skiing and playing beach volleyball
  • ๐Ÿฅ… 2024 Goals:
    • ๐Ÿ“„ Create my own website and portfolio
    • ๐Ÿ’ป Learn Sveltekit
    • ๐Ÿ›ธ Create at least one new open source project
Previous goals
  • ๐Ÿฅ… 2023 Goals:

    • ๐Ÿ“„ Create my own website and portfolio
    • ๐Ÿ’ป Learn Django
    • ๐Ÿ’ป Learn the basics of Rust
    • ๐Ÿ’ป Learn Sveltekit
    • ๐Ÿ›ธ Create at least one new open source project
  • ๐Ÿฅ… 2022 Goals:

    • ๐ŸŽฎ Learn Game Development (Love2D, Unreal/Unity/Godot, Blender)
    • ๐Ÿ’ป Become proficient with C#
    • ๐Ÿ’ป Become proficient with Svelte and NodeJS
    • ๐Ÿ›ธ Contribute more to Open Source projects
    • ๐Ÿ“„ Create my own website and portfolio

-----------------------------------------------------

CONNECT WITH ME

MY OTHER PLATFORMS

-----------------------------------------------------

MY SKILLS
Languages, Frameworks and Databases are ordered by proficiency (highest to lowest)

Languages

JavaScript
JavaScript
TypeScript
TypeScript
Groovy
Groovy
Java
Java
Python
Python
Bash
Bash
HTML5
HTML5
CSS3
CSS3
Kotlin
Kotlin
PHP
PHP
C#
C#
Lua
Lua

Frameworks and Libraries

Svelte
Svelte
Django
Django
Node.js
Node.js
FastAPI
FastAPI
Discord.js
Discord.js
Vue
Vue
Laravel
Laravel
React
React
Meteor
Meteor

Databases

Azure SQL Database
Azure SQL Database
MariaDB
MariaDB
MySQL
MySQL
PostgreSQL
PostgreSQL
SQLite
SQLite
MongoDB
MongoDB

IDE's and Code Editors

VSCode
Visual Studio Code
Android Studio
Android Studio
PHPStorm
PHPStorm
IntelliJ
IntelliJ
WebStorm
WebStorm
Netbeans
Netbeans
Visual Studio
Visual Studio

Tools

Git
Git
GitHub
GitHub
GitLab
GitLab
BitBucket
BitBucket
Azure DevOps
Azure DevOps
Azure
Azure
Azure Data Factory
Azure Data Factory
Azure Logic Apps
Azure Logic Apps
Power BI
Power BI
Jira
Jira
Confluence
Confluence
Trello
Trello
IFTTT
IFTTT
Jenkins
Jenkins
Maven
Maven

Operating Systems

Windows 10
Windows 10
Linux
Linux
Ubuntu
Ubuntu

Game Development

Godot
Godot
Unity
Unity
LOVE2D
LOVE2D
MY STATS

Check out my wakatime profile to see more stats

Snailedlt's GitHub Stats

Code Time

Profile Views

Lines of code

I'm an Early ๐Ÿค

๐ŸŒž Morning                5097 commits        โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   20.28 % 
๐ŸŒ† Daytime                13971 commits       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   55.58 % 
๐ŸŒƒ Evening                4513 commits        โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   17.95 % 
๐ŸŒ™ Night                  1555 commits        โ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   06.19 % 

๐Ÿ“… I'm Most Productive on Friday

Monday                   4745 commits        โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   18.88 % 
Tuesday                  3851 commits        โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   15.32 % 
Wednesday                4979 commits        โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   19.81 % 
Thursday                 4189 commits        โ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   16.67 % 
Friday                   6006 commits        โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   23.89 % 
Saturday                 457 commits         โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   01.82 % 
Sunday                   909 commits         โ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   03.62 % 

๐Ÿ“Š This Week I Spent My Time On

๐Ÿ’ฌ Programming Languages: 
React                    1 hr 18 mins        โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   50.98 % 
TypeScript               44 mins             โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   29.01 % 
Other                    30 mins             โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘โ–‘   20.00 % 

๐Ÿ”ฅ Editors: 
VS Code                  2 hrs 34 mins       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ   100.00 % 

๐Ÿ’ป Operating System: 
Windows                  2 hrs 34 mins       โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ   100.00 % 

Last Updated on 20/06/2024 12:38:25 UTC

-----------------------------------------------------

ko-fi

markdown-videos's People

Contributors

dependabot[bot] avatar lunatic-fox avatar panquesito7 avatar snailedlt 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

markdown-videos's Issues

Add linting and autoformatter

ruff seems like the best python linter out there which can potentially be used as an autoformatter as well.
If not, Black might be the best autoformatter that's similar to prettier.

Once a linter and autoformatter is added the workflowscript to test the api can be updated to this:

name: Python package

on: [push]

jobs:
  build:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

    steps:
      - uses: actions/checkout@v3
      - name: Set up Python ${{ matrix.python-version }}
        uses: actions/setup-python@v4
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install dependencies
        run: |
          python -m pip install --upgrade pip
          if [ -f api/requirements.txt ]; then pip install -r api/requirements.txt; fi
      - name: Lint with ruff
        run: |
          # stop the build if there are Python syntax errors or undefined names
          ruff --format=github --select=E9,F63,F7,F82 --target-version=py37 .
          # default set of ruff rules with GitHub Annotations
          ruff --format=github --target-version=py37 .
      - name: Test with pytest
        run: |
          pytest -v

Based on: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#using-the-python-starter-workflow

requirements.txt also needs to be updated with the linter and autoformatter that is chosen

Add theme switcher

Add theme switcher to switch between themes.
Proposed themes:

  • Dark
  • Light
  • System (Set the theme based on what the system's theme is)

Related to #136

Add a landing page for the root endpoint

I'm thinking it should contain the following:

  • Links to:
    • GitHub Repo
    • GitHub Issues
    • Swagger docs
    • Redoc docs
  • An input field where you can convert from a link into markdown
    • Validate that the URL is a valid http or https URL
    • Validate that the URL is for one of the supported platforms
    • Display error messages on API error responses
    • Highlight invalid fields
  • A preview image of the thumbnail that links to the video
  • A codeview that shows code in different languages
    • Markdown
    • HTML

Eventually I also want to add:

  • Support for animated gif
  • Expandable section with optional inputs
    • height
    • width
    • image type
    • gif?
      • length
  • Theming
    • Dark Mode
    • Light Mode
    • System

Fix blurry-image issue after scaling up

After setting the width and height parameters to higher-than-default values, the image appears somewhat blurry. For example, even though my YouTube video has a maximum resolution of 1080p, when I set width and height to 960 and 540, respectively (https://markdown-videos.vercel.app/youtube/MtSMa02I1Co?width=960&height=540), the image is blurry:

I don't know if it's intentional or not. But there should be a way to make the image nonblurry. For example, https://img.youtube.com/vi/MtSMa02I1Co/maxresdefault.jpg would generate the maximum-resolution, nonblurry image.

As a side note (in addition to this blurry issue), perhaps you can consider grabbing the maximum-resolution width and height values from, for example, https://img.youtube.com/vi/{video_id}/maxresdefault.jpg, and use those values as the default values? And/or use the image from https://img.youtube.com/vi/{video_id}/maxresdefault.jpg and add the play button on top?

Create a logo

I need a logo for the project! Do you wanna make it?

The logo should be related to both Markdown and Videos... Other than that I'm open to anything

Add tests for /apps/web

Not sure how or what to test. But at the very least we need some tests to make sure an image along with code is shown when a valid youtube video url and title is submitted.

Add CHANGELOG.md

related to #72

Should contain all the changes between each version, as well as the contributor who did the change.

If it's not too much work it would be nice to automate this too. Maybe we can just grab the version from the main package.json, and show a list of commits.

Examples

I really like these changelogs:

What should the changelog include?

  • Release version with link to release
  • Release date
  • A list of commits containing the following:
    • commit hash with link
    • commit message
    • link to pr

Example

v0.1.0 - August 9th, 2023

Commits

  • 40d568f Minor documentation changes (#92)
    • Update urls in root README

    • update /apps/api README with new api url

    • Add .env documentation

    • Add vscode recommendation

    • Edit apps/web readme

    • Add deployment badge for both api and web

v0.2.0 - September 3rd, 2023

...

Create a script that updates the version

Create a script that updates the version of either the API or the website.
See #72 for where the version needs to be updated

The script should take the following arguments:

  • app
    • Description: Which app do you want to update? /web or /api
    • Accepted arguments:
      • /
      • All subfolders of /apps. For example /web or /api
    • Note: If the app is from /apps the / root version will also be updated
  • version-type
    • Description: Is it a major, minor or patch version?
    • Accepted values: major, minor, patch

Put code in card where you can toggle between HTML and Markdown

`pnpm lint:github` fails in GitHub workflow

What?

The workflow fails with a linting error on the web package, however it works fine locally without any lint errors.

This happens every time the workflow runs... see for example this workflow run from #195

Notice the errors when running the svelte:check command. Those don't show up when running locally.

Why?

No idea

What have I tried?

  1. Re-running the workflow
  2. Updating the node version to the same as my local node version (19.9.0)
  3. Removing the workflow cache from here: https://github.com/snailedlt/markdown-videos/actions/caches

Decide on a project and domain name

Decide what the project and domain name should be.

Suggestions:

I highlighted the ones I prefer

  • videos-in-markdown
  • video-to-markdown
  • video-to-markdown-api
  • video-markdown-embedder
  • markdown-videos
  • markdownvideos
  • markdown-video-embedder
  • video2md
  • video2markdown
  • mdvideos
  • md-videos
  • play-button-adder
  • markdown-video-thumbnails
  • video-thumbnail-api

Update `test_and_lint_api.yml` to use turborepo

The workflow should have the following dependencies pre-installed:

  • pnpm
  • python
  • pipenv

and run the following commands from the root directory:

pnpm install
pnpm api:install
pnpm build
pnpm test
pnpm lint

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.