New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! - Knowledge Sharing #1
Comments
Hello. JSON viewsI have chosen to implement "views" over (around?) raw json objects, not to implement structs to represent ActivityPub objects directly (like your link https://gist.github.com/wezm/65e416619f7c4b1e7a510b169426068d#file-activitypub-rs-L134 does).
Goals of rustivitypubI want my ActivityPub library to do:
My future planI was reckless to write this library without no preparation. I am currently busy with my private tasks (at least until Feb 2018), but preparing libraries to support writing this ( As you can see in link.rs and property.rs, current codes are full of boilerplates and I'm tired of writing such codes. One possible way: declare_properties! {
("href", href, Iri),
("hreflang", hreflang, LanguageTag),
("mediaType", media_type, MediaType),
...
}
declare_views! {
LinkView(href, hreflang, media_type, ...),
...
} I will implement things above after I get free, but I am not sure this is good direction. |
I would say that your English is pretty good :) My project specifically is here: So far it looks as though you have a pretty good plan in place, and I would like to spread more word about your project. Have you seen the ActivityPub implementations test suite? |
Yes, I know it but I'd never used it. When I am unsure about some point (especially at data schema), I observe Mastodon's response by |
Hi there!
While looking for existing resources for my project (Aardwolf, also on GitHub), and I found this. It is very exciting to see other people working on ActivityPub for rust :)
I also just saw this Gist:
An attempt at representing ActivityPub in Rust
https://gist.github.com/wezm/65e416619f7c4b1e7a510b169426068d
Perhaps we can all share ideas :)
Cheers!
Banjo
The text was updated successfully, but these errors were encountered: