vriteio / vrite Goto Github PK
View Code? Open in Web Editor NEWOpen-source developer content platform
Home Page: https://vrite.io
License: Other
Open-source developer content platform
Home Page: https://vrite.io
License: Other
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.
As reported by @saiqulhaq, the GPT-3.5 block action button disappears after the text is generated.
There is a Dockerfile missing for the Extension Service at apps/backend/extensions
.
This Service enhances self-hostable Docker with extensions such as the Dev.to API, operating on Port 7777.
For now when I connect a github for the source control integration, this is the permission view I get.
Once I press the green authorize
button, the window closes and the app is authorized as can be seen in my settings:
It is unclear what Act on your behalf
means, permissions wise.
But for other applications, they do not need to be globally connected to my account, instead they are just connected to specific repositories.
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)
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?
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!
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.
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:
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.
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?
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>
I'm not sure if it's by design, but docker-compose.yml
is missing App and API services. Documentation does not mention how to deploy them separately.
Specifically if I follow this page, only MongoDB, MinIO, Redis and Weaviate services are deployed:
https://docs.vrite.io/self-hosting/docker/
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.
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
I’m in the process of setting up Vrite on Kubernetes using a Helm Chart, but I’m facing issues with the Api and Assets—they’re not functioning, and I’m unable to retrieve any logs for debugging purposes. Additionally, when I access the vrite api Pod and execute node index.js, there’s no response or output. Has anyone successfully deployed Vrite on Kubernetes and can offer some guidance?
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.
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.
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.
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>
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.
When I try to connect my git repository with mdx content, this content can't be loaded:
Once I press save
:
(Notice a separate bug where the editor view infinitely loads now, not sure why that is)
Pressing sync now
:
Says latest changes synced in the bottom right (already gone) in green and shows this. View of settings by pressing the github logo:
Notice the markdown
transformer... I have the mdx extension, which is apparent as I could select it.
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.
If I make a change to an mdx table within github, eg. change some text, and then re-sync the file to vrite by pressing pull
, the table is no longer loaded as a table.
It may be sensible to store the tables in hypertext within mdx? not sure how to fix this, storing tables as .md tables is always going to be a bit lossfull as well.
environment: This table is present within a custom element view.
It would be nice to embed Posts (formerly Tweets) of X (formerly Twitter) and preview them in the editor.
I would like to provide an image via the api to be included in a post but when passed via Markdown it isn't parsed. How are you supposed to add rich content to the page?
It is quite hard when you type in a link or paste in a link to get back to writing text. The only way I have found to reliably get back is to copy a plain text space and paste it again at the end of the link.
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. 😅
Write a set of changes to a single Changeset before "applying" it.
A Git commit-like concept that helps with:
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 ␠
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.
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.
This would be useful in getContentPieces and getStaticPaths. I think that making them optional arguments would be helpful in preserving compatibility.
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.
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.
Many technical teams work on GitLab, which is another preferred git forge, next to #38 or GitHub.
This issue is left here to track the case of GitLab support in Vrite separately from the other issue.
Steps to pass could be:
backend/src/lib/git-sync/providers
Looking forward to test this and provide feedback.
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
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 👍
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)?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.