Giter Club home page Giter Club logo

vrite's People

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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vrite's Issues

Feat: Embed X Posts

It would be nice to embed Posts (formerly Tweets) of X (formerly Twitter) and preview them in the editor.

Feat: Gist embeds

It would be a nice to have as an embed option in addition to the already implemented CodePen and CodeSandbox integrations.

This could be fairly easily implemented by having people provide a link and putting it into the following template

<script src="https://gist.github.com/${username}/${id}.js"></script>

Trying to get in touch regarding a security issue

Hello πŸ‘‹

I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@coderbm1) has found a potential issue, which I would be eager to share with you.

Could you add a SECURITY.md file with an e-mail address for me to send further details to? GitHub recommends a security policy to ensure issues are responsibly disclosed, and it would help direct researchers in the future.

Looking forward to hearing from you πŸ‘

(cc @huntr-helper)

Issues with embed input selection in Firefox

Editing source links for youtube or code pen doesn't work well. It seems there no cursor? If I misspell youtube or something, then I pretty much have to delete all the text and re-paste it in. I can't highlight the text or anything either. I would expect this to work like any other text input.

Feat: Changesets

Write a set of changes to a single Changeset before "applying" it.
A Git commit-like concept that helps with:

  • Making edits that should be verified by other members before being applied;
  • Making edits that should trigger certain Webhooks only when applied;
  • General collaboration and work on making various changes simultaneously;

error: vrite-app | No email service configured

I found this project on reddit: https://www.reddit.com/r/selfhosted/comments/16hm2z0/vrite_v020_opensource_collaborative_developer/ and have been following the discussion over there to get started.

I can't seem to get the SMTP service setup. All my docker contaienrs are sending through a postfix running locally which serves as a poroxy so no authentication is needed.

Here is my config:

SMTP_HOST=10.10.10.10
SMTP_PORT=25
#SMTP_USERNAME=
#SMTP_PASSWORD=
SMTP_SECURE=false

However the momnent I try to first register an account I see this error: vrite-app | No email service configured

Request to enable GitHub Private Vulnerability Reporting in vrite repository

Hello! Thank you for developing a great product.

I have found a security issue in vrite.
As a form of reporting this, I find GitHub's private vulnerability reporting feature useful.
However, this feature is disabled in vrite repository.

Is it possible to enable this feature?

Previously, I used to report issues via the huntr platform.
However, there was a recent update to huntr and it seems that repositories not directly related to AI/ML can no longer report issues via huntr.

How do you use the custom data property?

async function createContentPiece(title: string, description: string, body: string, scrappyId: string, date: any) {
    const contentPiece = await vrite.contentPieces.create({
        contentGroupId: process.env.VRITE_CONTENT_GROUP_ID || '',
        title: title,
        description: description,
        content: body,
        tags: [],
        customData: { 
            id: scrappyId,
         },
        members: ["64974cb888e8beebeb2c925f"],
        date: date,
    });
    return contentPiece;
};

In my code, no matter what arrangement I try with the custom data field nothing is showing up in the editor; also no errors are being logged either.

self-hosted: cannot log in

So after a long journey of finally enabling SMTP without authentication, I managed to receive the email to validate my email. I clicked the link, I was told my email is now verified and there was a link to click to visit the dashboard. Clicking that link sends me to http://10.10.10.10:7171/auth and asks me to log in.

Login doesn't work with user/pass. The page accepts my credentials and then redirects me here again: http://10.10.10.10:7171/auth

When I simply visit the login page I already see these errors:

image

I tried logging in via magic link, I receive the login link but upon opening it, I have the exact same behaviour as above with user/pass.

docker compose logs -f does show absolutely no reaction when this happens so I cannot suzpply any logs.

Ability to get plain text of content piece.

I want to get the raw data from </Content>. I have a reading time function in astro that needs the text of the article to be passed in as a string. This is an amazing framework for creating a blog. I've immediately switched over, and it is a breeze to work with.

Kanban: Drag Item into Board Title

Hello!

I'd like to report a quick bug or UX inconvenience. I wanted to sort my Kanban TODO items and so I moved my Item to the very top and dropped it on the title. This did modify the title from TODO to TODORandom ProjectTest?No dateOpen in editor, instead of what I had expected - placing the item at the top of the board.

How to reproduce

Create a board and create a new content piece in it. Move the content piece above the title and drop it. The title has been changed.

Suggested fix

Of course, this could be prevented by just not dragging it up that far, or by locking the board. However, it can occasionally happen that one accidentally drags an item this high up and locking the board may be too limiting. That's why I'd suggest to simply prevent dropping in the Board title.

Feat: Full nestable table content support

Our team has been long looking for a better markdown editor. Specifically, we are looking for one where we can have rich formatting within table cells.

Eg. we often include multi-line code-blocks within our table cells, and this is a feature that's not supported by many of the markdown editors atm, as their data structure doesn't allow for these structures to be nested in eachother.

Would this be something that Vrite might some day support (eg. allow for the nesting of code blocks and other types within tables)?

Gitea/Forgejo support?

Oauth2 login and git repo sync should work similar to Github, would be nice if support for these self-hosted git-forges could be added. Codeberg.org is a public instance with open sign-ups.

Thanks!

Feat: add deploy button to trigger a webhook

I personally use Netlify to host my sites, but if I do some shuffling of my pages, then 3-4 or more builds can all be triggered. An optional addition to the webhooks could be to have a period that it waits for any more changes before triggering.

Change a text block wrapper after it is specified.

If you click on the / and select H1 and later want to make it an H2 is there a way to do this?
Or any other root level text block definition after the fact?

If would be nice to be able to click on the H1 in this example and change it after you have written something and not have to do a copy/delete/paste with no formatting dance that I seem to have to do now.

Am I missing something?

JS SDK depends on Astro: 27 MB

I'm enjoying Vrite! Just wanted to alert you to a roadblock I had for adopting the SDK:

I'd like to use the SDK in a Lambda function but I hesitate to install @vrite/sdk since it has a 27.5 MB dependency. Just having that on disk (even if the code path never loads it) will add to my function's cold start considerably. I'm not likely to add a build step to treeshake what is otherwise a really simple Lambda.

Is there a way the references to Astro in the Vrite SDK could use a sub-dependency of astro? I haven't looked at their available modules in a while, so I'm unsure. I think Astro is large because they're distributing WASM

In the mean time I can use fetch. Thanks for the Swagger docs, they're helpful πŸ‘

Easy self-hosting support

I noticed there aren't any instructions for self-hosting Vrite, which is somewhat uncommon for such "open-source" projects

Is it officially 'supported' ?

Note: if Vrite is your business, self-hosting may not be incompatible. Standard Notes comes to mind as an example of open-source, self-hostable but tiered service

GitOps support?

I really like this - especially the way the WYSIWG tables work! I haven't found anything that looks this powerful other than Confluence, and it looks like something which might replace how I use Confluence.

I'd like to persist using markdown, using a sort of GitOps approach.

One thing I noticed is that the export looks to be either Markdown or HTML. In the case of these advanced tables, will the markdown table work for the round-trip - will it be able to maintain the complexity of your WSYIWYG tables? Is it possible to export markdown but have the tables embedded as HTML inside the markdown? Once tables get complex and edited via WSYIWYG I've found that HTML is more worthwhile than markdown.

Captions for images

Adding captions for images would be useful especially for copywrite considerations. Here is how I accomplish that for static images on my site.

<picture>
  <img
    src="/assets/image.png"
    alt="Test Image"
  />
  <figcaption>Test image by kieran klukas</figcaption>
</picture>

render CSS

I have been using joplin till now, and the biggest reason why I can't change is it's ability to render CSS. I really like the work and design of the app you build so i was wishing if you could try and add the feature to render CSS. πŸ˜…

impropper test for viewport size

see attached screenshot (full rez). This is NOT a small viewport, BUT I do use large fonts. ( 20, with min size set to 18 (advanced settings in firefox and chrome)). I'm asuming this is an accessibility issue related to how your measuring viewport size being somehow tied to the size of font characters, because otherwise this needs what i'd consider an unreasonably large viewport.

also, wording should be changed because non-geeks don't know what a "viewport" is.

CleanShot 2023-06-23 at 09 57 02@2x

I18n Support

What about offer built-in I18n support for content pieces?

It could be some kind of extension, Idk. But would be great if the UI offer a smooth experience to create posts in multiple languages.

I know that, as a write, I can use metadata to flag the post language somewhat, but have it in UI level could be an excellent difference and set Vrite as an international product.

Thoughts?

Content piece sharing

Hello!

It would be nice to be able to share a read-only version of a note using a unique link. Currently, the only way of sharing I found was to download it in another format, but it does not retain the styling. Also, a link would be more convenient because subsequent changes would not require new exports.

This could be evolved into a commenting/reviewing system in the future.

Quote Blocks do not transfer to dev.to correctly if they contain list items.

I selected a paragraph with a list after it separated by a blank line and a blank line and a following paragraph. When I exported it to markdown, it was degenerate, it did not end code the blank lines or the list correctly.

blank lines should be

>␠␠

and list items should be

>␠-␠This is the list item contents

the blank lines were not prefixed and the prefix on the list items was missing a ␠

Show running Gifs in Preview

Currently, each Gif is a static image in the editor, which is the preview at the same time, I believe.
It would be nice if the Gifs are also running.

Bonus, start running the Gifs once it appear first on the screen.

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.