You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: restructure content with enhanced organization & guidelines
Rephrased sections for better clarity and readability
Added specific guidelines for each section, including examples and best
practices
Formatted the content in clean Markdown for better presentation
Maintained developer-friendly language throughout
Copy file name to clipboardExpand all lines: sources/academy/platform/get_most_of_actors/actor_readme.md
+58-55Lines changed: 58 additions & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,93 +5,96 @@ sidebar_position: 2
5
5
slug: /get-most-of-actors/actor-readme
6
6
---
7
7
8
-
# Actor README
8
+
---
9
9
10
-
**Learn how to write a comprehensive README to help users better navigate, understand and run public Actors in Apify Store.**
11
10
12
-
---
11
+
## Why README is important
12
+
13
+
Writing a comprehensive README is crucial for helping users understand, navigate, and run your public Actors on the Apify Store. This guide provides a structured template and best practices to ensure your README is informative, and developer-friendly.
14
+
15
+
:::note README generator Actor
16
+
17
+
🦾 **No time for writing?** Our [README Generator](https://apify.com/apify/actor-readme-generator) will create a new README out of thin air following the template below ⬇️>
18
+
19
+
:::
20
+
21
+
### What does the Actor do
22
+
23
+
In 1 to 2 sentences, describe what the Actor does. Consider adding relevant keywords like "API" or the target website's name. Always include a link to the target website in this section.
24
+
25
+
### Why use this Actor
26
+
27
+
Explain how the Actor can benefit the user, including potential business use cases. Link to any relevant success stories, use cases, or blog posts that showcase the Actor's value.
28
+
29
+
### Cost estimation
30
+
31
+
Provide an explanation of the requeired proxy types & an estimate of the platform credits needed for a specific number of results, such as _1000_. You can include a table or example calculation to illustrate the cost.
32
+
33
+
:::info How much will it cost to scrape Google Maps reviews?
34
+
35
+
Apify provides you with $5 free usage credits to use every month on the Apify Free plan and you can get up to _10,000_ reviews from this [Google Maps Reviews Scraper](https://apify.com/compass/google-maps-reviews-scraper) for those credits.
13
36
14
-
- It should also be a "template" for developers developing new public Actors so that they have a structure and guidance for writing the README.
15
-
- The goal is to ensure that more people will understand and run their Actors.
16
-
- Whenever you build an Actor, think of the original request/idea and the "use case" = "user need" it should solve, please take notes and share them with Apify, so we can help you write a blog post supporting your Actor with more information, more detailed explanation, better SEO.
17
-
- Consider adding a video, images, and screenshots to your README to break up the text.
18
-
- This is an example of an Actor with a README that corresponds well to the guidelines below:
- Tip no.1: if you want to add snippets of code anywhere in your README, you can use [Carbon](https://github.com/carbon-app/carbon).
21
-
- Tip no.2: if you need any quick Markdown guidance, check out https://www.markdownguide.org/cheat-sheet/
37
+
:::
22
38
23
-
>
24
-
> 🦾 **No time for writing?** Our [README Generator](https://apify.com/apify/actor-readme-generator) will create a new README out of thin air following the template below ⬇️
25
-
>
39
+
### How to scrape the target website
26
40
27
-
## What should you add to your Actor README?
41
+
Link to any existing "How to" blogs or tutorials related to the Actor. Consider adding a video tutorial or GIF showcasing an ideal Actor run.
28
42
29
-
Aim for sections 1–6 below and try to include at least 300 words. You can move the sections around to some extent if it makes sense, e.g. 3 might come after 6. Consider using emojis as bullet points or otherwise trying to break up the text.
43
+
:::tip
30
44
31
-
1.**What does (Actor name) do?**
45
+
For better user experience, Apify Console automatically renders every YouTube URL as an embedded video player. Add a separate line with the URL of your YouTube video. <br/>Check the example below for reference.
32
46
33
-
- in 1–2 sentences describe what the Actor does and what it does not do
34
-
- consider adding keywords like API, e.g. Instagram API
35
-
- always have a link to the target website in this section
47
+
```text
48
+
Watch this video for guidance:
36
49
37
-
2.**Why use (Actor name)? or Why scrape (target site)?**
50
+
<YOUR-VIDEO-LINK-HERE>
51
+
```
38
52
39
-
- How it can be beneficial for the user
40
-
- Business use cases
41
-
- Link to a success story, a business use case, or a blog post.
53
+
:::
42
54
43
-
3.**How much will it cost to scrape (target site)?**
55
+
You can also include a numbered tutorial, as Google sometimes displays these as rich snippets in search results.
44
56
45
-
- Explanation of what type of proxies are needed and how many platform credits (calculated mainly from consumption units) are needed for 1000 results.
46
-
- This is calculated from carrying out several runs (or from runs saved in the DB).<!-- @Zuzka can help if needed. [Information in this table](https://docs.google.com/spreadsheets/d/1NOkob1eYqTsRPTVQdltYiLUsIipvSFXswRcWQPtCW9M/edit#gid=1761542436), tab "cost of usage". -->
47
-
- Here’s an example for this section:
57
+

48
58
49
-
> ## How much will it cost me to scrape Google Maps reviews?
50
-
>
51
-
> <br/> Apify provides you with $5 free usage credits to use every month on the Apify Free plan and you can get up to 100,000 reviews from this Google Maps Reviews Scraper for those credits. This means 100k results will be completely free!
52
-
> <br/> But if you need to get more data or to get your data regularly you should grab an Apify subscription. We recommend our $49/month Starter plan - you can get up to 1 million Google Maps reviews every month with the $49 monthly plan! Or 10 million with the $499 Scale plan - wow!
59
+
### Legal considerations
53
60
54
-
4.**How to scrape (target site)**
61
+
Include a boilerplate text addressing the legality of scraping the target website. Emphasize that the Actor does not extract private user data and only collects publicly available information. Remind users to consult their legal team if they are unsure about the legitimacy of their scraping purposes.
55
62
56
-
- Link to "How to…" blogs, if one exists (or suggest one if it doesn't)
63
+
:::warning Example boilerplate text
57
64
58
-
- Add a video tutorial or GIF from an ideal Actor run.
65
+
Our scrapers are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our scrapers, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/)
59
66
60
-
> Tip: For better user experience, Apify Console automatically renders every YouTube URL as an embedded video player. Add a separate line with the URL of your YouTube video.
67
+
:::
61
68
62
-
- Consider adding a short numbered tutorial as Google will sometimes pick these up as rich snippets. Remember that this might be in search results, so you can repeat the name of the Actor and give a link, e.g.
69
+
### Input parameters
63
70
64
-

71
+
Refer to the Actor's input tab on the detail page. You can include a screenshot showing the input fields for better clarity.
65
72
66
-
5.**Is it legal to scrape (target site)?**
73
+
:::info Example of input schema
67
74
68
-
- This can be used as a boilerplate text for the legal section, but you should use your own judgement and also customize it with the site name.
75
+
Twitter Scraper has the following input options. Click on the [input tab](https://apify.com/quacker/twitter-scraper/input-schema)for more information.
69
76
70
-
> Our scrapers are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. We therefore believe that our scrapers, when used for ethical purposes by Apify users, are safe. However, you should be aware that your results could contain personal data. Personal data is protected by the [GDPR](https://en.wikipedia.org/wiki/General_Data_Protection_Regulation) in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the [legality of web scraping](https://blog.apify.com/is-web-scraping-legal/)
77
+
:::
71
78
72
-
6.**Input**
79
+
### Output Data
73
80
74
-
- Refer to the input tab on Actor's detail page. If you like, you can add a screenshot showing the user what the input fields will look like.
75
-
- This is an example of how to refer to the input tab:
81
+
Mention that the extracted dataset can be downloaded in various formats such as `JSON`, `HTML`,or `CSV`. Provide a simplified `JSON` dataset example to illustrate the output structure, check [this Actor](https://apify.com/compass/crawler-google-places#output-example) for an example.
76
82
77
-
> Twitter Scraper has the following input options. Click on the [input tab](https://apify.com/quacker/twitter-scraper/input-schema) for more information.
78
83
79
-
7.**Output**
80
84
81
-
- Mention "You can download the dataset extracted by (Actor name) in various formats such as JSON, HTML, CSV, or Excel.”
82
-
- Add a simplified JSON dataset example, like here: [apify.com/compass/crawler-google-places#output-example](https://apify.com/compass/crawler-google-places#output-example)
85
+
### Tips & advanced options
83
86
84
-
8.**Tips or Advanced options section**
85
-
- Share any tips on how to best run the Actor, such as how to limit compute unit usage, get more accurate results, or improve speed.
87
+
Share any tips or advanced options for running the Actor more effectively, such as limiting compute unit usage, improving accuracy, or increasing speed.
86
88
87
-
If you want some general tips on how to make GitHub README that stands out, check out these guides. Not everything in there will be suitable for an Apify Actor README, so you should cherry-pick what you like and use your imagination.
89
+
If applicable, provide information on creating a tutorial for the Actor or any other resources that users might find helpful.
88
90
89
-
<br />
91
+
If you want some general tips on how to make GitHub README that stands out, check out these guides.
90
92
91
-
[Build a Stunning README For Your GitHub Profile](https://towardsdatascience.com/build-a-stunning-readme-for-your-github-profile-9b80434fe5d7)
93
+
-[Build a Stunning README For Your GitHub Profile](https://towardsdatascience.com/build-a-stunning-readme-for-your-github-profile-9b80434fe5d7)
94
+
-[How to Create a Beautiful README for Your GitHub Profile](https://yushi95.medium.com/how-to-create-a-beautiful-readme-for-your-github-profile-36957caa711c)
92
95
93
-
[How to Create a Beautiful README for Your GitHub Profile](https://yushi95.medium.com/how-to-create-a-beautiful-readme-for-your-github-profile-36957caa711c)
96
+
Not everything in there will be suitable for an Actor README, so you should cherry-pick what you like and use your imagination.
94
97
95
-
## Next up {#next}
98
+
###Next steps
96
99
97
100
If you followed all the tips described above, your Actor README is almost good to go! In the [next lesson](./guidelines_for_writing.md) we will give you a few instructions on how you can create a tutorial for your Actor.
0 commit comments